In shipments screen Details Grid, I added Upload button and trying to update Existing data through Excel, It updating for only first line. Not updating for remaining lines.
Below is the Code I gave
In Aspx: AllowUpload=true for details grid
In Graph Extension: [PXImport(typeof(SOShipLine))] [PXViewName(Messages.SOShipLine)] public PXSelect<SOShipLine, Where<SOShipLine.shipmentNbr, Equal<Current<SOShipment.shipmentNbr>>>, OrderBy<Asc<SOShipLine.shipmentNbr, Asc<SOShipLine.sortOrder>>>> Transactions;
Can anyone suggest on this to update all lines in grid.
I can able to enable the 'Add Row' button in the Details section, but I've noticed that when I upload a file, it doesn't update the records. The issue appears to be that the uploaded file is not displaying the KEY fields, causing the system to be unaware of how to update the records, since those fields are disabled at line level
From my perspective, here are the available options:
Consider using an import scenario instead of investing additional effort in coding.
Enable the Key fields, which should resolve the issue with the File Upload feature in 23 R1.
Explore the possibility of creating a custom File Uploader specifically designed to handle Excel files, ensuring that it can both upload the file and update the associated records."
I can able to enable the 'Add Row' button in the Details section, but I've noticed that when I upload a file, it doesn't update the records. The issue appears to be that the uploaded file is not displaying the KEY fields, causing the system to be unaware of how to update the records, since those fields are disabled at line level
From my perspective, here are the available options:
Consider using an import scenario instead of investing additional effort in coding.
Enable the Key fields, which should resolve the issue with the File Upload feature in 23 R1.
Explore the possibility of creating a custom File Uploader specifically designed to handle Excel files, ensuring that it can both upload the file and update the associated records."
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.