
Hi,
I have a PowerAutomate with a trigger of "When a record is created" (in salesInvoices table) in Business Central and then, I want to get the details of this record. So, the second step is "Get record" from the salesInvoices table with Row id from the previous step.
When I test this PowerAutomate, "Get record" step gave me the below error:
dchan
Hi,
Some clarification:
"Get Record" is successful in retrieving a "Posted Sales Invoice".
"Get Record" failed in retrieving a "Sales Invoice".
I am assuming the table name for both "Sales Invoice" and "Posted Sales Invoice" are salesInvoices.
The rationale is that when I use "When a record is created" trigger and set the table to salesInvoices, when a new "Sales Invoice" is created, the trigger fires.
Does that mean "Get Record" cannot retrieve "Sales Invoice"? or the table for "Sales Invoice" is somehow hidden from the table dropdown list in "Get Record" step?
For the error reported in the previous post, I think it is related to the account I use. When I am in BC under that account trying to post a Sales Invoice to become a Posted Sales Invoice, I got that same error.
dchan1