Skip to content

KVSMEDProcessCreationLib#

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 KVSMEDProcessStep, Boolean, Boolean) :#

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

OnAfterOpenShortcollection(Record KVSMEDProcessStep, Record KVSMEDContactShortcollection, Boolean) :#

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