Codeunit 18122375 EOS CWS Sales Event Handler

Codeunit 18122375 EOS CWS Sales Event Handler

Events

OnBeforeCWSInsertInvLineFromShptLineBeforeInsertTextLine

local procedure OnBeforeCWSInsertInvLineFromShptLineBeforeInsertTextLine(var SalesShptLine: Record "Sales Shipment Line"; var SalesLine: Record "Sales Line"; var NextLineNo: Integer; var IsHandled: Boolean)

Raised on InsertInvLineFromShptLineBeforeInsertTextLine of the Sales Shipment Line to insert CWS description line.

Parameters / Return Value

  • SalesShptLine Record "Sales Shipment Line"

    The Sales Shipment Line.

  • SalesLine Record "Sales Line"

    The Sales Line.

  • NextLineNo Integer

    The NextLineNo number.

  • IsHandled Boolean

    The IsHandled boolean.


OnAfterCWSInsertInvLineFromShptLineBeforeInsertTextLine

local procedure OnAfterCWSInsertInvLineFromShptLineBeforeInsertTextLine(var SalesLine: Record "Sales Line"; var SalesShptLine: Record "Sales Shipment Line"; var NextLineNo: Integer)

Raised on InsertInvLineFromShptLineBeforeInsertTextLine of the Sales Shipment Line, after insert CWS description lines. Use it to insert custom lines and then update the “Next Line No”.

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • SalesShptLine Record "Sales Shipment Line"

  • NextLineNo Integer



EOS Labs -