Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Qty display from the POS receipt in AX 2012 R3

$
0
0

Hi,

I have to include a condition on the POS receipt coming from the tills such that,
if the unit is 'g' then don't show the Qty else show the Qty value.
I am applying the code fix -
- ....\Documents\Retail SDK CU10\POS Plug-ins\Services\services.sln
- Navigate to Printing project
- Find the FormModulation.cs
- vNavigate to GetInfoFormSalesLineItem method
- Find the case "Qty"

case "QTY":
  switch (saleLine.SalesOrderUnitOfMeasure)
    {
    case "g":
    returnValue = "";
    break;
    default:
    returnValue = Printing.InternalApplication.Services.Rounding.RoundQuantity(saleLine.Quantity, saleLine.SalesOrderUnitOfMeasure);
    break;
    }
  break;

But I still see the Qty value when the Product's unit = 'g'. Where am I doing wrong or how this requirement can be achieved. Please provide your feedback...


Viewing all articles
Browse latest Browse all 72043

Trending Articles