Using a Workflow, I transform a Custom Transaction (Type: Purchase) into a Vendor Bill.
I use the option to "`REDIRECT WITHOUT SAVING`". This opens the Vendor Bill with with data from the Custom Transaction (including the items) already populated, ready to make minor changes and save the form.
The items in the Bill needs the Tax Code, but this field is not in the Custom Transaction (there is no option to set it). Even if I set a custom column in the Custom Transaction with a List type of Tax Code, the value doesn't translate to the Vendor Bill when the unsaved form opens (in the end, the fields are not really the same, as are the item, quantity or amount between both transactions).
Before saving the new Bill, I seem unable to use Workflows or Scripts to access o modify its (already populated) lines. So I'm stuck.
How to set the Tax Code value in the Vendor Bill form, when the form is already populated with items and before it's saved?