KVSKBAPurchaseSubscribers
Events
OnPurchQuotetoOrderYesNoOnBeforePurchQuoteToOrderOnBeforeCheckQuoteValidDate(Record Purchase Header, Boolean) :
Summary: Integration event to check the quote valid date before converting a purchase quote to a purchase order.
[IntegrationEvent(false, false)]
local procedure OnPurchQuotetoOrderYesNoOnBeforePurchQuoteToOrderOnBeforeCheckQuoteValidDate(PurchaseHeader: Record "Purchase Header"; var IsQuoteValidDateCheckHandled: Boolean):
Parameters:
PurchaseHeader: The purchase header record being converted.IsQuoteValidDateCheckHandled: Indicates whether the quote valid date check has been handled.
Remarks: This event is raised before the quote valid date check is performed when converting a purchase quote to a purchase order. Subscribers can use this event to implement custom logic for handling the quote valid date check. If the subscriber sets IsQuoteValidDateCheckHandled to true, the default quote valid date check will be skipped.
OnAfterOnReleasePurchaseDocumentOnCodeOnCheckPurchLineLocationCode(Record Purchase Line, Boolean) :
Summary: Integration event to check the purchase line location code before releasing a purchase document.
[IntegrationEvent(false, false)]
local procedure OnAfterOnReleasePurchaseDocumentOnCodeOnCheckPurchLineLocationCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean):
Parameters:
PurchaseLine: The purchase line record being checked.IsHandled: Indicates whether the purchase line location code check has been handled.
Remarks: This event is raised before the purchase line location code check is performed when releasing a purchase document. Subscribers can use this event to implement custom logic for handling the purchase line location code check. If the subscriber sets IsHandled to true, the default purchase line location code check will be skipped.
OnBeforeCheckMandatoryFieldsPurchDocAtReleasefromReqWorksheet(Record Purchase Header, Boolean) :
Summary: Integration event to check mandatory fields in a purchase document before releasing it from a requisition worksheet.
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckMandatoryFieldsPurchDocAtReleasefromReqWorksheet(PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean):
Parameters:
PurchaseHeader: The purchase header record being checked.IsHandled: Indicates whether the mandatory fields check has been handled.
Remarks: This event is raised before the mandatory fields check is performed when releasing a purchase document from a requisition worksheet. Subscribers can use this event to implement custom logic for handling the mandatory fields check. If the subscriber sets IsHandled to true, the default mandatory fields check will be skipped.