Hello.
I am trying to add a remittance (payment) to an existing order using P21’s Transaction API.
Using the UI, this is done by going to the Order Entry section under the Remittances tab > Add Payment Details.
When I try to add the payment using the Transaction API, it fails with these messages:
"Messages": [
"Transaction 1:: General Exception: Column is disabled: payment_type_id",
"Transaction 1: TP_REMITTANCES.remittances: Error processing data element: remittances : Column is disabled: payment_type_id"
],
Here is the call I am making with sample data:
{
"Name": "Order",
"UseCodeValues": true,
"IgnoreDisabled": false,
"Transactions": [
{
"Status": "New",
"DataElements": [
{
"Name": "TABPAGE_1.order",
"Type": "Form",
"Keys": [
"order_no"
],
"Rows": [
{
"Edits": [
{
"Name": "order_no",
"Value": "1019425"
}
]
}
]
},
{
"Name": "TP_REMITTANCES.remittances",
"Type": "Form",
"Keys": [],
"Rows": [
{
"Edits": [
{
"Name": "payment_type_id",
"Value": "MasterCard"
},
{
"Name": "payment_amount",
"Value": "21.0000"
},
{
"Name": "payment_desc",
"Value": "TEST ORDER PAYMENT"
}
]
}
]
}
]
}
]
}