Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

To find items without barcodes in AX 2012

Posted on by 75

HI All,

I want to find list of all items for which barcodes are not defined. Could you help with x++ code for retrieving data in AX 2012.

Thank you in advance.

*This post is locked for comments

  • Aamir Shakeel Profile Picture
    Aamir Shakeel 190 on at
    RE: To find items without barcodes in AX 2012

    Add one more join with InventTableModule. it has field ModuleInventPurchSales which determine the respected type of this record which can be sales, purchase or Inventory.

  • srikanth_ax Profile Picture
    srikanth_ax 75 on at
    RE: To find items without barcodes in AX 2012

    HI Amir,

    Thank you for reply.

    I require  data individual wise as well

    for example item is 1001 and sales uom is AAA, purch UOM is BBB, Invent UOM is CCC

    and barcode details as mentioned only for

    1001 SalesUOM AAA axapb(barcode details)

    now my result should be like

    1001 Purch UOM BBB

    1001 Invent UOM CCC

    Hope you understood my requirement, Thank you.

  • Aamir Shakeel Profile Picture
    Aamir Shakeel 190 on at
    RE: To find items without barcodes in AX 2012

    This job may be helpful

    while select InventTable

           notexists join InventItemBarcode

               where InventItemBarcode.itemId == InventItemBarcode.itemId

       {

           info(InventTable.ItemId);

       }

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans