Table of Contents

KVSKBAPurchaseOrderSubform

Extends #437dbf0e84ff417a965ded2bb9650972#Purchase Order Subform

Procedures

KVSKBACreatePurchOrderConfirmations() :

Summary: Creates purchase order confirmation lines for the current purchase line.

procedure KVSKBACreatePurchOrderConfirmations(): 

Remarks: Purchase order confirmation lines will only be created for purchase lines that have a non-zero quantity and are not marked as deleted in the page.

Events

KVSKBAOnBeforeSavePriceAndDiscount(Record Purchase Line, Record Purchase Line, Boolean) :

Summary: Integration event to allow extensions to save price and discount information when saving a purchase line.

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeSavePriceAndDiscount(CurrentPurchLine: Record "Purchase Line"; var SelectedPurchLines: Record "Purchase Line"; var Handled: Boolean): 

Parameters:

  • CurrentPurchLine: The current purchase line being saved.
  • SelectedPurchLines: The purchase lines selected by the user to save price and discount information for.
  • Handled: A boolean variable used to determine if the event has been handled by an extension.

Remarks: Used to save price and discount information for item lines when the user clicks the 'Save Price/Discount' action on the purchase order line.

KVSKBAOnItemReferenceNoOnLookup(Record Purchase Line) :

Summary: Integration event to allow extensions to perform additional logic when the user looks up the item reference number field on a purchase line.

[IntegrationEvent(false, false)]
local procedure KVSKBAOnItemReferenceNoOnLookup(var PurchaseLine: Record "Purchase Line"): 

Parameters:

  • PurchaseLine: The purchase line record for which the item reference number lookup is being performed.

Remarks: Used to perform additional logic when the user looks up the item reference number field on a purchase line.