Name | Description | Type | Additional information |
---|---|---|---|
CreditId |
Sedona internal autonumber for the Customer Credit record (assigned automatically on POST) |
integer |
None. |
CreditNumber |
Reference Number for the Credit (assigned automatically on POST) |
integer |
None. |
CustomerId |
Foreign key from AR_Customer table |
integer |
Required |
CustomerSiteId |
Foreign key from AR_Customer_Site table |
integer |
Required |
CreditDate |
defaults to today's date if not supplied |
string |
None. |
IssueDate |
Date Credit record was created; today's date (set automatically on POST) |
string |
None. |
CategoryCode |
Category from AR_Category table |
string |
Required |
Amount |
Amount of Credit, NOT including Tax (calculated automatically) |
decimal number |
Required |
UsedAmount |
set automatically on POST (it is possible to have a remaining credit balance) |
decimal number |
None. |
TaxAmount |
If blank, calculated automatically based on the Customer Site |
decimal number |
None. |
PONumber |
Purchase Order number for reference |
string |
String length: inclusive between 0 and 20 |
SalespersonCode |
Salesperson; must be valid value from SY_Employee; defaults to N/A if not supplied |
string |
None. |
InvoiceDescriptionCode |
value from AR_Invoice_Description table; defaults to N/A if not supplied |
string |
None. |
ServiceStartDate |
used only for recurring credits |
string |
None. |
ServiceEndDate |
used only for recurring credits |
string |
None. |
Memo |
Memo field |
string |
String length: inclusive between 0 and 255 |
TaxGroupCode |
defaults to Site Tax Group if not explicitly set |
string |
None. |
WarehouseCode |
Abbreviated Warehouse code; defaults to N/A if not supplied |
string |
String length: inclusive between 0 and 25 |
GSTTaxAmount |
GST Amount (Canada) |
decimal number |
None. |
Contact | string |
String length: inclusive between 0 and 255 |
|
CustomerBillId |
Foreign key from AR_Customer_Bill table |
integer |
Required |
BranchCode |
Branch from AR_Branch table |
string |
Required |
UsedDate | string |
None. |
|
PostingDate | string |
None. |
|
CreditReasonCode |
value from AR_Credit_Reason table |
string |
Required String length: inclusive between 0 and 25 |
Complete | string |
None. |
|
UserCode |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 50 |
GSTTaxExemptNumber | string |
String length: inclusive between 0 and 20 |
|
AutoApplyCycle | boolean |
None. |
|
AutoApplyService | boolean |
None. |
|
AutoApplyJobs | boolean |
None. |
|
AutoApplyMisc | boolean |
None. |
|
CreditItems |
list of Credit Items |
Collection of CustomerCreditItem |
Required |
CreditDetail |
list of Invoices and amounts to be credited off; leave null to not apply the credit to any invoices |
Collection of CustomerCreditDetail |
None. |