Hi,
How to export a single purchase order data in NAV? Is there any development logic to be built in NAV?
Thanks in Advance..
Hi,
How to export a single purchase order data in NAV? Is there any development logic to be built in NAV?
Thanks in Advance..
"SaveAsWord" the function name says it all. If you dont want to do it with XMLPort, then exporting the report as .csv is the best option and it does not require any modification.
I have tried following code it works for word. but I need it for text. If I put .txt instead of .doc, notepad is corrupted..Its like decoded. I used this in purchase order actions...
PurchaseHdr.RESET;
PurchaseHdr.SETRANGE("No.",Rec."No.");
Save12 := Rec."No.";
REPORT.SAVEASWORD(REPORT::ReportName,('C:\'+FORMAT(Save12)+'.doc'),PurchaseHdr);
MESSAGE('Document Created');
In that case you can build an XMLport. On the request page of XMLPort you can apply filter on whichever PO No. you want to export.
You can open a purchase order and Export to Excel and then save that file as .csv. Or you need to build an xmlport
In text format..
Hi
in which format do you want to export the PO ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,537 Super User 2024 Season 2
Martin Dráb 228,520 Most Valuable Professional
nmaenpaa 101,148