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 :
Microsoft Dynamics AX (Archived)

Accumulate the Scanned quantity in AX 2012 POS (Picking & Receiving)

(0) ShareShare
ReportReport
Posted on by 2,227

Hi all,

I want to know if there is away to accumulate the scanned barcode quantity in the POS screen instead of scanning bar-code then type the quantity manual.

*This post is locked for comments

I have the same question (0)
  • trond Profile Picture
    on at

    Hi Ahmed,

    If I understand you correctly you could aggregate the products by using a parameter in the POS functionality profile, Functions - Terminal - Aggregate products.

  • Suggested answer
    Praveen Profile Picture
    1,201 on at

    I think you should type the Qty* in the search area followed by scanning the Barcode. The product will now be shown with the quantity specified earlier. Try it.

  • Ahmed Hesham Profile Picture
    2,227 on at

    no this is work with sales scanning not picking and receiving

  • Ahmed Hesham Profile Picture
    2,227 on at

    the issue is I don't want to type the quantity, I just want to scan the bar-code only and the system accumulate

  • echo Profile Picture
    595 on at

    Hesham,

    I had the same requirement for stock count on pos, and i did a minor customization on pos and it works perfectly. Let me know of you still require require this and i will dig up the code and post here.  

    Regards

  • Ahmed Hesham Profile Picture
    2,227 on at

    the problem is I don't want to type the quantity .. I want the program to accumulate it  

  • Ahmed Hesham Profile Picture
    2,227 on at

    Thanks Echo  :)  it will be great if you shared it with me.

    my email: hesha2002@hotmail.com

  • Suggested answer
    echo Profile Picture
    595 on at

    Basically i have added a checkbox to the stockcount form, to switch between barcode/scan-only mode and barcode/qty mode.

    And i added highlighted block of code as below to implement the functionality.  the expected result should be when a barcode is scanned it will add 1 to the current scanned quantity and user input would be required.

    regards


    private void InventoryLookup(string barcode) { if (inputMode == NumPadMode.Barcode) { if (GetItemInfo(barcode)) { // set mode to quantity SetInputMode(NumPadMode.Quantity); //echo if (chkIndividual.Checked) { SendKeys.SendWait("1"); numPad1_EnterButtonPressed(); } } else { // clear the current item so the user can try again ResetNumpad(); } } else if ((inputMode == NumPadMode.Quantity) && (saleLineItem != null) && !string.IsNullOrEmpty(numPad1.EnteredValue)) { UnitOfMeasureData unitOfMeasureData = new UnitOfMeasureData( StockCount.InternalApplication.Settings.Database.Connection, StockCount.InternalApplication.Settings.Database.DataAreaID, LSRetailPosis.Settings.ApplicationSettings.Terminal.StorePrimaryId, StockCount.InternalApplication); // add to list StockCountItem item = new StockCountItem(); item.ItemNumber = this.saleLineItem.ItemId; item.Unit = this.saleLineItem.InventOrderUnitOfMeasure; item.ItemName = this.saleLineItem.Description; Decimal quantity = 0; Decimal.TryParse(numPad1.EnteredValue, out quantity); item.Quantity = StockCount.InternalApplication.Services.Rounding.Round(quantity, unitOfMeasureData.GetUnitDecimals(item.Unit)); AddItem(item); SetInputMode(NumPadMode.Barcode); } // When finished, put focus back into the numpad numPad1.Select(); }

  • Ahmed Hesham Profile Picture
    2,227 on at

    Thanks Echo

  • Community Member Profile Picture
    on at

    We had to modify the Services/PurchaseOrderReceiving project (frmPurchaseOrderReceiving.cs) to do that. We just forced the quantity to one for each scan.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans