OnBeforeSetGrossInvoiceAmount Event
Raised when an expense is added to a purchase invoice before the gross invoice amount fields for the ExFlow and SweBase apps are set.
Signature
[IntegrationEvent(false, false)]
OnBeforeSetGrossInvoiceAmount(ExpenseHeader: Record "QWESP Expense Header"; var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
Parameters
ExpenseHeader
Record "QWESP Expense Header"
The expense currently being added to a purchase invoice.
var PurchaseHeader
Record "Purchase Header"
The purchase invoice to update gross invoice amount for.
var IsHandled
Boolean
Should be set to true to skip default functionality to set the gross invoice amount fields. Should be honored if already set. (Handled Pattern)
This documentation is generated from StoryPoint v26.0