Table of Contents

KVSKBAAddSalesLineForAutoPost

Fields

Name Type Note
Type Enum (KVSKBAASLLineType)
No. Code[20]
Description Text[100]
Print Line Boolean
Delivery Schedule Enum (KVSKBADeliverySchedule)

Events

OnAfterCopyDescription(Record KVSKBAAddSalesLineForAutoPost) :

Summary: Event raised after the description has been copied from the related record.

[IntegrationEvent(false, false)]
local procedure OnAfterCopyDescription(var KVSKBAAddSalesLineForAutoPost: Record "KVSKBAAddSalesLineForAutoPost"): 

Parameters:

  • KVSKBAAddSalesLineForAutoPost: The record of the added sales line for auto post.

Remarks: This event can be used to set the description field with a custom logic after it has been copied from the related record.

OnBeforeCheckDeliveryScheduleWithLastDelivery(Record KVSKBAAddSalesLineForAutoPost, Boolean) :

Summary: Event raised before checking the delivery schedule with the last delivery.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDeliveryScheduleWithLastDelivery(var Rec: Record "KVSKBAAddSalesLineForAutoPost"; var IsHandled: Boolean): 

Parameters:

  • Rec: The record of the added sales line for auto post.
  • IsHandled: Indicates whether the event has been handled.

Remarks: This event can be used to implement custom logic before the delivery schedule is checked with the last delivery. If the event is handled, the default check will be skipped.