Hello,
Is is possible to change the default qty from 0 to 1 while entering line items during quote or sales order entry. This will speed up the process due to most line entry is only quantity of 1.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/80fe50df-292b-4c4f-a112-d1e141b060d9.png)
Thanks
Hello,
Is is possible to change the default qty from 0 to 1 while entering line items during quote or sales order entry. This will speed up the process due to most line entry is only quantity of 1.
Thanks
I believe that this would need to be a customization on the form to force a default value into the qty field.
Hi Nelson,
you will need a customization to handle this requirement (set the qty by default to 1). According to my knowledge, there is no configuration in acumatica to achieve the required behavior.
Hi
Yes, Its required customization and the same functionality we are using the Sales Order screen in one of our projects. Below is the customization code and hope this helps!!
protected virtual void SOLine_OrderQty_FieldDefaulting(PXCache sender, PXFieldDefaultingEventArgs e, PXFieldDefaulting baseEvent)
{
baseEvent?.Invoke(sender, e);
SOLine row = e.Row as SOLine;
if (row == null) return;
if (row.OrderQty == 0 && Base.IsImport != true && (row.Behavior == "SO" || row.OrderType == "CM"))
{
e.NewValue = row.OrderQty = 1;
}
}
Hi
In Addition to details provided above, out of the box option ‘Add Stock item’ always sets the quantity to ‘1’, when user selects an item from the list.
Hope this helps,
Wish you happy new year!
Regards,
Hello,
I understand we can do customization to achieve this, and I also understand the “add stock item” function has fulfilled this. But
1, Lots of users like to key in the line manually than use the add stock item window.
2, Also, the 0 qty on Soline make no sense, right?
If you agree to this, can you vote at :
I think the counterpoint here is that zero is a convenient placeholder for an unconfigured item. If you accidentally add an item (somewhat easy to do with item number autosuggest), you don’t end up moving the order total on accident. So I don’t think zero is absurd. This should probably be end user configurable without code though.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.