I have a problem creating an output journal record. In Dynamics 365 Business Central, I have no problem, but in the flow created in Power Automate I first got an error that was the following: /You can not insert item number 00256583 because it is not produced on released production order/
Then I saw that I had to add the /OrderType/ field in my api, I add it but without filling the field and I get the following: /You cannot change Order No. when Order Type is ./ When I saw the table in Dynamics, I saw that it had to have /Production/ as the value. I add it in the flow in English, in Spanish and from the api and I get this error: /Production gets the error that Order Type is OnlyRead/
For the API I am using: AL Language extension for Microsoft Dynamics 365 Business Central.