AL
AL copied to clipboard
[Eventrequest] OnBeforeEnqueuePurchDoc in CU98
Please add the event OnBeforeEnqueuePurchDoc to the function EnqueuePurchDoc in CU98. The event will be used to do checks on the source document or to handle the enqueueing in a custom way.
[External] EnqueuePurchDoc(VAR PurchHeader : Record "Purchase Header") OnBeforeEnqueuePurchDoc(PurchHeader,Handled); IF Handled THEN EXIT;