MYOB Greentree

HideShow

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

 

gtINStockItemPickBins


A new function creates and updates the location details for picking bins on Inventory Item Bin Maintenance.

Company

The company code that the inventory item belongs to.

StockItem

The inventory item code that is to be updated.

BinPath

The bin path that is to be set. The location is set as an active bin.

Is Locked

The lock value that is to be set. Must be set to True or False.

Returns

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

Example

=gtINStockItemPickBins(01, 1123987134, 04.RCV, True,)

Errors Returned

  • Must have Company identifier
  • Can't find the Company (Company)”
  • Must have a Stock Item
  • Inventory (StockItem) is not found
  • Must have a Bin Path
  • Bin (BinPath) is not found
  • (BinPath) is not a bin
  • (BinPath) is not an active bin
  • Must have a Lock value of True or False
  • Bin (BinPath) is a picking or a receipting bin for another inventory item, it cannot be locked
  • Bin (BinPath) is already locked by inventory item (StockItem)“