AssignBomPositionNumber

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > BOM >

AssignBomPositionNumber

Description

Assign the position number of the the document with unique identifier child_unique_id in the BOM of the document with unique identifier parent_unique_id.

Syntax

call DBWShell("AssignBomPositionNumber  childUID  parentUID  BomPos [okBomItem]")

Parameters

childUID

child document Unique Id

parentUID

parent document Unique Id

BomPos

new position in the BOM list

okBomItem

Optional. If equal to 1, the bom position number is converted in the negative value specific for bom items.

See also

AssignBomFieldValue
AssignBomPositionNumber.htm

Example

'child uid = 13

'parent uid = 27
'bom_position = 30
DBWShell("AssignBOMPositionNumber 13 27 200") ' no bom item
DBWShell("AssignBOMPositionNumber 13 27 200 1") ' ok bom item