APS system that creates production schedules
at high speed for multiple items and multiple processes
Q:Added "OrderUser_TEST" property in the Asptova order. Made it as the array type, and how to set or get it by COM
A:
We use the method called [LookupPropID]
in the rootobject to get the ID of the property. Use the ID we got ,use the "Set As Str"
to set the data and use the "GetAsStr"
to get the data.
For example use VB to set "LookupPropID", "SetAsStr", "GetAsStr" as follows
Dim propID As Long
Dim buf As Strung
propID = root.LookupPropID("OrderUser_TEST")
order.SetAsStr propID, 0, "123"
buf = order.GetAsStr(propID, 0).
※root is ASORootObject、and the order is ASBOrder. Get it from argList first.

Lean Manufacturing Japan - Broadcasting the latest lean manufacturing know-how from Japan!
All rights reserved by Asprova Corporation .