KVSPSACreateJobShipmentFromPSP#
Events#
KVSPSAOnAfterCalcQtyToTransferBasedOnJobInventory(Record KVSPSA Job Budget Line, Record KVSPSAJob Document Line, Decimal) :#
Summary: This Event is triggerd after the Qty. to transfer is calculated. With this Event the calculated Quantity can be changed.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcQtyToTransferBasedOnJobInventory(JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobDocumentLine: Record "KVSPSAJob Document Line"; var QtyToTransfer: Decimal):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateJobShipmentFromPSP", 'KVSPSAOnAfterCalcQtyToTransferBasedOnJobInventory', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcQtyToTransferBasedOnJobInventory(JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobDocumentLine: Record "KVSPSAJob Document Line"; var QtyToTransfer: Decimal)
begin
end;
Parameters:
JobBudgetLine
:JobDocumentLine
:QtyToTransfer
:
KVSPSAOnBeforeModifyGlobalJobDocumentHeaderOnCreateJobDocumentHeader(Record KVSPSAJob Document Header, Record KVSPSA Job Budget Line) :#
Summary: This Event is triggerd before the modify of the Job Document Header. With this Event you can change the Header.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeModifyGlobalJobDocumentHeaderOnCreateJobDocumentHeader(var JobDocumentHeader: Record "KVSPSAJob Document Header"; JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateJobShipmentFromPSP", 'KVSPSAOnBeforeModifyGlobalJobDocumentHeaderOnCreateJobDocumentHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeModifyGlobalJobDocumentHeaderOnCreateJobDocumentHeader(var JobDocumentHeader: Record "KVSPSAJob Document Header"; JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
Parameters:
JobDocumentHeader
:JobBudgetLine
:
KVSPSAOnBeforeValidateQtyToTransferToQuantity(Record KVSPSA Job Budget Line, Record KVSPSAJob Document Line, Decimal) :#
Summary: This Event is triggerd before validate of quantity. The Validate will be with the Qty. to transfer, which can be changed in this Event
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateQtyToTransferToQuantity(JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobDocumentLine: Record "KVSPSAJob Document Line"; var QtyToTransfer: Decimal):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateJobShipmentFromPSP", 'KVSPSAOnBeforeValidateQtyToTransferToQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateQtyToTransferToQuantity(JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobDocumentLine: Record "KVSPSAJob Document Line"; var QtyToTransfer: Decimal)
begin
end;
Parameters:
JobBudgetLine
:JobDocumentLine
:QtyToTransfer
:
KVSPSAOnSetFilterOnBeforeTempGlobalJobDocumentHeaderFindFirst(Record KVSPSAJob Document Header, Record KVSPSA Job Budget Line) :#
Summary: This Event is triggerd before the FindFirst of the Job Document Header. This trigger gives the opportunity to change the filter. It will only be raised if the Global Variable VendorShipment is true
[IntegrationEvent(false, false)]
local procedure KVSPSAOnSetFilterOnBeforeTempGlobalJobDocumentHeaderFindFirst(var JobDocumentHeader: Record "KVSPSAJob Document Header"; JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreateJobShipmentFromPSP", 'KVSPSAOnSetFilterOnBeforeTempGlobalJobDocumentHeaderFindFirst', '', false, false)]
local procedure DoSomethingKVSPSAOnSetFilterOnBeforeTempGlobalJobDocumentHeaderFindFirst(var JobDocumentHeader: Record "KVSPSAJob Document Header"; JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
Parameters:
JobDocumentHeader
:JobBudgetLine
: