Skip to content

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): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPurchasePrepmtDocTest", 'OnBeforeCheckPostingDate', '', false, false)]
local procedure DoSomethingOnBeforeCheckPostingDate(var PurchaseHeader: Record "Purchase Header"; var PostingDateError: Text[250]; var IsHandled: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPurchasePrepmtDocTest", 'OnBeforeGetPrepmtAmount', '', false, false)]
local procedure DoSomethingOnBeforeGetPrepmtAmount(var PurchaseLine: Record "Purchase Line"; DocumentType: Option; var PrepmtAmount: Decimal; var IsHandled: Boolean)
begin
end;

Parameters:

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