HI There
When a customer invoice is being generated from a sales order, on the customer invocie(before it is created/saved to the system), there is a "created from" field with a reference to the sales order the invoice is being generated from.
Is there an equivalent for vendor bills?
Namely, is there a way to detect whether the vendor bill that is about to be created is from a purchase order?
I can see this in the URL before the record is saved:
Can this (the reference to a transaction transform and purch order) be used in a client script?
The use case: Users should be prevented from saving a vendor bill unless the proposed bill is being created from a purchase order
thanks