|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > BOM > AssignBomFieldValue |
The commands write in the PARENT_CHILD table the value of the assigned field name.
call DBWShell("AssignBomFieldValue childUID parentUID fieldName value")
childUID |
child document Unique Id |
|---|---|
parentUID |
parent document Unique Id |
fieldName |
the field to set the value of |
value |
the value to set for the specified field |
The built-in field names for the PARENT_CHILD table are:
Physical Quantity → DBWLookUp("NAME_FIELD_PARENT_CHILD_QTY")
Unit of measure → DBWLookUp("NAME_FIELD_PARENT_CHILD_UM")
MakeBuy → DBWLookUp("NAME_FIELD_PARENT_CHILD_MAKE_BUY")
AssignBomFieldValue
AssignBomPositionNumber.htm
DBWShell("AssignBOMFieldValue 101 57 PARENT_CHILD_MY_FIELD ABCD")