Table of Contents

KVSKBAPurchaseChangePrintLine

Events

OnBeforeCheckIfPurchaseLineCanBeHidden(RecordId, Decimal, Boolean, Boolean) :

Summary: Event raised before checking if a purchase line can be hidden when changing the print line status.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckIfPurchaseLineCanBeHidden(PurchaseDocumentLineRecordID: RecordId; CompareAmountQty: Decimal; var IsHiddenAllowed: Boolean; var IsHandled: Boolean): 

Parameters:

  • PurchaseDocumentLineRecordID: The RecordId of the purchase document line being checked.
  • CompareAmountQty: The amount or quantity to compare for determining if the line can be hidden.
  • IsHiddenAllowed: Set to true to allow the line to be hidden.
  • IsHandled: Set to true to skip the standard hidden line check.

Remarks: Subscribers can set IsHandled to true to provide custom logic for determining if the line can be hidden.