2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "Payment",
|
|
|
|
"label": "Payment",
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": false,
|
|
|
|
"isSubmittable": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"label": "Payment No",
|
|
|
|
"fieldname": "name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
2022-04-11 06:04:18 +00:00
|
|
|
"fieldname": "party",
|
|
|
|
"label": "Party",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fieldtype": "Link",
|
2022-04-11 06:04:18 +00:00
|
|
|
"target": "Party"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "date",
|
|
|
|
"label": "Posting Date",
|
|
|
|
"fieldtype": "Date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "account",
|
|
|
|
"label": "From Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "paymentType",
|
|
|
|
"label": "Payment Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"placeholder": "Payment Type",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "Receive",
|
|
|
|
"label": "Receive"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Pay",
|
|
|
|
"label": "Pay"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "paymentAccount",
|
|
|
|
"label": "To Account",
|
|
|
|
"placeholder": "To Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
|
|
|
"required": true,
|
|
|
|
"default": "PAY-"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "paymentMethod",
|
|
|
|
"label": "Payment Method",
|
|
|
|
"placeholder": "Payment Method",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "Cash",
|
|
|
|
"label": "Cash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Cheque",
|
|
|
|
"label": "Cheque"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Transfer",
|
|
|
|
"label": "Transfer"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
|
|
|
"default": "Cash",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "referenceId",
|
|
|
|
"label": "Ref. / Cheque No.",
|
|
|
|
"placeholder": "Ref. / Cheque No.",
|
|
|
|
"fieldtype": "Data"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "referenceDate",
|
|
|
|
"label": "Ref. Date",
|
|
|
|
"placeholder": "Ref. Date",
|
|
|
|
"fieldtype": "Date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "clearanceDate",
|
|
|
|
"label": "Clearance Date",
|
|
|
|
"placeholder": "Clearance Date",
|
|
|
|
"fieldtype": "Date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "writeoff",
|
|
|
|
"label": "Write Off / Refund",
|
|
|
|
"fieldtype": "Currency"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "for",
|
|
|
|
"label": "Payment Reference",
|
|
|
|
"fieldtype": "Table",
|
2022-03-23 08:37:00 +00:00
|
|
|
"target": "PaymentFor",
|
2022-03-23 07:31:15 +00:00
|
|
|
"required": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"quickEditFields": [
|
|
|
|
"numberSeries",
|
|
|
|
"party",
|
|
|
|
"date",
|
|
|
|
"paymentMethod",
|
|
|
|
"account",
|
|
|
|
"paymentType",
|
|
|
|
"paymentAccount",
|
|
|
|
"referenceId",
|
|
|
|
"referenceDate",
|
|
|
|
"clearanceDate",
|
|
|
|
"amount",
|
|
|
|
"writeoff",
|
|
|
|
"for"
|
|
|
|
]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|