Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

rb.catalogue.item.itemInfoType

Main catalogue item or product including prices, associated file identifiers and custom data.

Elements

The rb.catalogue.item.itemInfoType struct has 15 elements:

Name Type/Value Range/Length Description
itemIDnumberinteger Optional. System assigned identifier of item.
Required for modify() and when adding more prices and/or file associations to an item using create(). Added into the interface from version 0.9.36.
codestring1..250 Optional. Item code.
Required for create().
typestring0..30 Optional. Short classification string to allow applications to distinguish between different 'things' stored in catalogue items.
namestring0..250 Optional. Item name. Optional field in which to store a user-readable name for this product (as distinct from the code field).
descriptionstring0..1000 Optional. Description of the item.
Required for create().
keywordsstring0..250 Optional. Predetermined words with which item can be searched.
containerMkrnumber1 = container, 2 = contained, 3 = self-contained or ungrouped item. Optional. System assigned (read-only) marker indicating membership of and status within a group of items.
containerIDnumberValid itemID Optional. Identifier of the containing item which is itemID of a self-contained or container item.
Required only if adding an item to a group (i.e. making it contained) using create() or modify() and if removing or transferring an item from a group (making it self-contained or contained) using modify().
itemDataMetaData0-200K Optional. Buffer for custom item information.
stockDataMetaData0-200K Optional. Buffer for custom stock information for item.
fileRefsarray of struct item.fileRefTypessee definition Optional. Array of binary file associations for item.
pricesarray of struct item.priceInfoTypessee definition Optional. Array of price information for item.
modifiedTimenumberdate Optional. Timestamp (milliseconds since epoch) representing the time at which this item was last saved. Added into the interface from version 0.9.35.
relevancenumber  Optional. Read-only - returned when search method is 'rank'. Returns the number of keywords that appeared in the selected search area Added into the interface from version 1.1.0.
nodeCountnumber  Optional. Read-only - returned when bit 3 (8) of allData is set, or 'sortBy' is 'nodes'. Returns the number of matching nodes to which this item is linked. If 'isItemInNodes' is not used then this field will be the number of nodes to which this item is linked, otherwise it is the count of nodes in the list to which this node is linked.

Remarks

By default, a new item is an 'orphan' item (i.e. implicitly linked to the virtual root node) until it is explicitly linked to one or more category nodes. Also, a new item will have containerMkr=2 or 3 (indicating contained or self-contained) if containerID is set or is undefined respectively.

Note from version 0.9.35 the size of the 'code', 'description' and 'keywords' attributes have been increased to 250 characters.

Whitebeam release 1.3.36
(loadtime : 59ms)