|
Whitebeam Template Reference Documentation
|
Catalogue Template
item.create()
Creates a new item or adds new associations to an existing item.
See Also
rb.catalogue.item.modify() rb.catalogue.item.remove() Syntax
number = rb.catalogue.item.create(newItemInfoType)
Parameters
The 'item.create' method takes 1 parameter:
Results
The 'item.create' method returns number:
Type/Value | Range/Length | Description |
number |
itemID, -1 |
Identifier of the new item.
|
Remarks
A new item is created if an item id is not specified. If an item is to be created using
a copy of a previously retrieved item, it is necessary to set the itemID to undefined
(e.g. itemInfoType_object.itemID = void 0; ) before calling this method.
It may also be necessary to set containerID to undefined unless the new item is to be
grouped with the copied item.
Prices and file associations can be created when the item is first created and this method behaves like
modify() when a valid itemID is specified.
|
|
(loadtime : 216ms) |