水电费中瑞生产字段配置.md 8.38 KB

业务费用项配置(采用 结算方式+"-"+"业务")

WATER_BILLS(1, "水费"),
ELECTRICITY_BILLS(2, "电费");

线上线下渠道

PARK_CARD(1, "园区卡"),
WECHAT_PAY(10, "微信支付");

应收单

水费(入)(CI027)

1 水费

电费(出)(CI028)

2 电费

收款单

支付(CI185)

1. 微信支付 10

收款退款单

订单退款(CI185)

1. 微信支付 10

1.账套配置 JSON

{
  "group": "MALL",
  //固定
  "entity": "57",
  //商城对应租户id
  "systemType": "kingdee",
  "name": "中瑞水电费账套",
  "code": "ETRADE_ZR",
  // 账套名称 mall+租户id
  "params": {
    "dCID": "69b9e6ec5253c7",
    "appId": "338616_67du6wDJ4rqb3WSvS11t17+FSMRa6qsL",
    "userName": "市场",
    "appSecret": "e52ebd4238154e048d7495e80d918d70",
    "serverUrl": "http://114.116.243.168/k3cloud"
  }
}

2.应收单配置 JSON

2.1 settleOrg 结算组织

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "settleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

2.2 currency 币别

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "currency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

2.3 saleOrg 销售组织

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "saleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

2.4 businessType 业务类型

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "businessType",
  "settingFieldType": 0,
  "fixedValue": "scfyys-002"
}

2.5 standardCurrency 本位币

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "standardCurrency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

2.6 payOrg 收款组织

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "payOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

2.7 chargeItemDept 费用承担部门

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "chargeItemDept",
  "settingFieldType": 0,
  "fixedValue": "BM000040"
}

2.8 saleDept 销售部门

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "saleDept",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "1",
      "configMapValue": "BM000042"
    }
  ]
}

2.9 chargeItem 费用项

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "chargeItem",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "1",
      "configMapValue": "CI027"
    },
    {
      "configValue": "2",
      "configMapValue": "CI028"
    }
  ]
}

2.10 settleMethod 结算方式

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "settleMethod",
  "settingFieldType": 0,
  "fixedValue": "1"
}

2.11 receiveDept 收款部门

{
  "pipelineId": 3,
  "documentType": "AR_receivable",
  "configKey": "receiveDept",
  "settingFieldType": 0,
  "fixedValue": ""
}

3.收款单配置 JSON

3.1 currency 币别

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "currency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

3.2 settleOrg 结算组织

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "settleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

3.3 saleOrg 销售组织

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "saleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

3.4 businessType 业务类型

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "businessType",
  "settingFieldType": 0,
  "fixedValue": "zr002"
}

3.5 contactType 往来单位类型

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "contactType",
  "settingFieldType": 0,
  "fixedValue": "BD_Customer"
}

3.6 payContactType 付款单位类型

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "payContactType",
  "settingFieldType": 0,
  "fixedValue": "BD_Customer"
}

3.7 payOrg 收款组织

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "payOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

3.8 settleMethod 结算方式

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "settleMethod",
  "settingFieldType": 0,
  "fixedValue": "JSFS04_SYS"
}

3.9 receiveUsedFor 收款用途

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "receiveUsedFor",
  "settingFieldType": 0,
  "fixedValue": "SFKYT02_SYS"
}

3.10 chargeItemDept 费用承担部门

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "chargeItemDept",
  "settingFieldType": 0,
  "fixedValue": "BM000099"
}

3.11 chargeItem 费用项

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "chargeItem",
  "settingFieldType": 0,
  "fixedValue": "CI185"
}

3.12 settleCurrency 币别

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "settleCurrency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

3.13 bankCardNumber 银行账号

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "bankCardNumber",
  "settingFieldType": 0,
  "fixedValue": "20000178223210300000034"
}

3.14 saleDept 销售部门

{
  "pipelineId": 3,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "saleDept",
  "settingFieldType": 0,
  "fixedValue": "BM000099"
}

4.收款退款单配置 JSON

4.1 currency 币别

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "currency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

4.2 settleOrg 结算组织

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "settleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

4.3 saleOrg 销售组织

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "saleOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

4.4 businessType 业务类型

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "businessType",
  "settingFieldType": 0,
  "fixedValue": "SKTKDLX04_SYS"
}

4.5 payOrg 收款组织

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "payOrg",
  "settingFieldType": 0,
  "fixedValue": "101"
}

4.6 receiveContactType 收款单位类型

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "receiveContactType",
  "settingFieldType": 0,
  "fixedValue": "BD_Customer"
}

4.7 contactType 往来单位类型

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "contactType",
  "settingFieldType": 0,
  "fixedValue": "BD_Customer"
}

4.8 settleCurrency 结算币别

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "settleCurrency",
  "settingFieldType": 0,
  "fixedValue": "PRE001"
}

4.9 settleMethod 结算方式

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "settleMethod",
  "settingFieldType": 0,
  "fixedValue": "JSFS04_SYS"
}

4.10 receiveUsedFor 原收款用途

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "receiveUsedFor",
  "settingFieldType": 0,
  "fixedValue": "SFKYT02_SYS"
}

4.11 chargeItemDept 费用承担部门

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "chargeItemDept",
  "settingFieldType": 0,
  "fixedValue": "BM000099"
}

4.12 chargeItem 费用项

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "chargeItem",
  "settingFieldType": 0,
  "fixedValue": "CI185"
}

4.13 saleDept 销售部门

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "saleDept",
  "settingFieldType": 0,
  "fixedValue": "BM000099"
}

4.14 bankCardNumber 银行账号

{
  "pipelineId": 3,
  "documentType": "AR_REFUNDBILL",
  "configKey": "bankCardNumber",
  "settingFieldType": 0,
  "fixedValue": "20000178223210300000034"
}