KVSPSAREInvoiceCoverSheetMgt
Events
KVSPSAREOnBeforeShouldSendInvoiceSheet(Record Purch. Inv. Header, Boolean, Boolean) :
Summary: This event is triggered before BC determines whether an Invoice Sheet for a Purchase Invoice should automatically be sent to the Vendor. Use this event to prevent this functionality or make additional preparations
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeShouldSendInvoiceSheet(PurchInvHeader: Record "Purch. Inv. Header"; var ShouldSend: Boolean; var IsHandled: Boolean):
Parameters:
PurchInvHeader: The Purchase Invoice an Invoice Cover Sheet should be createdShouldSend: Specifies whether the Invoice Sheet should be sent to the VendorIsHandled: If set to true the Invoice Sheet will be sent based on the value of "ShouldSend"
KVSPSAREOnChangeFileNameOnBeforeGetAttachmentFileName(Record Purch. Inv. Header, Code[20], Text[250]) :
Summary: This event is triggered when the file name for an Invoice Sheet
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnChangeFileNameOnBeforeGetAttachmentFileName(PurchInvHeader: Record "Purch. Inv. Header"; OrderNo: Code[20]; var AttachmentFileName: Text[250]):
Parameters:
PurchInvHeader:OrderNo:AttachmentFileName: