ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 37 (Sales Line): OnAfterInitType

Open ekesteloot opened this issue 7 years ago • 3 comments

Please add a OnAfterInitType integration event to Table 37 (Sales Line)

Integration Event Definition:

[IntegrationEvent(false, false)]
local procedure OnAfterInitType(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header")
begin
end;

Invocation in InitType function:

            then
                Type := Type::" "
            else
                Type := xRec.Type;
        end;
======> OnAfterInitType(Rec, SalesHeader);
    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

Great! What version? I don't see it in the BC15 release from October.

ekesteloot avatar Nov 20 '19 15:11 ekesteloot

15.1

AlexanderYakunin avatar Nov 20 '19 15:11 AlexanderYakunin