Dataport for item
hhhhhhhqat
Member Posts: 111
dear all
i want to make dataport to export item price list with the following fields:
item No,Barcode,description, Uint,cost price , sales price
note :
i already done one dataport and give me last price ( updated one ) for multi barcodes
if one item No have many barcodes , the prices will come for two lines .
the problem now for customer price group , if i have many customer price group , how can i filter by sales code to give me one customer price group and last prices also.
any one can help me
thanks
i want to make dataport to export item price list with the following fields:
item No,Barcode,description, Uint,cost price , sales price
note :
i already done one dataport and give me last price ( updated one ) for multi barcodes
if one item No have many barcodes , the prices will come for two lines .
the problem now for customer price group , if i have many customer price group , how can i filter by sales code to give me one customer price group and last prices also.
any one can help me
thanks
0
Comments
-
I think it is best to use a report (so you can filter on the items) and use the FILE-type to export the data.
In the OnAfterGetRecord of the item, you can put all the logic you want to get all the information to be exported.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
thanks for your reply
can you give me example for FILE type
thanks0 -
For example:
In the OnPreReport:filFile.WRITEMODE(TRUE); filFile.TEXTMODE(TRUE); filFile.QUERYREPLACE(TRUE); filFile.CREATE('c:\...\TheName.txt');
In the OnAFterGetRecord:filFile.WRITE(txtSomeVariable);
In the OnPostReport;filFile.CLOSE;
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions