-
adding journalnumber to output of business event "vendor payment posted"
We want to use the business event "vendor payment posted" as a trigger for Power Automate. But the output doesn't include the journalbatchnumber of the posted journal. We'd like to extend the business event's output simply by the journalbatchnumber to have this information available in Power Automate. -
Output extension by JournalBatchNumber of Business Event VendorPaymentPostedBusinessEvent
We need to use the Business Event "VendorPaymentPostedBusinessEvent" as a Power Automate trigger. So everytime a Vendor payment journal is posted the Power Automate should be triggered with the following (sample) output:
{
"BusinessEventId": "",
"BusinessEventLegalEntity": "",
"CashDiscount": 0.0,
"ContextRecordSubject": "",
"ControlNumber": 0,
"CurrencyCode": "",
"EventId": "",
"EventTime": "/Date(-2208988800000)/",
"EventTimeIso8601": "1900-01-01T00:00:00Z",
"InitiatingUserAADObjectId": "{00000000-0000-0000-0000-000000000000}",
"LegalEntity": "",
"MajorVersion": 0,
"MinorVersion": 0,
"ParentContextRecordSubjects": null,
"PaymentAccount": "",
"PaymentAmount": 0.0,
"PaymentDate": "/Date(-2208988800000)/",
"PaymentId": "",
"PaymentMethod": "",
"PaymentReference": ""
}
It would be great if this output could be extended by the JournalBatchNumber of the posted journal.