ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 39 (Purchase Line): OnAfterInitType

Open ekesteloot opened this issue 7 years ago • 1 comments

Please add a OnAfterInitType integration event to Table 39 (Purchase Line)

Integration Event Definition:

[IntegrationEvent(false, false)]
local procedure OnAfterInitType(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header")
begin
end;

Invocation in InitType function:

            then
                Type := Type::" "
            else
                Type := xRec.Type;
        end;
======> OnAfterInitType(Rec, PurchHeader);
    end;

This will permit us to set some custom fields during this process.

ekesteloot avatar Nov 20 '19 04:11 ekesteloot

This event already exist

AlexanderYakunin avatar Nov 20 '19 12:11 AlexanderYakunin