create_reason_code_m
Creates a new reason code and associated attributes
Input Arguments
Req | Field Name | Field Type | Max Length | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
client_no | long | 22 | Aria-assigned unique identifier indicating the Aria client providing service to this account. | |||||||
auth_key | string | 32 | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. | |||||||
type | long | 50 | Reason code type. Supported values include "Service Credit", "Cash Credit", "Credit Memo", "Rebill", "Write Off", "Refund" and "Coupon". | |||||||
reason_code | long | 4 | The reason code (number). Reason codes are unique per type. | |||||||
reason_code_name | string | 100 | The client description for the reason code | |||||||
on_acct_credit_flag | long | 1 | Indicates whether GL Accounts will be derived from the originating transaction or from the reason code.
Allowable values for on_acct_credit_flag:
|
|||||||
debit_gl_code | string | 50 | Mandatory when the on_acct_credit_flag parameter = 1. Expense GL Code. | |||||||
credit_gl_code | string | 50 | Mandatory when the on_acct_credit_flag parameter = 1. Unapplied Credit GL Code. | |||||||
enable_for_csr | string | 1 | Flag to indicate whether CSR can use the reason code. | |||||||
allow_time_restrictions | string | 1 | Determines whether time based scope restictions such as expiry may be defined by csr. Y value valid if enable for csr = y, otherwise null or N. | |||||||
allow_plan_restrictions | string | 1 | Determines whether plan / service based scope restrictions such as applicability to a specific service type, may be used. Y value valid if enabled for csr = Y, otherwise null or N. | |||||||
record_service_credit_trans | string | 1 | Determines whether service credit transactions will be posted in revenue recognition (Y) or whether they will be netted with revenue (N). Null value accepted as N. | |||||||
record_liability | long | 2 | Indicates whether accounting treatment begins at issuance with the creation of unapplied service credit liability.
Allowable values for record_liability:
|
|||||||
expense_gl_code | string | 50 | Mandatory when the record_liability parameter = 1. Indicates the charge account when the service credit is immediately accounted at issuance. | |||||||
unapplied_sc_gl_code | string | 50 | Mandatory when the record_liability parameter = 1. Indicates the credit account when the service credit is immediately accounted at issuance. | |||||||
canceled_sc_gl_code | string | 50 | Mandatory when the record_liability parameter = 1. Indicates a credit account when the unapplied service credit is canceled. | |||||||
expired_sc_gl_code | string | 50 | Mandatory when the record_liability parameter = 1. Indicates a credit account when the unapplied service credit expires. |
Output Arguments
Field Name | Field Type | Description |
---|---|---|
error_code | long | Aria-assigned unique identifier indicating the Aria client providing service to this account. 0 means no error. |
error_msg | string | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
created_by | string | User that created record |
created_date | string | Date and time the record was created |