unapply_cm_m
Summary
| API Name | unapply_cm_m |
|---|---|
| Class | transaction_services_m |
| Update Version | 12.0 |
Description
Unapplies credit memo line credits from invoice gross line.
Inputs
| Name | Type | Length | Required | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| client_no | long | 22 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
||||||
| auth_key | string | 32 | Yes |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
||||||
| acct_no | long | Yes |
Aria-assigned account identifier. This value is unique across all Aria-managed accounts. Alternative required field: client_acct_id |
|||||||
| client_acct_id | string | 50 | Yes |
This is the client-assigned identifier for the account. Alternative required field: acct_no |
||||||
| cm_unapply_details | object | Yes |
Array of credit memo line unapplication. |
|||||||
| do_write | string | 5 | No |
Boolean indicator that specifies whether to actually perform the requested operation. If 'false' is passed in this field, Aria calculates, if applicable, any potential effects from this call such as proration, plan assignments, etc. and return all relevant data without actually performing the requested operation or making any changes to the account. This is useful to interfaces that want to present the user with a 'confirmation page' informing them of the potential effects of the requested operation prior to actually performing it. Do_write defaults to 'true' Allowed values:
|
cm_unapply_details fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| cm_no | long | Yes |
The unique Aria-generated number for the credit memo. |
|
| cm_line_no | long | Yes |
Credit memo line number. Alternative required field: cm_transaction_id |
|
| cm_transaction_id | long | Yes |
Credit memo line transaction id. Alternative required field: cm_line_no |
|
| invoice_no | long | Yes |
The invoice number this credit memo line unapplies from. |
|
| invoice_line_no | long | Yes |
The invoice line number this credit memo line unapplies from. Alternative required field: invoice_line_transaction_id |
|
| invoice_line_transaction_id | long | Yes |
The invoice line transaction id. Alternative required field: invoice_line_no |
|
| line_unapply_amount | double | No |
Gross amount to be unapplied from the invoice line. |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error. |
|
| error_msg | string | No |
Description of any error that occurred. "OK" if there was no error. |
|
| unapplied_cm_details | object | No |
Array of credit memo line unapplication. |
unapplied_cm_details fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| invoice_no_out | long | No |
The invoice number this credit unapplied from. |
|
| invoice_line_no_out | long | No |
The invoice line number this credit unapplied from. |
|
| invoice_line_trans_id_out | long | No |
The invoice line charge event number. |
|
| cm_no_out | long | No |
The unique Aria-generated number for the credit memo. |
|
| cm_line_no_out | long | No |
Credit memo line number. |
|
| cm_transaction_id_out | long | No |
Credit memo line transaction id. |
|
| line_amt_unapplied | double | No |
Credit amount unapplied from the invoice service line. |
|
| line_tax_amt_unapplied | double | No |
Credit amount unapplied from the taxes of invoice service line. |