All Production Order>(on action pane tab- Production Order -under production details) -formula (ProdBOM form )
The ProdBOM form has a field perSeries (BOMQtySerie field of ProdBOM table) which is non editable but has allow edit property set to 'Yes' .What are the possible reasons that might restrict the edit on this field ? How can we make it editable ?
*This post is locked for comments
Consider whether to change the formula setting for the applicable ingredient consumption. (Specify this consumption method on the Setup tab of the Formula line page,)
The Scalable feature is available only when all the item components in the formula are set to Variable consumption. The feature isn't available when item components are set to Fixed consumption or Step consumption. When the Scalable feature is used, and you change an ingredient in a formula, then the quantity of the other ingredients that you select is adjusted. The size of the formula is also adjusted. When you change the formula size, the quantity of all scalable ingredients is changed.
Step consumption is configured with a From series value and a Quantity value. The information from the Step consumption per series record that satisfies the quantity on the batch order is selected. Step consumption is useful when the consumption rate isn't linear with respect to the batch order size and only increases the requirement when a specific quantity threshold is met.
I found the answer. The form control visibility and editability is handled from a class pmfformctrl_prodbom which is declared in the class declaration of ProdBOM form,in the initpost method.
For formula items / batch orders, the BOMQtySerie can only be populated with the batch order qty, and you need to enter the consumption quantity in total for the line.
For BOM items / production orders, you can edit BOMQtySerie as you expect.
Hi Nishi Gupta,
Q: "What are the possible reasons that might restrict the edit on this field ?"
A:
1. Allow edit property on Table field
2. Allow edit property on the form data source field
3. Allow edit property of the form data source itself
4. Restrict Edit on form methods using X++
5. through security.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156