Scenario
Customer has an existing Bill that they wanted to edit but upon saving, below error occurs:
"Please configure the inventory detail for xxx"
Note: The Bill form has the Inventory Detail field exposed. When viewing the Bill, the Inventory Detail logo is checked/marked, but when editing, the details in the Inventory Detail field disappears and the logo is already unmarked. Moreover, the related Purchase Order and Item Receipt have the Inventory Details configured in them.
Solution
The Location field is not exposed in the Bill form, hence, the Inventory Detail from its related records is not being inherited on the Bill. To resolve this, below steps may be followed:
1. View the Bill in question
Note: Custom Bill Form is used
2. Click Customize > Customize Form
3. Go to Sublist Fields
4. Mark the Show checkbox beside the Location field
5. Click Save
6. Go back to the Bill in question and click Edit
7. Select a Location on the line item level
8. Click Save
With this, the Bill would now be successfully saved.