Files
lserp_cs_6.0/插件库/Lskj.AgentBridge/Deployment/business-adapters.example.json
T
2026-08-14 14:28:28 +08:00

55 lines
1.7 KiB
JSON

{
"schemaVersion": "1.1",
"customerProfilePath": "customer-profiles/lserp-ai.readonly-map.json",
"purchase": {
"enabled": false,
"acceptanceEvidencePath": "acceptance/purchase.signed-evidence.json",
"fields": {
"moduleCode": "acc_1007",
"supplierCode": "acc_mphhscm_Providerid",
"invoiceNumber": "acc_mphhscm_invoice",
"invoiceDate": "acc_mphhscm_invoiceDate",
"currencyCode": "acc_mphhscm_currency",
"materialCode": "acc_lphhscm_productid",
"unit": "acc_lphhscm_Productunitname",
"quantity": "acc_lphhscm_amount",
"unitPrice": "acc_lphhscm_price",
"taxRate": "acc_lphhscm_taxRate",
"exchangeRate": "acc_lphhscm_exchangeRate",
"lineAmount": "acc_lphhscm_summoney",
"sourceOrderId": "acc_lphhscm_sourcebillid",
"sourceLineId": "acc_lphhscm_ScmPoid"
},
"matchOptions": {
"quantityTolerance": 0.0001,
"unitPriceAbsoluteTolerance": 0.01,
"unitPriceRelativeTolerance": 0.0001,
"taxRateTolerance": 0.0001,
"lineAmountTolerance": 0.02,
"headerAmountTolerance": 0.05,
"currencyScale": 2,
"lineAmountMode": 2
}
},
"leave": {
"enabled": false,
"acceptanceEvidencePath": "acceptance/leave.signed-evidence.json",
"fields": {
"moduleCode": "hr_4011",
"employeeId": "hr_ela_empid",
"leaveTypeCode": "hr_ela_type",
"flowTypeCode": "hr_ela_billtype",
"startLocal": "hr_ela_starttime",
"endLocal": "hr_ela_finishtime",
"requestedHours": "hr_ela_totals",
"reason": "hr_ela_Leavebak"
},
"validationOptions": {
"allowPastStart": false,
"maximumCalendarDays": 31,
"minimumReasonLength": 2,
"hoursTolerance": 0.01
}
}
}