How to create a SBO BOM by beas script Answered

Robin Feng

beas Expert,

I saw the beas API api_sbo have oProductTrees object type.

I suppose it can create SBO BOM, right?

I try to write the script below:

 

```

declare=oitt=ue_api_sbo

oitt=getbusinessobject=oProductTrees

oitt=TreeCode=FG-N-001

oitt=TreeType=4 //Sets item to a template tree.

oitt=items.itemcode=123

oitt=add

destroy=oitt

```

But it is not work.

Any suggestion?

 

BR

Robin

Comments

1 comment

Please sign in to leave a comment.