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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Quantity on item tracking in purchase lines

(7) ShareShare
ReportReport
Posted on by 450
When we assign a lot number in the item tracking for a purchase line, it always defaults in the Outstanding Quantity from the Purchase Line. Is there a setting or suggestion for how to have the Quantity default to the Qty to Receive instead?
I have the same question (0)
  • Suggested answer
    Mansi Soni Profile Picture
    8,907 Super User 2025 Season 2 on at
    Hello,
     

    No, there’s no standard Business Central setting to make the item tracking line default to Qty. to Receive instead of Outstanding Quantity  it will pull from Outstanding Quantity. If you want it to behave differently, the options are: Manually edit the quantity in the Item Tracking Lines to match Qty. to Receive each time or use a customization (small AL modification) to change the default source field from Outstanding Quantity to Qty. to Receive in the item tracking page logic.

    Hope this answer will help you!

    Regards,
    Mansi Soni
     
  • Suggested answer
    Sahib Dino Profile Picture
    196 on at

    here’s no standard setting in Business Central to make the Quantity in Item Tracking Lines default to the Qty. to Receive instead of the Outstanding Quantity. However, if this behavior is critical to your workflow, you can achieve it through AL customization.

    By modifying the logic in the ItemTrackingLines page or extending the ItemTrackingManagement codeunit, you can set the default quantity to match Qty. to Receive. This ensures more accurate tracking, especially during partial receipts.


  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
    I hope you are using Assign Lot No. function.
    You can try this.
     
     [EventSubscriber(ObjectType::Page, Page::"Item Tracking Lines", 'OnAssignTrackingNoOnAfterCalcQtyToCreate', '', true, true)]
        local procedure OnAssignTrackingNoOnAfterCalcQtyToCreate_UsePurchaseQtyToReceive(var TrackingSpecification: Record "Tracking Specification"; var SourceTrackingSpecification: Record "Tracking Specification"; var TotalTrackingSpecification: Record "Tracking Specification"; var QtyToCreate: Decimal; FieldID: Integer)
        begin
            if FieldID <> TrackingSpecification.FieldNo("Lot No.") then
                exit;
     
            if SourceTrackingSpecification."Source Type" <> Database::"Purchase Line" then
                exit;
     
            if SourceTrackingSpecification."Source Subtype" in [2, 5] then
                exit;
     
            QtyToCreate := SourceTrackingSpecification."Qty. to Handle (Base)";
        end;
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,136 Super User 2025 Season 2 on at
    There’s no standard setting to change the default behavior — Business Central always pulls the Outstanding Quantity into the item tracking line by default.
     
    However, a workaround is to manually adjust the Quantity in the item tracking window to match the Qty. to Receive, or apply a customization that sets the default quantity based on Qty. to Receive instead of Outstanding Quantity when the line is opened.
     
    ✅ Mark this as the verified answer if helpful.
     
     
  • Suggested answer
    techreviews.digital Profile Picture
    376 on at
    Dear Brett, 
     
    Greetings!!!

    In the Item Tracking lines window, you will be required to update Qty. to Handle (Base) equal to the Qty. to Receive in the Purchase Order Line. 
     
    But a customized enhancement can be done on Qty. to Handle (Base) to take the quantity automatically from the Qty. to Receive of the purchase order line. 
     
    I hope it will help you in resolving your concerns. 
     
    Best Regards, 
    Sheikh Muhammad Jawad
  • Suggested answer
    Ahmad Subhani Profile Picture
    581 on at
    Hi,
     
    By default this is not possible. A customization is required for this.
     
    Mark the Answer as Verified if this is Helpful.
     
     
  • Suggested answer
    Yng Lih Profile Picture
    1,560 on at
    Hi Brett F,
     
    Business Central does not provide a configurable way to have the Quantity default to "Qty. to Receive". Any change would require development/customization. Do note that customization may affects future upgrades.
     
    If this information was helpful, kindly mark it as 'Verified'. Thank you. :)
  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to create Item Tracking Lines automatically during an inbound transaction (Customization)
     
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans