[Event Request] Codeunit 5815 OnCheckSalesShptLine(SalesShptLine)
We request the following integration event: OnCheckSalesShptLine(SalesShptLine) in Codeunit 5815
On function "LOCAL CheckSalesShptLine"
....
OnBeforeCheckSalesShptLine(SalesShptLine);
WITH SalesShptLine DO BEGIN
// >>> NEW EVENT
OnCheckSalesShptLine(SalesShptLine);
// <<< NEW EVENT
TESTFIELD(Type,Type::Item);
....
LOCAL [IntegrationEvent] OnCheckSalesShptLine(VAR SalesShptLine : Record "Sales Shipment Line") Var Name DataType Subtype Length Yes SalesShptLine Record Sales Shipment Line
Thank you for your attention
You can use OnBeforeCheckSalesShptLine(SalesShptLine);
My bad. Of course. Sorry for giving you more work here.
Closing as per @AlexanderYakunin's reply.