MYOB Greentree

HideShow

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

 

gtJCSalesAdjustGL


This function supplies the information needed to create a Job Cost GL Sales Adjustment header. The unique identifier returned by the function call is structured as JCSALESADJ-nnn where nnn is a sequential number that is unique for the current Excel session. This number links the gtJCSalesAdjustGLLine function call with its header call. This number is not updated to or passed through to Greentree.

Each Job Cost GL Sales Adjustment is uploaded to Greentree as a complete transaction set. The adjustment will either be uploaded in its entirety or nothing of the document will be loaded into Greentree Desktop.

Company

The company code that the adjustment is to be created in.

Branch

The branch identifier.

Reference

The unique document number for this Adjustment. A document with this number cannot already exist or an error is returned.

DocumentDate

The document date for the adjustment.

PostingDate

The posting date for the transaction. This determines the financial period the transaction posts to.

Narration

Narration for the adjustment header.

Returns

  • Unique identifier - JCSALESADJ-nnn to be used to link the adjustment header with its line items
  • Error - if an error is encountered

Errors Returned

  • The company must be specified
  • The branch must be specified
  • The reference must be specified
  • The document date must be specified
  • Invalid document date
  • The posting date must be specified
  • Invalid posting date
  • Adjustment reference already used
  • The branch is invalid