Table of Contents

KVSTRDSalesPrepaymentMgt

Events

KVSTRDOnPreCheckPrepaymentAndCombinedShipmentOnCustomer(Record Customer, Boolean) :

Summary: This event is raised before checking if the customer has both "Combine Shipments" and "Prepayment %" set. It allows custom logic to be executed before the check is performed.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnPreCheckPrepaymentAndCombinedShipmentOnCustomer(Customer: Record "Customer"; var isHandled: Boolean): 

Parameters:

  • Customer: The Customer record being checked.
  • isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.

KVSTRDOnPreCheckPrepaymentAndCombinedShipmentOnSalesHeader(Record Sales Header, Boolean) :

Summary: This event is raised before checking if the sales header has both "Combine Shipments" and "Prepayment %" set.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnPreCheckPrepaymentAndCombinedShipmentOnSalesHeader(SalesHeader: Record "Sales Header"; var isHandled: Boolean): 

Parameters:

  • SalesHeader: The Sales Header record being checked.
  • isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.