KVSPSASalesShipmentMgt#
Events#
OnBeforeModifyUpdateSalesOrderLineInvoicedQuantity(Record Sales Line, Decimal, Decimal) :#
Summary: This event is triggered after the Quanatities in Sales Line ares updated and before the Sales Line is modified. Before the Sales Line is modified, the event handler can modify the Sales Line.
[IntegrationEvent(false, false)]
local procedure OnBeforeModifyUpdateSalesOrderLineInvoicedQuantity(var SalesLine: Record "Sales Line"; CancelledQuantity: Decimal; CancelledQtyBase: Decimal):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesShipmentMgt", 'OnBeforeModifyUpdateSalesOrderLineInvoicedQuantity', '', false, false)]
local procedure DoSomethingOnBeforeModifyUpdateSalesOrderLineInvoicedQuantity(var SalesLine: Record "Sales Line"; CancelledQuantity: Decimal; CancelledQtyBase: Decimal)
begin
end;
Parameters:
SalesLine
:CancelledQuantity
:CancelledQtyBase
:
OnBeforeUpdateSalesOrderLineInvoicedQuantity(Record Sales Line, Decimal, Decimal, Boolean) :#
Summary: This event is triggered before the Sales Line is updated with the invoiced quantity. Before the Sales Line is updated, the event handler can modify the Sales Line.
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSalesOrderLineInvoicedQuantity(var SalesLine: Record "Sales Line"; CancelledQuantity: Decimal; CancelledQtyBase: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesShipmentMgt", 'OnBeforeUpdateSalesOrderLineInvoicedQuantity', '', false, false)]
local procedure DoSomethingOnBeforeUpdateSalesOrderLineInvoicedQuantity(var SalesLine: Record "Sales Line"; CancelledQuantity: Decimal; CancelledQtyBase: Decimal; var IsHandled: Boolean)
begin
end;
Parameters:
SalesLine
:CancelledQuantity
:CancelledQtyBase
:IsHandled
:
OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert(Record Item Ledger Entry, Record Value Entry, Boolean) :#
Summary: This Event is triggered before the temoprary Item Ledger Entry is inserted. Before the temporary Item Ledger Entry is inserted, the event handler can modify the temporary Item Ledger Entry.
[IntegrationEvent(false, false)]
local procedure OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; ValueEntry: Record "Value Entry"; SetQuantity: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesShipmentMgt", 'OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert', '', false, false)]
local procedure DoSomethingOnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; ValueEntry: Record "Value Entry"; SetQuantity: Boolean)
begin
end;
Parameters:
TempItemLedgerEntry
:ValueEntry
:SetQuantity
: