"createDynamicFormFields": [
{
"gridColumns": 6,
"property": "tributeType",
"options": [
{
"label": "CBS",
"value": 1
},
{
"label": "IBS Mun",
"value": 2
},
{
"label": "IBS UF",
"value": 3
},
{
"label": "IS",
"value": 4
}
],
"disabled": false,
"label": "Tributo",
"type": "label",
"key": true,
"required": true,
"labels": [
{
"color": "color-10",
"tooltip": "Contribuição sobre bens e serviço",
"label": "CBS",
"value": 1
},
{
"color": "color-01",
"tooltip": "Imposto sobre Bens e serviço (Município)",
"label": "IBS MUN",
"value": 2
},
{
"color": "color-05",
"tooltip": "Imposto sobre Bens e serviço (Estadual)",
"label": "IBS UF",
"value": 3
},
{
"color": "color-08",
"tooltip": "Imposto Seletivo",
"label": "IS",
"value": 4
}
]
},
{
"gridColumns": 6,
"divider": "Informações principais",
"property": "dateValidIni",
"disabled": false,
"label": "Data inicio Validade",
"placeholder": "Data de Validade",
"type": "date",
"required": true
},
{
"gridColumns": 6,
"property": "documentType",
"options": [
{
"label": "Entrada",
"value": 1
},
{
"label": "Saida",
"value": 2
}
],
"disabled": false,
"label": "Tipo Documento",
"type": "label",
"required": true,
"labels": [
{
"color": "color-10",
"tooltip": "Documento de entrada",
"label": "Entrada",
"value": 1
},
{
"color": "color-01",
"tooltip": "Documento de saida",
"label": "Saida",
"value": 2
}
]
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/establishmentsPublic?acceptAsterisk=true",
"columns": [
{
"property": "code",
"label": "Código",
"type": "string"
},
{
"property": "name",
"label": "Nome",
"type": "string"
}
],
"fieldLabel": "name",
"property": "codEstab",
"format": [
"code",
"name"
],
"disabled": false,
"label": "Estabelecimento",
"placeholder": "Estabelecimento: * para todos",
"fieldValue": "code",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/cfgTransactionType?acceptAsterisk=true",
"columns": [
{
"property": "natOperation",
"label": "Código",
"type": "string"
},
{
"property": "descriptionType",
"label": "Tipo",
"type": "string"
},
{
"property": "description",
"label": "Descrição",
"type": "string"
}
],
"fieldLabel": "description",
"property": "codNaturOperac",
"format": [
"natOperation",
"description"
],
"disabled": false,
"label": "Natureza de Operação",
"placeholder": "Natureza - * para todos",
"fieldValue": "natOperation",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/operationTypesPublic?acceptAsterisk=true",
"columns": [
{
"property": "code",
"label": "Código",
"type": "string"
},
{
"property": "description",
"label": "Descrição",
"type": "string"
},
{
"property": "addIinformation",
"label": "Informações Adicionais",
"type": "string"
}
],
"fieldLabel": "addIinformation",
"property": "codCfop",
"format": [
"code",
"description"
],
"disabled": false,
"label": "CFOP",
"placeholder": "CFOP: * para todos",
"fieldValue": "code",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/serviceCode?acceptAsterisk=true",
"columns": [
{
"property": "code",
"label": "Código",
"type": "string"
},
{
"property": "description",
"label": "Descrição",
"type": "string"
}
],
"fieldLabel": "description",
"property": "codService",
"format": [
"code",
"description"
],
"disabled": false,
"label": "Código de Serviço do Item",
"placeholder": "Código de Serviço do Item: * para padrão",
"fieldValue": "code",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/customerGroupsPublic?acceptAsterisk=true",
"columns": [
{
"property": "code",
"label": "Código",
"type": "string"
},
{
"property": "description",
"label": "Descrição",
"type": "string"
}
],
"fieldLabel": "description",
"property": "codClientGroup",
"format": [
"code",
"description"
],
"disabled": false,
"label": "Grupo de cliente/fornecedor",
"placeholder": "Grupo de cliente: * para todos",
"fieldValue": "code",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/customerPublic?acceptAsterisk=true",
"columns": [
{
"property": "customerCode",
"label": "Código",
"type": "string"
},
{
"property": "customerName",
"label": "Nome",
"type": "string"
}
],
"fieldLabel": "customerName",
"property": "codIssuer",
"format": [
"customerCode",
"customerName"
],
"disabled": false,
"label": "Cliente/Fornecedor",
"placeholder": "Cliente/Fornecedor: * para todos",
"fieldValue": "customerCode",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/product?acceptAsterisk=true",
"columns": [
{
"property": "product",
"label": "Código",
"type": "string"
},
{
"property": "productDescription",
"label": "Nome",
"type": "string"
},
{
"property": "unitMeasure",
"label": "Unidade Medida",
"type": "string"
}
],
"fieldLabel": "unitMeasure",
"property": "codItem",
"format": [
"product",
"productDescription"
],
"disabled": false,
"label": "Item",
"placeholder": "Item: * para todos",
"fieldValue": "product",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v1/fiscalClassification?acceptAsterisk=true",
"columns": [
{
"property": "fiscalClassification",
"label": "Código",
"type": "string"
},
{
"property": "description",
"label": "Descrição",
"type": "string"
}
],
"fieldLabel": "description",
"property": "codNcm",
"format": [
"fiscalClassification",
"description"
],
"disabled": false,
"label": "Classificação Fiscal",
"placeholder": "Classificação Fiscal: * para todos",
"fieldValue": "fiscalClassification",
"required": true
},
{
"gridColumns": 6,
"searchService": "/dts/datasul-rest/resources/prg/cdp/v2/federatedState?acceptAsterisk=true",
"columns": [
{
"property": "code",
"label": "Sigla",
"type": "string"
},
{
"property": "name",
"label": "Cidade",
"type": "string"
},
{
"property": "country",
"label": "Pais",
"type": "string"
}
],
"fieldLabel": "country",
"property": "uf",
"format": [
"code",
"name"
],
"disabled": false,
"label": "Estado",
"placeholder": "Estado: * para todos",
"params": {
"onlyBrasil": true
},
"fieldValue": "code",
"required": true
},
{
"gridColumns": 6,
"property": "city",
"disabled": false,
"label": "Cidade",
"placeholder": "Cidade: * para todos",
"type": "string",
"maxLength": 50,
"required": true
},
{
"thousandMaxlength": 3,
"gridColumns": 6,
"divider": "Alíquotas e Percentuais",
"property": "aliquot",
"optional": true,
"label": "Alíquota",
"type": "currency",
"required": false,
"decimalsLength": 4
},
{
"thousandMaxlength": 3,
"gridColumns": 6,
"property": "reductionPercent",
"optional": true,
"label": "Perc Redução",
"type": "currency",
"required": false,
"decimalsLength": 4
},
{
"thousandMaxlength": 3,
"gridColumns": 6,
"property": " |