erp.stock.createandstockin{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | vendCode | 供应商编码 | string | — | Optional | 供应商编码 |
| 2 | applyDepartCode | 部门编码 | string | H04 | Required | 部门编号和公司编号 要同时填否则部门信息会有偏差 |
| 3 | applyCompanyCode | 入库公司编码 | string | 103 | Required | 公司编号和部门编号 要同时填否则公司信息会有偏差 |
| 4 | inWarehouseCode | 仓库编码 | string | {{FDestStockID_FNumber}} | Required | 仓库编码 |
| 5 | inType | 入库类型 | string | 101 | Required | 入库类型 101=采购入库 102=调拨入库 103=盘盈入库 104=其他入库 |
| 6 | relDataId | 关联单据编号 | string | {{FBillNo}} | Required | 可随机,保证不重复即可 |
| 7 | applyUserId | 申请人 | string | 1 | Optional | 申请人 |
| 8 | applyUserName | 申请人姓名 | string | 吕修远 | Required | 超级用户 |
| 9 | applyDate | 申请时间 | datetime | {{FApproveDate}} | Optional | 申请时间 |
| 10 | memo | 备注 | string | {{FBillNo}} | Optional | 备注 |
| 11 | operator | 制单人 | string | 吕修远 | Optional | 制单人 |
| 12 | source | 写死:OPEN | string | OPEN | Optional | 写死:OPEN |
| 13 | logisticNo | 物流单号 | string | 1 | Optional | 物流单号 |
| 14 | logisticCode | 物流公司编号 | string | — | Optional | 物流公司编号 |
| 15 | stockInDetailViews | 入库申请单明细 | array | details | Optional | 入库申请单明细 |
| 15.1 | skuBarcode | 货品编号 | string | {{details.FMaterialID_FNumber}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.2 | relDetailId | 关联实际业务明细表的id | string | 0 | Optional | 关联实际业务明细表的id |
| 15.3 | skuCount | 入库数量 | int | {{details.FRemainInStockQty}} | Optional | 入库数量 |
| 15.4 | isCertified | 是否正品 | string | 1 | Optional | 是否正品,1是0否 |
| 15.5 | batchList | 批号明细 | array | — | Optional | 批号明细 |
| 15.5.1 | batchNo | 批号 | string | {{details.FDestLot_FNumber}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.5.2 | quantity | 数量 | int | {{details.FRemainInStockQty}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.5.3 | productionDate | 生产日期 | datetime | {{details.FProduceDate}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.5.4 | expirationDate | 到期日期 | datetime | {{details.FEXPIRYDATE}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.5.5 | shelfLife | 保质期 | int | _function case '{{details.FMaterialId_FExpPeriod}}' when '0' then '' else {{details.FMaterialId_FExpPeriod}} end | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
| 15.5.6 | shelfLiftUnit | 保质期单位 | string | _findCollection find FExpUnit from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.FMaterialID_FNumber}} | Required | 匹配货品信息的外部货品编号(按skuId>outSkuCode>skuBarcode匹配顺序,必传一个) |
No parameter reference available
The 金蝶云星空分步式调入单对接吉客云其他入库信新增-资产建模 API (erp.stock.createandstockin) of 吉客云 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 吉客云 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.