web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Purchase Receipt Label Prints Only First Line When Using VendPackingSlipJour as Root Table

(0) ShareShare
ReportReport
Posted on by 3

Description of the issue

I am configuring a custom label to print one label per receipt line for purchase order receipts (product receipt journal).

However, when using VendPackingSlipJour as the root table, the system only prints the first receipt line, regardless of how many lines exist.

 

Additionally, when I configure VendPackingSlipTrans as the root table, the label design is no longer available as a print option from the product receipt journal.

 

Data source configuration


  • Root table: VendPackingSlipJour

  • Joins used:

    • VendPackingSlipJour_1 → VendPackingSlipTrans_1

    • VendPackingSlipTrans_1 → PurchTable_1

    • PurchTable_1 → PurchLine_  

The goal is to iterate through each VendPackingSlipTrans record and generate one label per receipt line.

 

Observed behavior


  • Only one label is generated, corresponding to the first receipt line.

  • Additional receipt lines are not printed.

  • When VendPackingSlipTrans is set as the root table, the label layout does not appear as an available print option in the product receipt journal.

  •  

Expected behavior


  • The system should generate one label per receipt line (VendPackingSlipTrans) for the selected receipt.


  •  
 

ZPL currently used: 

 

CT~~CD,~CC^~CT~
^XA
^CI27
^PW831
^LL609
^LS0
^LH20,20
^FO0,14^A0N,38,38^FD$InventTable_1.itemName()$^FS
^FO0,70^A0N,30,30^FD$PurchTable_1.OrderAccount$  /  $PurchTable_1.PurchName$^FS
^FO0,110^A0N,26,26^FDN. ALBARAN:^FS
^FO260,110^A0N,26,26^FD$VendPackingSlipJour_1.PackingSlipId$^FS
^FO0,230^A0N,26,26^FDPRODUCTO:^FS
^FO260,230^A0N,26,26^FD$VendPackingSlipTrans_1.ItemId$^FS
 

^XZ
 
 
I would appreciate your guidance on how to correctly configure the data source or label logic so that all receipt lines are iterated and a label is printed for each one, while still allowing the layout to be printed from the product receipt journal.
I have the same question (0)
  • Suggested answer
    salman ahmad Profile Picture
    211 on at
    Hi Dear, can you please try VendPackingSlipTrans as Root table.
     
    As VendPackingSlipJour  is a header table so only one parameter is passed please use vendpackingsliptrans and join it with Vendpackingslip journal and let me know if it works. 
    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,070

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 238 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 131 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans