Create Purchase Order from invoice
This functionality assists with creating Purchase Orders from imported invoice in order to make customs declarations easier when inn-lager is not used. If the action is used it will create a Purchase Order from invoice by finding Purchase Orders that match the Order No imported on invoice and reduces the quantity from the previous order to add to the new order. It will move reservation entries and special order connections from previous order and add to the new one.
Ex Setup
In order to make action visible for users it needs to be enabled in Setup.

ExFlow Import Journal
Create Purchase Order
When using the Create Purchase Order action it will error check the lines, check if the Purchase Order exists in BC and if there is sufficient quantity that can be reduced from the previous order to the new one.

Examples of checks BC will use to see if the items on invoice match to an order.

In this case for the Order No. (Import) field there is no Purchase Order with the Vendor Order No found in BC with this Item No.
These errors will need to be fixed before being able to create a new Purchase Order from invoice.

New Purchase Order
TODO: Purchase Order old Purchase Order new