diff --git a/jsonschema/schemas/MRPProduct_1_000.json b/jsonschema/schemas/MRPProduct_1_000.json index 47ca13d5b..71fd957db 100644 --- a/jsonschema/schemas/MRPProduct_1_000.json +++ b/jsonschema/schemas/MRPProduct_1_000.json @@ -487,48 +487,59 @@ } ] }, - "defaultRouting": { - "description": "Roteiro padrão", + "code": { + "description": "Id Produto", "type": "string", - "maxLength": 2, "x-totvs": [ { "product": "PROTHEUS", - "field": "HWA.HWA_ROTOPE", - "required": false, - "type": "Char", - "length": "2", + "field": "HWA.HWA_IDREG", + "required": true, + "format": "char", + "length": "200", "available": true, "canUpdate": false } ] }, - "costCenterForCosting": { - "description": "Centro Custo", + "listOfLeadTimeTransfer": { + "type": "array", + "description": "Lista de lead times de produtos por filial", + "items": { + "$ref": "#/definitions/MRPProductTrasnferLeadTime" + } + } + } + }, + "MRPProductTrasnferLeadTime": { + "type": "object", + "properties": { + "branchId": { + "description": "Código da filial", "type": "string", - "maxLength": 9, + "maxLength": 2, "x-totvs": [ { "product": "PROTHEUS", - "field": "HWA.HWA_CCUSTO", + "field": "SMI.MI_FILIAL", "required": false, "type": "Char", - "length": "9", + "length": "2", "available": true, "canUpdate": false } ] }, - "code": { - "description": "Id Produto", - "type": "string", + "productTransferLeadTime": { + "description": "Lead time de transferência do produto", + "type": "number", "x-totvs": [ { "product": "PROTHEUS", - "field": "HWA.HWA_IDREG", + "field": "SMI.MI_LEADTR", "required": true, - "format": "char", - "length": "200", + "type": "integer", + "length": "5", "available": true, "canUpdate": false }