Hi All,
I am required to show purchase requisition number on purchase order list page with a searchable option which means it should not be a display method. Workflow is enabled to create PO from PR once gets approved, I added new field PurchReqId in PurchTable table to store purchase requisition number. Could you please guide me with the best way to achieve this requirement.
I found there is no relation between PurchTable and PurchReqTable tables, there is a relation between purchLine and purchReqLine tables.
I found a method PurchAutoCreate_PurchReq\setPurchTable where I can set PurchReqId in PurchTable from purchReqLine table.
I need your suggestions, is this the only place to set this new added field or I would need to do mapping anywhere else in other classes or tables?