gtPRContractRate
This function creates new or updates Contract Rates in Greentree Desktop. It does not create new Classifications.
This function updates both headers and lines. If every field after Notes is left empty, only the header information updates/created. If further fields are filled after the Notes field, the lines update.
If a TransType is entered and the IsRate is selected, if there is an existing line with the same TransType and IsRate is true, that line updates, otherwise a new line is created. For all other combinations a new line is created.
Company
The company code that the record belongs to.
Classification
The classification that is being updated for a new or existing Effective Date.
EffectiveDate
The new or existing effective date for the contract being updated.
Notes
Enter any applicable notes.
TransType
Enter the transaction type for the line to be updated or added.
Quantity
Enter the quantity for the line to be updated or added.
RateAmount
Enter the rate or amount for the line to be updated or added.
IsRate
Enter True if this line is to be a rate line or False if it is not a rate line.
AccountMask
Enter the account or mask if required for the line to be updated or added.
Subcode
Enter the subcode if required for the line to be updated or added.
Trees
Enter the tree if required for the line to be updated or added. Multiple trees can be entered by separating the values with a comma.
Job
Enter the job if required for the line to be updated or added.
Activity
Enter the activity if required for the line to be updated or added.
WorkCentre
Enter the work centre if required for the line to be updated or added.
Narration
Enter any required narration for the line to be updated or added.