MYOB Greentree

HideShow

  • Contents
  • Index
  • Search
 
Display results with all search words

 

gtINStockItemAttribute


Use this function to retrieve inventory properties.

Company

The Company code for the inventory item to check.

StockItem

The inventory item code to check.

AttributeDesc

The property to retrieve from the inventory item. This may be a nested series of properties if the property is a reference to another object in Greentree Desktop. Property names are nested with colon (:) delimiters — for example, myStockingUnit:name.

Returns

  • Not Found - when no valid attribute description is found
  • Valid - when a valid attribute description is found
  • Error message - if an error is encountered

Example

=gtINStockItemAttribute(01,69EC EXECUTIVE,myAnalysisCode:description)

Errors Returned

  • Must have a Company Identifier
  • Must have a Stock Item
  • Must have an attribute's Description