Skip to content

KVSMTCProcessCreationLib#

Procedures#

SalesLineIsOutbound(Record Sales Line) : Boolean#

procedure SalesLineIsOutbound(SalesLinePar: Record "Sales Line"): Boolean

PurchaseLineIsOutbound(Record Purchase Line) : Boolean#

procedure PurchaseLineIsOutbound(PurchaseLinePar: Record "Purchase Line"): Boolean

CreateSalesLineTracking(Record Sales Line, Decimal, Decimal, Code[50], Code[50]) :#

procedure CreateSalesLineTracking(SalesLinePar: Record "Sales Line"; CallPosQty: Decimal; CallPosQtyBase: Decimal; CallPosSerialNo: Code[50]; CallPosLotNo: Code[50]): 

CreatePurchaseLineTracking(Record Purchase Line, Decimal, Decimal, Code[50], Code[50]) :#

procedure CreatePurchaseLineTracking(PurchaseLinePar: Record "Purchase Line"; CallPosQty: Decimal; CallPosQtyBase: Decimal; CallPosSerialNo: Code[50]; CallPosLotNo: Code[50]): 

CreateTransferLineTracking(Record Transfer Line, Decimal, Decimal, Code[50], Code[50], Option) :#

procedure CreateTransferLineTracking(TransferLinePar: Record "Transfer Line"; CallPosQty: Decimal; CallPosQtyBase: Decimal; CallPosSerialNo: Code[50]; CallPosLotNo: Code[50]; Direction: Option): 

CreateItemJnlLineTracking(Record Item Journal Line, Decimal, Decimal, Code[50], Code[50]) :#

procedure CreateItemJnlLineTracking(ItemJnlLinePar: Record "Item Journal Line"; CallPosQty: Decimal; CallPosQtyBase: Decimal; CallPosSerialNo: Code[50]; CallPosLotNo: Code[50]): 

Events#

OnCaseElseProcessStepSourceTypeOnCreateDocument(Record KVSMTCProcessStep, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCaseElseProcessStepSourceTypeOnCreateDocument(ProcessStepVar: Record "KVSMTCProcessStep"; ShowErrorPar: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCProcessCreationLib", 'OnCaseElseProcessStepSourceTypeOnCreateDocument', '', false, false)]
local procedure DoSomethingOnCaseElseProcessStepSourceTypeOnCreateDocument(ProcessStepVar: Record "KVSMTCProcessStep"; ShowErrorPar: Boolean; var Handled: Boolean)
begin
end;

OnAfterOpenShortcollection(Record KVSMTCProcessStep, Record KVSMTCContactShortcollection, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterOpenShortcollection(ProcessStep: Record "KVSMTCProcessStep"; ContactShortCollection: Record "KVSMTCContactShortcollection"; var NewContactAssigned: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCProcessCreationLib", 'OnAfterOpenShortcollection', '', false, false)]
local procedure DoSomethingOnAfterOpenShortcollection(ProcessStep: Record "KVSMTCProcessStep"; ContactShortCollection: Record "KVSMTCContactShortcollection"; var NewContactAssigned: Boolean)
begin
end;