Hi there, I got a requirement to import data from excel to AX 2012 Purchase Components. Navigate to Accounts Payable > All Purchase Orders > Double click on any Open Order > Expand Components tab. I had written logic using this link. The data is populating in the table but not showing in Form. After a lot of analysis I found that by creating a record from UI PurchLineRefRecId is generating and because of that we can see the record in the Form but from importing from excel the record is inserting in Backend Table but the record not showing in Form and PurchLineRefRecId is also not generating. Actually I had created a button on the PurchTable form and added my import from Excel logic in Clicked() method.
My requirement is :
1. Import Purch Components for particular PurchLine from excel.
2. The data should appear on the Form as well.
Please let me know if i need to modify anything. Thanks in advance.
Thanks & Regards,
Prem