大润发中瑞生产字段配置.md 14.5 KB

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

IN_AMOUNT(1, "订单金额(入)"),
OUT_AMOUNT(2, "订单金额(出)");

线上线下渠道

OFFLINE_SCAN(1, "线下扫码购"),
MINI_PROGRAM(3, "小程序");

应收单

订单金额(入)(CI061)

1. 微信支付 10-1
2. 园区卡支付 19-1

订单金额(出)(CI061)

1. 微信支付 10-2
2. 园区卡支付 19-2

收款单

订单支付(CI185)

1. 微信支付 10-2

收款退款单

订单退款(CI185)

1. 微信支付 10-1

1.账套配置 JSON

{
  "group": "MALL",
  //固定
  "entity": "57",
  //商城对应租户id
  "systemType": "kingdee",
  "name": "中瑞收银台账套",
  "code": "CASHIER_1001",
  // 账套名称 mall+租户id
  "params": {
    "dCID": "61bacdc5abc2c5",
    "appId": "299721_w6aNWcEuVuh/WWzO41xKQ/StTqWdSqLP",
    "userName": "市场",
    "appSecret": "d9d5ff0f237a43f3b0e66a45aa79aef2",
    "serverUrl": "http://120.46.151.190/k3cloud/",
  },
}

2.应收单配置 JSON

2.1 settleOrg 结算组织

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "settleOrg",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-3",
      "configMapValue": "110"
    },
    {
      "configValue": "19-B-340621-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340621-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-1",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-1",
      "configMapValue": "101"
    }
  ]
}

2.2 currency 币别

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

2.3 saleOrg 销售组织

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "saleOrg",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-3",
      "configMapValue": "110"
    },
    {
      "configValue": "19-B-340621-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340621-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-1",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-1",
      "configMapValue": "101"
    }
  ]
}

2.4 businessType 业务类型

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

2.5 standardCurrency 本位币

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

2.6 payOrg 收款组织

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "payOrg",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340621-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-3",
      "configMapValue": "101"
    },
    {
      "configValue": "10-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-340602-1",
      "configMapValue": "110"
    },
    {
      "configValue": "19-B-340621-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-B-default-1",
      "configMapValue": "101"
    },
    {
      "configValue": "10-S-1",
      "configMapValue": "101"
    },
    {
      "configValue": "19-S-1",
      "configMapValue": "101"
    }
  ]
}

2.7 chargeItemDept 费用承担部门

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "chargeItemDept",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-3",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340602-3",
      "configMapValue": "BM000101"
    },
    {
      "configValue": "19-340621-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-default-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "10-1",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340602-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340621-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-default-1",
      "configMapValue": "BM000042"
    }
  ]
}

2.8 saleDept 销售部门

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "saleDept",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-3",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340602-3",
      "configMapValue": "BM000101"
    },
    {
      "configValue": "19-340621-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-default-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "10-1",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340602-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-340621-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-default-1",
      "configMapValue": "BM000042"
    }
  ]
}

2.9 chargeItem 费用项

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "chargeItem",
  "settingFieldType": 1,
  "dynamicValues": [
  {
    "configValue": "10-1",
    "configMapValue": "CI061"
  },
  {
    "configValue": "19-1",
    "configMapValue": "CI061"
  },
  {
    "configValue": "10-2",
    "configMapValue": "CI061"
  },
  {
    "configValue": "19-2",
    "configMapValue": "CI061"
  }
]
}

2.10 settleMethod 结算方式

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

2.11 receiveDept 收款部门

{
  "pipelineId": 2,
  "documentType": "AR_receivable",
  "configKey": "receiveDept",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-B-3",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-B-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-B-340602-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-B-340621-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-B-default-3",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "10-S-3",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-S-3",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "10-B-1",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-B-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-B-340602-1",
      "configMapValue": "BM000101"
    },
    {
      "configValue": "19-B-340621-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "19-B-default-1",
      "configMapValue": "BM000042"
    },
    {
      "configValue": "10-S-1",
      "configMapValue": "BM000099"
    },
    {
      "configValue": "19-S-1",
      "configMapValue": "BM000099"
    }
  ]
}

3.收款单配置 JSON

3.1 currency 币别

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

3.2 settleOrg 结算组织

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

3.3 saleOrg 销售组织

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

3.4 businessType 业务类型

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

3.5 contactType 往来单位类型

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

3.6 payContactType 付款单位类型

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

3.7 payOrg 收款组织

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

3.8 settleMethod 结算方式

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

3.9 receiveUsedFor 收款用途

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

3.10 chargeItemDept 费用承担部门

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

3.11 chargeItem 费用项

{
  "pipelineId": 2,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "chargeItem",
  "settingFieldType": 1,
  "dynamicValues": [
  {
    "configValue": "19-2",
    "configMapValue": "CI185"
  }
]
}

3.12 settleCurrency 币别

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

3.13 bankCardNumber 银行账号

{
  "pipelineId": 2,
  "documentType": "AR_RECEIVEBILL",
  "configKey": "bankCardNumber",
  "settingFieldType": 0,
  "fixedValue": "000001"
}

3.14 saleDept 销售部门

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

4.收款退款单配置 JSON

4.1 currency 币别

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

4.2 settleOrg 结算组织

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

4.3 saleOrg 销售组织

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

4.4 businessType 业务类型

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

4.5 payOrg 收款组织

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

4.6 receiveContactType 收款单位类型

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

4.7 contactType 往来单位类型

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

4.8 settleCurrency 结算币别

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

4.9 settleMethod 结算方式

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

4.10 receiveUsedFor 原收款用途

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

4.11 chargeItemDept 费用承担部门

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

4.12 chargeItem 费用项

{
  "pipelineId": 2,
  "documentType": "AR_REFUNDBILL",
  "configKey": "chargeItem",
  "settingFieldType": 1,
  "dynamicValues": [
    {
      "configValue": "10-1",
      "configMapValue": "CI185"
    }
  ]
}

4.13 saleDept 销售部门

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

4.14 bankCardNumber 银行账号

{
  "pipelineId": 2,
  "documentType": "AR_REFUNDBILL",
  "configKey": "bankCardNumber",
  "settingFieldType": 0,
  "fixedValue": "000001"
}