MYOB Greentree

HideShow

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

 

gtINDimension


This function creates inventory dimensions in Greentree Desktop.

DimensionType

Enter up to 20 characters (alphanumeric) to record the name of the dimension type of the dimension being created or updated. If the dimension type doesn't already exist, it is created.

Dimension

Enter up to 30 characters (alphanumeric) to record the name of the dimension (code) being entered or updated. If the dimension doesn't already exist, it is created.

DefaultConversion

Enter the default conversion factor to apply to the dimension. This is a decimal value that is applied as a multiply factor to any dimension quantities entered to convert them to the stocking unit of measure of a dimensioned inventory item.

Where different conversion factors applies to individual dimensioned inventory items, this value should be set to 1.0000 as specific item conversion factors can be set using the gtINStockItemDimension function, up to eight decimals.

Description

Enter up to 50 characters (alphanumeric) to record the description associated with the dimension being entered or updated.

IsActive

Enter True or False to indicate whether the dimension is active.

Returns

  • Not Updated - when no error is encountered
  • Updated - after running the update function
  • Error message - if an error is encountered

Errors Returned

  • IsActive can only be True/False or Blank
  • Dimension Type is a mandatory parameter
  • Dimension is a mandatory parameter
  • Default conversion factor is a mandatory parameter
  • Default conversion must be numeric and greater than zero
  • Dimension can be no longer than 30 char
  • Dimension description can be no longer than 50 char

Note: The function gtINStockItemDimension can be used to assign dimensions to inventory items.