Table of Contents

KVSFCYPurchasePrepmtDocTest

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Events

OnBeforeCheckPostingDate(Record Purchase Header, Text[250], Boolean) :

Summary: Event before checking posting date for purchase header.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPostingDate(var PurchaseHeader: Record "Purchase Header"; var PostingDateError: Text[250]; var IsHandled: Boolean): 

Parameters:

  • PurchaseHeader: Purchase header record.
  • PostingDateError: Posting date error (output).
  • IsHandled: Set to true if handled.

OnBeforeGetPrepmtAmount(Record Purchase Line, Option, Decimal, Boolean) :

Summary: Event before getting prepayment amount for purchase line.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetPrepmtAmount(var PurchaseLine: Record "Purchase Line"; DocumentType: Option; var PrepmtAmount: Decimal; var IsHandled: Boolean): 

Parameters:

  • PurchaseLine: Purchase line record.
  • DocumentType: Document type option.
  • PrepmtAmount: Prepayment amount (output).
  • IsHandled: Set to true if handled.