In Quality Inspector you can use [Item:FieldName] to reference a field on the item card, and use that in acceptable values and also pass conditions.
For example:
- [Item:Gross Weight] would lookup the gross weight from the related item for the test.
- [Item:Net Weight] would lookup the net weight from the related item for the test.
- [Item:No.] would lookup the item number from the item card.
- [Item:Description] would lookup the item description from the item card.
Reference a field from an item card or an item attribute in allowable conditions or pass conditions
Complete the following to use any attribute from an item card to create allowable conditions or pass conditions.
- Navigate to Test Templates in Business Central.
- Select +New and modify the following fields as needed:
- Code
- Description
- Select Test Generation Rules, select a rule, and select OK.
- Select the back arrow.
- Select Add Field(s) To This Template and select Next.
- Input the description and select Next.
- Modify the fields if needed.
- Select Finish.
- Input a Pass Description (e.g., >[ATTRIBUTE:Width]).
- Select Create Test / Choose Record / select the record / OK (Pass Description updates to match the attribute’s value on the Item Card).
Still need help?
Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.