Hi All,
I added a new field “TestFields” to the PurchReqTable (PurchReqTable.TestFields), and added the same field to the PurchTable (PurchTable.TestFields), I want to copy the data from the new field to the PurchTable.TestFields when I approve and complete the workflow on the purchase requisition.
I found the PurchAutoCreate_PurchReq class and in the setPurchTable method, I added purchTable.TestFields = purchReqTable.TestFields; But it didn't work.
When I changed to purchTable.TestFields = 'TEST';, purchTable successfully received the data.
I know that PurchReqTable and PurchTable are not 1 to 1 relationships, but I want to ignore them.
Where should I add the insertion code?
Regards