gtGLOutwardsCashJCLine

This function records the line item information required to create an Outwards Cash transaction.

Each outwards cash transaction is uploaded to Greentree Desktop as a complete transaction set. The payment either uploads in its entirety or nothing of the document is loaded into Greentree Desktop.

Reference

This must be the unique identifier generated by the gtGLOutwardsCash function call. It has the format GLOUTCASH-nnn. This ensures the lines are of the correct payment header details and it ensures Excel creates the header information before attempting to calculate and create the payment line item details.

Job

The Job code for this line.

It must be a valid code for the Company specified in gtGLOutwardsCash.

It must belong to the Profit Centre Group of the user (set up in JC Preferences)

ActivityCode

The JC Activity Code for this line.

It must be a valid code for the Company specified in gtGLOutwardsCash.

It must be of type PurchasesÂ’or Disbursements.

If Job does not use a Work Centre Plan (WCP), then the Activity Code must belong to the Job's Activity Code Group.

If Job uses a WCP, then the Activity Code must conform to the rules of the WCP.

WorkCentre

The JC Work Centre for this line.

Must be a valid code for the Company specified in gtGLOutwardsCash.

If Job uses a WCP, then the Activity Code must conform to the rules of the WCP.

NetAmount

The net amount of the line.

TaxType

Valid tax types are:

TaxAmount

The amount of tax for this line.

TaxCode

The code that determines the tax rate and type for the transaction. If not entered and there is no valid default from the Company an error is returned and the user must specify a valid Tax Code.

TaxPerc

Percentage of tax for this line.

Quantity

The quantity relevant for this line. If not specified, this defaults to 1.0000.

Narration

Narration for the transaction line.

SellRate

This parameter is only relevant if the Job Cost Module Control option Allowed to change sell rate on PO/AP is selected. Enter a numeric value to change the sell rate that would normally default using the process, or leave null to assume default.

Returns

Errors Returned

Â