Table of Contents

KVSPSASalesShipmentMgt

Events

OnBeforeModifyUpdateSalesOrderLineInvoicedQuantity(Record Sales Line, Decimal, Decimal) :

Summary: This event is triggered after the Quantities in Sales Line are 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): 

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): 

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): 

Parameters:

  • TempItemLedgerEntry:
  • ValueEntry:
  • SetQuantity: