{
"body": {
"code": "IC-CHIP-5NM",
"name": "5纳米制程芯片",
"categoryCode": "SEMI-IC",
"unit": "PCS",
"type": "MATERIALS",
"allowSale": 0,
"allowPurchase": 1,
"allowProduction": 1,
"allowOutsource": 0,
"auditStatus": "AUDITED",
"status": "ENABLE",
"attributes": [
{
"code": "PACKAGE-005",
"key": "package_type",
"value": "BGA256"
},
{
"code": "TEMP-RANGE-003",
"key": "operating_temp",
"value": "-40℃~125℃"
}
],
"inventoryAttributes": {
"abcCategory": 1,
"cost": 22,
"defaultWarehouseCode": "WH-SEMI-01",
"defaultWarehouseLocation": "WH-SEMI-01-A001",
"enableFifoScanCheck": true,
"enableInteger": 1,
"fifo": "DOWN",
"fifoRule": "1",
"integerWay": 1,
"maxInventory": 50000,
"minInventory": 5000,
"minPackQuantity": 0,
"realCostPrice": 3,
"rePurchasePoint": null,
"safetyInventory": 10000,
"shelfLife": 730,
"snType": "CATEGORY",
"useBatch": true,
"useKey": true,
"useLockInventory": false,
"useOverdueMessage": true,
"useSafetyInventory": true,
"useSN": true
},
"itemAssistUnits": [
{
"assistToBaseRatioVal": 100,
"baseToAssistRatioVal": 0.01,
"unitCode": "TRAY"
}
],
"itemAttachmentAttributes": {
"attachments": [
{
"name": "技术规格书.pdf",
"size": 2048000,
"type": "TECH_DOC",
"url": "https://docs.xxx.com/IC-CHIP-5NM-spec.pdf"
}
],
"blueprints": [
{
"name": "封装设计图.dwg",
"size": 5120000,
"type": "BLUEPRINT",
"url": "https://design.xxx.com/IC-CHIP-5NM.dwg"
}
],
"comments": ""
},
"itemCustomizeFields": {
"key": {}
},
"itemQualityInspectionAttributes": {
"procurementInspectionScheme": "IC-AQL-LEVEL-II",
"procurementInspectionStandard": "IPC-A-610 Class 3",
"useProcurementInspection": true
},
"itemSpecificationConfigParams": [
{
"key": "规格",
"valueSet": [],
"valuesFrom": "CUSTOM"
}
],
"itemSupplyChainAttributes": {
"isConfigurable": false,
"overDeliveryRate": 0.03,
"overReceiveRate": 0.05,
"procurementPrice": 15.8,
"procurementPriceType": "INCLUDE_TAX_PRICE",
"procurementTax": 13,
"salePrice": 25,
"salePriceType": "INCLUDE_TAX_PRICE",
"saleTax": 13
},
"itemUnit": {
"inventoryUnit": "PCS",
"jbkUnit": "G",
"productionUnit": "G",
"purchaseUnit": "PCS",
"saleUnit": "PCS"
},
"itemUnitParam": {
"baseToInventoryQuantity": 1,
"baseToProductionQuantity": 1,
"baseToPurchaseQuantity": 1,
"baseToSaleQuantity": 1,
"baseUnitName": "PCS",
"inventoryToBaseQuantity": 1,
"inventoryUnitName": "PCS",
"jbkToProductionQuantity": 1000,
"jbkUnitName": "G",
"productionToBaseQuantity": 1000,
"productionToJbkQuantity": 1,
"productionUnitName": "G",
"purchaseToBaseQuantity": 1,
"purchaseUnitName": "PCS",
"saleToBaseQuantity": 1,
"saleUnitName": "PCS"
},
"manufactureAttributes": {
"batchSize": 500,
"dailyProduction": 10000,
"defectiveRate": 0.01,
"incrementSize": 100,
"planBatchSize": 1000,
"planStrategy": "MTO"
},
"updateItemSpecificationConfig": false
}
}
curl --location --request POST 'https://sit.newcoretech.com/api/open/v3/items/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "IC-CHIP-5NM",
"name": "5纳米制程芯片",
"categoryCode": "SEMI-IC",
"unit": "PCS",
"type": "MATERIALS",
"allowSale": 0,
"allowPurchase": 1,
"allowProduction": 1,
"allowOutsource": 0,
"auditStatus": "AUDITED",
"status": "ENABLE",
"attributes": [
{
"code": "PACKAGE-005",
"key": "package_type",
"value": "BGA256"
},
{
"code": "TEMP-RANGE-003",
"key": "operating_temp",
"value": "-40℃~125℃"
}
],
"inventoryAttributes": {
"abcCategory": 1,
"cost": 22,
"defaultWarehouseCode": "WH-SEMI-01",
"defaultWarehouseLocation": "WH-SEMI-01-A001",
"enableFifoScanCheck": true,
"enableInteger": 1,
"fifo": "DOWN",
"fifoRule": "1",
"integerWay": 1,
"maxInventory": 50000,
"minInventory": 5000,
"minPackQuantity": 0,
"realCostPrice": 3,
"rePurchasePoint": null,
"safetyInventory": 10000,
"shelfLife": 730,
"snType": "CATEGORY",
"useBatch": true,
"useKey": true,
"useLockInventory": false,
"useOverdueMessage": true,
"useSafetyInventory": true,
"useSN": true
},
"itemAssistUnits": [
{
"assistToBaseRatioVal": 100,
"baseToAssistRatioVal": 0.01,
"unitCode": "TRAY"
}
],
"itemAttachmentAttributes": {
"attachments": [
{
"name": "技术规格书.pdf",
"size": 2048000,
"type": "TECH_DOC",
"url": "https://docs.xxx.com/IC-CHIP-5NM-spec.pdf"
}
],
"blueprints": [
{
"name": "封装设计图.dwg",
"size": 5120000,
"type": "BLUEPRINT",
"url": "https://design.xxx.com/IC-CHIP-5NM.dwg"
}
],
"comments": ""
},
"itemCustomizeFields": {
"key": {}
},
"itemQualityInspectionAttributes": {
"procurementInspectionScheme": "IC-AQL-LEVEL-II",
"procurementInspectionStandard": "IPC-A-610 Class 3",
"useProcurementInspection": true
},
"itemSpecificationConfigParams": [
{
"key": "规格",
"valueSet": [],
"valuesFrom": "CUSTOM"
}
],
"itemSupplyChainAttributes": {
"isConfigurable": false,
"overDeliveryRate": 0.03,
"overReceiveRate": 0.05,
"procurementPrice": 15.8,
"procurementPriceType": "INCLUDE_TAX_PRICE",
"procurementTax": 13,
"salePrice": 25,
"salePriceType": "INCLUDE_TAX_PRICE",
"saleTax": 13
},
"itemUnit": {
"inventoryUnit": "PCS",
"jbkUnit": "G",
"productionUnit": "G",
"purchaseUnit": "PCS",
"saleUnit": "PCS"
},
"itemUnitParam": {
"baseToInventoryQuantity": 1,
"baseToProductionQuantity": 1,
"baseToPurchaseQuantity": 1,
"baseToSaleQuantity": 1,
"baseUnitName": "PCS",
"inventoryToBaseQuantity": 1,
"inventoryUnitName": "PCS",
"jbkToProductionQuantity": 1000,
"jbkUnitName": "G",
"productionToBaseQuantity": 1000,
"productionToJbkQuantity": 1,
"productionUnitName": "G",
"purchaseToBaseQuantity": 1,
"purchaseUnitName": "PCS",
"saleToBaseQuantity": 1,
"saleUnitName": "PCS"
},
"manufactureAttributes": {
"batchSize": 500,
"dailyProduction": 10000,
"defectiveRate": 0.01,
"incrementSize": 100,
"planBatchSize": 1000,
"planStrategy": "MTO"
},
"updateItemSpecificationConfig": false
}
}'
{
"code": 0,
"message": ""
}