Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Batch number generated 2 different values in one product receipt for SAME item

(0) ShareShare
ReportReport
Posted on by 283

Hi all,

I would like to know why D365FO generated 2 different batch number for the SAME item in SAME product receipt ?

my case as follow:

1. Created a PR with item 3 ea 

2. Approved the PR and generated to PO

3. But updated the quantity from 3 ea to 5 ea

4. Confirmed the PO

5. Generated the Product Receipt for 5 ea 

==> there are 1 batch number (say B001) auto generated for 3 ea ; and another batch number (says B002) for another 2 ea

anyone knows why this happen ?  and how to set up the batches automatically generate the SAME batch number for same item in same product receipt ?  thanks 

pastedimage1680507841154v1.png

  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Phyllispang,

    If the reply from Laurens helped you, would you mind verifying his reply, so the thread will get the status 'Answered'? This will be helpful for other community members which might have the same question.

  • Suggested answer
    phyllispang Profile Picture
    283 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Laurens,

    many thanks for your information, got it.

    Phyllis

  • Verified answer
    Laurens vd Tang Profile Picture
    2,621 Super User 2025 Season 1 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Phyllispang,

    I've executed a few tests. The parameter 'only for inventory transactions' is responsible for creation of the batch numbers per quantity update

    pastedimage1680611543264v1.png

    If you swich off this parameter, you get one batch number, regardless the quantity update/changes

    Regards,

    Laurens

  • phyllispang Profile Picture
    283 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Calavon,

    the setting of "Automatic addition" is Yes

    pastedimage1680573557600v1.png

    So, why the batch number generated is different ?  Pls. advise, thanks 

  • phyllispang Profile Picture
    283 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Laurens,

    the tracking number group assigned in the Released product setup as follow:

    pastedimage1680572813526v1.png

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Phyllispang,

    It can have two causes.

    1. It can be due to a setting of the tracking number groups, like Laurens mentioned where the field 'Per qty' can have a value.

    2. Check the inventory parameter 'Automatic addition' (Tab Inventory accounting). If this is disabled, it will create a new inventory transaction record for the same Lot Id which could indeed generate another batch number.

  • Laurens vd Tang Profile Picture
    2,621 Super User 2025 Season 1 on at
    RE: Batch number generated 2 different values in one product receipt for SAME item

    Hi Phyllispang,

    Is there a batch tracking number group assigned to the released product? If yes, can you share a screen shot of the settings?

    pastedimage1680528285847v1.png

    Regards,

    Laurens

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans