Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleLayout Envio
{
    "token": "&Self:cToken",
    "name": "&self:oPublica['B1_DESC']",
    "description": "&self:oPublica['B1_DESC']",
    "technicalspecification": "&self:oPublica['B1_DESC']",
    "order": 1,
    "code": "&self:oPublica['B1_COD']",
    "classification_code": "&self:oPublica['ACV'][1]['ACV_CATEGO']",
    "type": "&IIF( self:oPublica['B1_TIPO'] == 'KT', 'KIT', 'product')",
    "status": "&IIF( self:oPublica['B1_ATIVOMSBLQL'] == 'S2' .and. self:cEvento == '1', 1, 0)",     
    "measurementunit_code": "&self:oPublica['B1_UM']",
    "parent": "",
    "mark_code": "&self:oPublica['SB5'][1]['B5_MARCA']",
    "images": "",
    "fractions": "",
    "stocksimple": "",
    "sku": "&self:oPublica['B1_COD']",
    "gtin": "&self:oPublica['B1_CODGTIN']",
    "ncm": "&self:oPublica['B1_POSIPI']",
    "weight": "",
    "height": "",
    "width": "",
    "depth": "",
    "kit": "",
    "variations": [
        {
            "TableNode": "GRADE",
            "name": "&self:oPublica['GRADE'][nItem]['BV_DESCTAB']",
            "value": "&self:oPublica['GRADE'][nItem]['BV_DESCRI']"
        }
    ]
}

...