entities.json 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. {
  2. "version": "1.0.0",
  3. "generatedFrom": [
  4. "doc/plan/系统集成/Ai-DOP第三方对接业务数据详表-业务页.md",
  5. "doc/plan/系统集成/Ai-DOP第三方对接业务数据详表-技术页.md",
  6. "server/Plugins/Admin.NET.Plugin.AiDOP/DataPlatform/Inbound/MdpInboundFieldMapper.cs"
  7. ],
  8. "note": "sample 为 null 表示使用 sample_adapters.BUILTIN_SAMPLES 内置最小样例;apiInbound.reason 仅在 supported=false 时给出。",
  9. "objects": [
  10. {
  11. "objectCode": "ITEM",
  12. "businessName": "物料基础信息",
  13. "domain": "MDM",
  14. "sample": "doc/db/mdp/mock_api/samples/item.json",
  15. "dbSync": { "supported": true, "table": "sim_item", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  16. "apiPull": { "supported": true, "path": "/api/item", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  17. "apiInbound": { "supported": true, "entityCode": "MDM_ITEM", "contractVersion": "v2" }
  18. },
  19. {
  20. "objectCode": "CUSTOMER",
  21. "businessName": "客户主数据",
  22. "domain": "MDM",
  23. "sample": null,
  24. "dbSync": { "supported": true, "table": "sim_customer", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  25. "apiPull": { "supported": true, "path": "/api/sim/customer", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  26. "apiInbound": { "supported": true, "entityCode": "MDM_CUSTOMER", "contractVersion": "v2" }
  27. },
  28. {
  29. "objectCode": "SUPPLIER",
  30. "businessName": "供应商主数据",
  31. "domain": "MDM",
  32. "sample": "doc/db/mdp/mock_api/samples/supplier.json",
  33. "dbSync": { "supported": true, "table": "sim_supplier", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  34. "apiPull": { "supported": true, "path": "/api/supplier", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  35. "apiInbound": { "supported": true, "entityCode": "MDM_SUPPLIER", "contractVersion": "v2" }
  36. },
  37. {
  38. "objectCode": "LOCATION",
  39. "businessName": "库位主数据",
  40. "domain": "MDM",
  41. "sample": null,
  42. "dbSync": { "supported": true, "table": "sim_location", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  43. "apiPull": { "supported": true, "path": "/api/sim/location", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  44. "apiInbound": { "supported": true, "entityCode": "MDM_LOCATION", "contractVersion": "v2" }
  45. },
  46. {
  47. "objectCode": "SOURCE_LIST",
  48. "businessName": "货源清单",
  49. "domain": "MDM",
  50. "sample": "doc/db/mdp/mock_api/samples/source_list.json",
  51. "dbSync": { "supported": true, "table": "sim_source_list", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  52. "apiPull": { "supported": true, "path": "/api/source-list", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  53. "apiInbound": { "supported": true, "entityCode": "MDM_SOURCE_LIST", "contractVersion": "v2" }
  54. },
  55. {
  56. "objectCode": "EMPLOYEE_HEADCOUNT",
  57. "businessName": "员工在岗人数",
  58. "domain": "MDM",
  59. "sample": null,
  60. "dbSync": { "supported": true, "table": "sim_employee_headcount", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  61. "apiPull": { "supported": true, "path": "/api/sim/employee-headcount", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  62. "apiInbound": { "supported": true, "entityCode": "MDM_EMPLOYEE_HEADCOUNT", "contractVersion": "v2" }
  63. },
  64. {
  65. "objectCode": "SALES_ORDER_HEAD",
  66. "businessName": "销售订单头",
  67. "domain": "S1",
  68. "sample": "doc/db/mdp/mock_api/samples/sales_order.json",
  69. "dbSync": { "supported": true, "table": "sim_sales_order_head", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  70. "apiPull": { "supported": true, "path": "/api/sales-order", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  71. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(任务书 §12 P2-F 待 Ai-DOP 契约扩展)" }
  72. },
  73. {
  74. "objectCode": "SALES_ORDER_ENTRY",
  75. "businessName": "销售订单行",
  76. "domain": "S1",
  77. "sample": "doc/db/mdp/mock_api/samples/sales_order_entry.json",
  78. "dbSync": { "supported": true, "table": "sim_sales_order_entry", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  79. "apiPull": { "supported": true, "path": "/api/sales-order-entry", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  80. "apiInbound": { "supported": true, "entityCode": "S1_SALES_ORDER_ENTRY", "contractVersion": "v2" }
  81. },
  82. {
  83. "objectCode": "CONTRACT_REVIEW",
  84. "businessName": "合同评审",
  85. "domain": "S1",
  86. "sample": "doc/db/mdp/mock_api/samples/contract_review.json",
  87. "dbSync": { "supported": true, "table": "sim_contract_review", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  88. "apiPull": { "supported": true, "path": "/api/contract-review", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  89. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  90. },
  91. {
  92. "objectCode": "CONTRACT_REVIEW_FLOW",
  93. "businessName": "合同评审环节",
  94. "domain": "S1",
  95. "sample": "doc/db/mdp/mock_api/samples/contract_review_flow.json",
  96. "dbSync": { "supported": true, "table": "sim_contract_review_flow", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  97. "apiPull": { "supported": true, "path": "/api/contract-review-flow", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  98. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  99. },
  100. {
  101. "objectCode": "REQUIREMENT_EXAMINE_RESULT",
  102. "businessName": "齐套核验结果头",
  103. "domain": "S1",
  104. "sample": "doc/db/mdp/mock_api/samples/requirement_examine_result.json",
  105. "dbSync": { "supported": true, "table": "sim_requirement_examine_result", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  106. "apiPull": { "supported": true, "path": "/api/requirement-examine-result", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  107. "apiInbound": { "supported": true, "entityCode": "S1_REQUIREMENT_EXAMINE_RESULT", "contractVersion": "v2" }
  108. },
  109. {
  110. "objectCode": "REQUIREMENT_EXAMINE_DETAIL",
  111. "businessName": "齐套核验明细",
  112. "domain": "S1",
  113. "sample": "doc/db/mdp/mock_api/samples/requirement_examine_detail.json",
  114. "dbSync": { "supported": true, "table": "sim_requirement_examine_detail", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  115. "apiPull": { "supported": true, "path": "/api/requirement-examine-detail", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  116. "apiInbound": { "supported": true, "entityCode": "S1_REQUIREMENT_EXAMINE_DETAIL", "contractVersion": "v2" }
  117. },
  118. {
  119. "objectCode": "SUPPLY_DEMAND",
  120. "businessName": "供需明细(MRP)",
  121. "domain": "S1",
  122. "sample": "doc/db/mdp/mock_api/samples/supply_demand.json",
  123. "dbSync": { "supported": true, "table": "sim_supply_demand", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  124. "apiPull": { "supported": true, "path": "/api/supply-demand", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  125. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  126. },
  127. {
  128. "objectCode": "LINKAGE_PLAN",
  129. "businessName": "联动计划",
  130. "domain": "S1",
  131. "sample": "doc/db/mdp/mock_api/samples/linkage_plan.json",
  132. "dbSync": { "supported": true, "table": "sim_linkage_plan", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  133. "apiPull": { "supported": true, "path": "/api/linkage-plan", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  134. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  135. },
  136. {
  137. "objectCode": "WORK_ORDER",
  138. "businessName": "生产工单",
  139. "domain": "S2",
  140. "sample": "doc/db/mdp/mock_api/samples/s3_work_order.json",
  141. "dbSync": { "supported": true, "table": "sim_work_order", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  142. "apiPull": { "supported": true, "path": "/api/s3-work-order", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  143. "apiInbound": { "supported": true, "entityCode": "S2_WORK_ORDER_SCHEDULE", "contractVersion": "v2" }
  144. },
  145. {
  146. "objectCode": "WORK_ORDER_ROUTING",
  147. "businessName": "工单工艺路线",
  148. "domain": "S2",
  149. "sample": "doc/db/mdp/mock_api/samples/s3_work_order_routing.json",
  150. "dbSync": { "supported": true, "table": "sim_work_order_routing", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  151. "apiPull": { "supported": true, "path": "/api/s3-work-order-routing", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  152. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  153. },
  154. {
  155. "objectCode": "PERIOD_SEQUENCE",
  156. "businessName": "工序级日计划(排产结果)",
  157. "domain": "S2",
  158. "sample": "doc/db/mdp/mock_api/samples/period_sequence.json",
  159. "dbSync": { "supported": true, "table": "sim_period_sequence", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  160. "apiPull": { "supported": true, "path": "/api/period-sequence", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  161. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  162. },
  163. {
  164. "objectCode": "SCHEDULE",
  165. "businessName": "排程明细",
  166. "domain": "S2",
  167. "sample": "doc/db/mdp/mock_api/samples/schedule.json",
  168. "dbSync": { "supported": true, "table": "sim_schedule", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  169. "apiPull": { "supported": true, "path": "/api/schedule", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  170. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  171. },
  172. {
  173. "objectCode": "WORK_ORDER_BOM",
  174. "businessName": "工单用料",
  175. "domain": "S5",
  176. "sample": "doc/db/mdp/mock_api/samples/work_order_bom.json",
  177. "dbSync": { "supported": true, "table": "sim_work_order_bom", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  178. "apiPull": { "supported": true, "path": "/api/work-order-bom", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  179. "apiInbound": { "supported": true, "entityCode": "S5_WORK_ORDER_BOM", "contractVersion": "v2" }
  180. },
  181. {
  182. "objectCode": "WORK_ORDER_LINE",
  183. "businessName": "工单产线明细",
  184. "domain": "S6",
  185. "sample": "doc/db/mdp/mock_api/samples/work_order_detail.json",
  186. "dbSync": { "supported": true, "table": "sim_work_order_line", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  187. "apiPull": { "supported": true, "path": "/api/work-order-detail", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  188. "apiInbound": { "supported": true, "entityCode": "S6_WORK_ORDER_LINE", "contractVersion": "v2" }
  189. },
  190. {
  191. "objectCode": "REPORT_TXN",
  192. "businessName": "报工流水",
  193. "domain": "S6",
  194. "sample": "doc/db/mdp/mock_api/samples/mes_report.json",
  195. "dbSync": { "supported": true, "table": "sim_report_txn", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  196. "apiPull": { "supported": true, "path": "/api/mes/report", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  197. "apiInbound": { "supported": true, "entityCode": "S6_REPORT_TXN", "contractVersion": "v2" }
  198. },
  199. {
  200. "objectCode": "PURCHASE_ORDER",
  201. "businessName": "采购订单",
  202. "domain": "S3",
  203. "sample": "doc/db/mdp/mock_api/samples/purchase_order.json",
  204. "dbSync": { "supported": true, "table": "sim_purchase_order", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  205. "apiPull": { "supported": true, "path": "/api/purchase-order", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  206. "apiInbound": { "supported": true, "entityCode": "S3_PURCHASE_ORDER", "contractVersion": "v2" }
  207. },
  208. {
  209. "objectCode": "PURCHASE_RECEIPT",
  210. "businessName": "采购收货",
  211. "domain": "S3",
  212. "sample": "doc/db/mdp/mock_api/samples/receipt.json",
  213. "dbSync": { "supported": true, "table": "sim_purchase_receipt", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  214. "apiPull": { "supported": true, "path": "/api/receipt", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  215. "apiInbound": { "supported": true, "entityCode": "S3_PURCHASE_RECEIPT", "contractVersion": "v2" }
  216. },
  217. {
  218. "objectCode": "SUPPLIER_SHIPMENT",
  219. "businessName": "供应商发货",
  220. "domain": "S4",
  221. "sample": "doc/db/mdp/mock_api/samples/s4_shipment.json",
  222. "dbSync": { "supported": true, "table": "sim_supplier_shipment", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  223. "apiPull": { "supported": true, "path": "/api/s4-shipment", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  224. "apiInbound": { "supported": true, "entityCode": "S4_SHIPMENT", "contractVersion": "v2" }
  225. },
  226. {
  227. "objectCode": "IQC",
  228. "businessName": "来料检验",
  229. "domain": "S4",
  230. "sample": "doc/db/mdp/mock_api/samples/s4_iqc.json",
  231. "dbSync": { "supported": true, "table": "sim_iqc", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  232. "apiPull": { "supported": true, "path": "/api/s4-iqc", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  233. "apiInbound": { "supported": true, "entityCode": "S4_IQC", "contractVersion": "v2" }
  234. },
  235. {
  236. "objectCode": "PURCHASE_RETURN",
  237. "businessName": "采购退货",
  238. "domain": "S4",
  239. "sample": "doc/db/mdp/mock_api/samples/s4_return.json",
  240. "dbSync": { "supported": true, "table": "sim_purchase_return", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  241. "apiPull": { "supported": true, "path": "/api/s4-return", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  242. "apiInbound": { "supported": true, "entityCode": "S4_RETURN", "contractVersion": "v2" }
  243. },
  244. {
  245. "objectCode": "SHORTAGE",
  246. "businessName": "供应商欠料",
  247. "domain": "S4",
  248. "sample": "doc/db/mdp/mock_api/samples/s4_shortage.json",
  249. "dbSync": { "supported": true, "table": "sim_shortage", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  250. "apiPull": { "supported": true, "path": "/api/s4-shortage", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  251. "apiInbound": { "supported": true, "entityCode": "S4_SHORTAGE", "contractVersion": "v2" }
  252. },
  253. {
  254. "objectCode": "PURCHASE_REQUEST",
  255. "businessName": "采购申请",
  256. "domain": "S3",
  257. "sample": "doc/db/mdp/mock_api/samples/pr.json",
  258. "dbSync": { "supported": true, "table": "sim_purchase_request", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  259. "apiPull": { "supported": true, "path": "/api/pr", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  260. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  261. },
  262. {
  263. "objectCode": "DELIVERY_PLAN",
  264. "businessName": "交货计划",
  265. "domain": "S3",
  266. "sample": "doc/db/mdp/mock_api/samples/delivery.json",
  267. "dbSync": { "supported": true, "table": "sim_delivery_plan", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  268. "apiPull": { "supported": true, "path": "/api/delivery", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  269. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  270. },
  271. {
  272. "objectCode": "SHIPPING_PLAN",
  273. "businessName": "发货计划",
  274. "domain": "S4",
  275. "sample": "doc/db/mdp/mock_api/samples/shipping_plan.json",
  276. "dbSync": { "supported": true, "table": "sim_shipping_plan", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  277. "apiPull": { "supported": true, "path": "/api/shipping-plan", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  278. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  279. },
  280. {
  281. "objectCode": "SHIPPER_MASTER",
  282. "businessName": "发货单头",
  283. "domain": "S4",
  284. "sample": "doc/db/mdp/mock_api/samples/shipper_master.json",
  285. "dbSync": { "supported": true, "table": "sim_shipper_master", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  286. "apiPull": { "supported": true, "path": "/api/shipper-master", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  287. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  288. },
  289. {
  290. "objectCode": "SHIPMENT",
  291. "businessName": "销售发货明细",
  292. "domain": "S4",
  293. "sample": "doc/db/mdp/mock_api/samples/shipment.json",
  294. "dbSync": { "supported": true, "table": "sim_shipment", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  295. "apiPull": { "supported": true, "path": "/api/shipment", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  296. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  297. },
  298. {
  299. "objectCode": "INVENTORY_TXN",
  300. "businessName": "出入库流水",
  301. "domain": "S5",
  302. "sample": "doc/db/mdp/mock_api/samples/inventory_txn.json",
  303. "dbSync": { "supported": true, "table": "sim_inventory_txn", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  304. "apiPull": { "supported": true, "path": "/api/inventory-txn", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  305. "apiInbound": { "supported": true, "entityCode": "S5_INVENTORY_TXN", "contractVersion": "v2" }
  306. },
  307. {
  308. "objectCode": "INVENTORY_OPENING_BALANCE",
  309. "businessName": "库存期初",
  310. "domain": "S5",
  311. "sample": null,
  312. "dbSync": { "supported": true, "table": "sim_inventory_opening_balance", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  313. "apiPull": { "supported": true, "path": "/api/sim/inventory-opening-balance", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  314. "apiInbound": { "supported": true, "entityCode": "S5_INVENTORY_OPENING_BALANCE", "contractVersion": "v2" }
  315. },
  316. {
  317. "objectCode": "INVENTORY_BALANCE_MONTHLY",
  318. "businessName": "月度库存金额",
  319. "domain": "S5",
  320. "sample": "doc/db/mdp/mock_api/samples/inventory_balance_monthly.json",
  321. "dbSync": { "supported": true, "table": "sim_inventory_balance_monthly", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  322. "apiPull": { "supported": true, "path": "/api/inventory-balance-monthly", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  323. "apiInbound": { "supported": true, "entityCode": "S5_INVENTORY_BALANCE_MONTHLY", "contractVersion": "v2" }
  324. },
  325. {
  326. "objectCode": "ONHAND_INVENTORY",
  327. "businessName": "现存量快照",
  328. "domain": "S5",
  329. "sample": "doc/db/mdp/mock_api/samples/inventory.json",
  330. "dbSync": { "supported": true, "table": "sim_onhand_inventory", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  331. "apiPull": { "supported": true, "path": "/api/inventory", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  332. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  333. },
  334. {
  335. "objectCode": "FQC_TASK",
  336. "businessName": "成品报检",
  337. "domain": "S7",
  338. "sample": "doc/db/mdp/mock_api/samples/fqc_task.json",
  339. "dbSync": { "supported": true, "table": "sim_fqc_task", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  340. "apiPull": { "supported": true, "path": "/api/fqc-task", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  341. "apiInbound": { "supported": true, "entityCode": "S7_FQC_TASK_TXN", "contractVersion": "v2" }
  342. },
  343. {
  344. "objectCode": "FINISHED_RECEIPT",
  345. "businessName": "成品入库",
  346. "domain": "S7",
  347. "sample": "doc/db/mdp/mock_api/samples/production_receipt_detail.json",
  348. "dbSync": { "supported": true, "table": "sim_finished_receipt", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  349. "apiPull": { "supported": true, "path": "/api/production-receipt-detail", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  350. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  351. },
  352. {
  353. "objectCode": "FINISHED_ONHAND",
  354. "businessName": "成品结存",
  355. "domain": "S7",
  356. "sample": null,
  357. "dbSync": { "supported": true, "table": "sim_finished_onhand", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  358. "apiPull": { "supported": true, "path": "/api/sim/finished-onhand", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  359. "apiInbound": { "supported": true, "entityCode": "S7_FINISHED_ONHAND", "contractVersion": "v2" }
  360. },
  361. {
  362. "objectCode": "FINISHED_OPENING_BALANCE",
  363. "businessName": "成品期初",
  364. "domain": "S7",
  365. "sample": null,
  366. "dbSync": { "supported": true, "table": "sim_finished_opening_balance", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  367. "apiPull": { "supported": true, "path": "/api/sim/finished-opening-balance", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  368. "apiInbound": { "supported": true, "entityCode": "S7_FINISHED_OPENING_BALANCE", "contractVersion": "v2" }
  369. },
  370. {
  371. "objectCode": "SALES_ORDER_LINE_S7",
  372. "businessName": "销售订单行(S7 成品口径)",
  373. "domain": "S7",
  374. "sample": "doc/db/mdp/mock_api/samples/sales_order_entry.json",
  375. "dbSync": { "supported": true, "table": "sim_sales_order_line_s7", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  376. "apiPull": { "supported": true, "path": "/api/sim/sales-order-line-s7", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  377. "apiInbound": { "supported": true, "entityCode": "S7_SALES_ORDER_LINE", "contractVersion": "v2" }
  378. },
  379. {
  380. "objectCode": "IPQC",
  381. "businessName": "过程检验",
  382. "domain": "S6",
  383. "sample": "doc/db/mdp/mock_api/samples/ipqc.json",
  384. "dbSync": { "supported": true, "table": "sim_ipqc", "businessKey": ["bizKey"], "incrementColumn": "sourceUpdatedAt" },
  385. "apiPull": { "supported": true, "path": "/api/ipqc", "responsePath": "data.list", "dedupKeyPath": "bizKey" },
  386. "apiInbound": { "supported": false, "reason": "当前无 API_INBOUND 代码契约(P2-F)" }
  387. }
  388. ]
  389. }