SBX - Search With Button

SBX - Forum Post Title

XML Port cration to repeat barcodes

Microsoft Dynamics NAV Forum

Abdul Rahman T H asked a question on 12 Jun 2019 2:35 AM
My Badges

Question Status

Suggested Answer

Hi, A very small doubt,

I want to create XML port as below.

I created it, but do not know how to make barcodes fields repeatable to show all barcodes in the item code.

Any help..?

Reply
Abdul Rahman T H responded on 16 Jun 2019 9:18 AM
My Badges

... still looking....

Reply
I Gusti Made Ari Permadi responded on 16 Jun 2019 11:43 PM
My Badges
Suggested Answer

For Barcode you can set it as Child table and set the linkage 

Reply
Abdul Rahman T H responded on 17 Jun 2019 7:16 AM
My Badges

Thank you Gusti,

I already did as above, but the format gets changed as compared to the format i given.

The <Barcodes> node gets repeated for each <Barcode> node as in the attached image.

<Barcodes> node should not repeat. <Barcodes>node should appear only once, which will contain many <Barcode> nodes in it.

Reply
Abdul Rahman T H responded on 18 Jun 2019 7:52 AM
My Badges

still looking if anybody can guide me....

Reply
Teddy Herryanto responded on 18 Jun 2019 2:31 PM
My Badges
Suggested Answer

Put another table Integer between the Barcode and Item, and filter the Integer Number to 1.

Name that Integer as Barcodes, and you will get the 'Barcodes' tag above your barcode.

Reply
Abdul Rahman T H responded on 19 Jun 2019 1:56 AM
My Badges

Thanx Teddy, it works as you said, but it closes before opening <Barcode> tag.. :(

Reply
I Gusti Made Ari Permadi responded on 16 Jun 2019 11:43 PM
My Badges
Suggested Answer

For Barcode you can set it as Child table and set the linkage 

Reply
Teddy Herryanto responded on 18 Jun 2019 2:31 PM
My Badges
Suggested Answer

Put another table Integer between the Barcode and Item, and filter the Integer Number to 1.

Name that Integer as Barcodes, and you will get the 'Barcodes' tag above your barcode.

Reply

SBX - Two Col Forum

SBX - Migrated JS