Hi,
Is there a way I could export data from 2 related tables in either Fixed or Variable format to a text file? When I tried to link the tables by indenting the data items, I got a message(while compiling) that 'you indented data items but the file format is not UPDXML'
0
Comments
RIS Plus, LLC
But I doubt if I understood correctly what to do with Denster's option. Could you please elaborate the steps?
I am trying to get the information from Global Item and Global Item variant tables. Do I still need to list both tables as dataitems without indentation?
What part do you not understand so we can help you better?
Do you know how to create variables?
for example I have a dataport using "Sales lines" but I need info from the item table so I can know if an item is currently "blocked"
Item.GET("Sales Line"."No.");
IF Item.Blocked THEN
BEGIN
MyStuff blah blah;
END;
http://www.BiloBeauty.com
http://www.autismspeaks.org
I am new to Navision and I think this is the first dataport I am trying to create.
http://www.BiloBeauty.com
http://www.autismspeaks.org
You need all the info for each Item varient on 1 line?
Am I correct in this?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Item table data:
1) Item.No.
2) Item.Vendor No.
3) Item.UPC Code
Item Variant Table Data
4) Item Variant.Code
The output of this phoney item # is
"SW1041","111865","0000101010101","AB1"
"SW1041","111865","0000101010101","AB2"
sw1041 is the item #
111865 is the vendor#
0000101010101 is the upc code
& ab1 & ab2 are the two variants for this item
you can of course add/remove any fields YOU want.
Note; this is a sample using the Item Variant Table as the dataitem but You could switch it around to the item table depending on your needs.
http://www.BiloBeauty.com
http://www.autismspeaks.org
It was to show you how to get the additional info you needed and how to use variables in a dataport
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC