Á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_DESCSB5'][1]['B5_ECDESCR']",
    "technicalspecification": "&self:oPublica['SB5'][1]['B1B5_DESCECDESCR']",
    "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_MSBLQL'] == '2' .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": "&self:oPublica['SB5'][1]['B5_PESO']",
    "height": "&self:oPublica['SB5'][1]['B5_ALTURA']",
    "width": "&self:oPublica['SB5'][1]['B5_ECLARGU']",
    "depth": "&self:oPublica['SB5'][1]['B5_ECPROFU']",
    "kit": "",
    "variations": [
        {
            "TableNode": "GRADE",
            "name": "&self:oPublica['GRADE'][nItem]['BV_DESCTAB']",
            "value": "&self:oPublica['GRADE'][nItem]['BV_DESCRI']"
        }
    ]
}

...