Hi expert, when exporting and if the sales invoice line has multiple items, the data will not be exported and have an error as below:
The Excel Buffer already exists. Identification fields and values: Row NO. ='1',Column NO.='38'.
If the sales invoice line has has only one item, the export data is fine.
How to solve this? Appreciate it!
0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
Appreciate it.
EnterCell(1, 38, FORMAT("Sales Invoice Line".Quantity), FALSE, FALSE, FALSE); Appreciate it!
OnPreDataItem()
Row := 0;
OnAfterGetRecord()
Row := Row + 1;
EnterCell(Row, 38, FORMAT("Sales Invoice Line".Quantity), FALSE, FALSE, FALSE);
http://www.BiloBeauty.com
http://www.autismspeaks.org
What info are you getting from the header?
Are you using an indented data items? Or a Get in your report?
http://www.BiloBeauty.com
http://www.autismspeaks.org
https://docs.google.com/document/d/1JCv ... dit?hl=en#
Save it to text file & Import the report & give it a try.
TempExcelBuffer = Record = Excel Buffer
It's basically the same for SO Header & SO Line
http://www.BiloBeauty.com
http://www.autismspeaks.org
This report on the gooble is only about one table Purchase line.
I might not make myself clear. I have no problem with one table when exporting the data. My problem is to link,for example, the Purchase header with purchase line together in one report. When there is only one record for the purchase line, there should be no problem. But there are mutliple purchase records for the line, there would be an error like this.
Look at the report it uses table 38 and 39
I have tested it and it works fine.
If you change the purchase part to sales it will work also
http://www.BiloBeauty.com
http://www.autismspeaks.org
https://docs.google.com/leaf?id=0BwY098 ... OTNj&hl=en
Demo of how to export PO header & lines.
You can add or remove any fields you like.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Now you can see the code behind the report and apply it to different areas!
\:D/
http://www.BiloBeauty.com
http://www.autismspeaks.org
Please increment the row or use random function to give random no. to every line. it set a unique no. which will not conflict when u have more than one item or lines.
Navision Technical Consultant & .Net Developer