Árvore de páginas

Versões comparadas

Chave

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

...

  • Exemplo de Informações Genéricas

    HMSet( oHash, 'm_o_d_e_l_' , 'TAFA062' )
    HMSet( oHash, 'm_o_d_e_l_C_2_0_', 'MODEL_C20' )
    HMSet( oHash, 's_o_u_r_c_e_' , 'TAFA062' )
    HMSet( oHash, 'a_r_e_a_' , 'C20' )
    HMSet( oHash, 'o_r_d_e_r_' , 1 )
    HMSet( oHash, 'k_e_y_' , cKey )
    HMSet( oHash, 's_e_e_k_' , cSeek )
    HMSet( oHash, 't_a_g_i_d_' , 'invoiceId' )

    Para cadastros ou movimentos, na estrutura pai, filho e neto, existem as tags de o model, submodel e submodel2, exemplo na utilização da apuração de ICMS:
    HMSet(oHash, 'm_o_d_e_l_' , 'MODEL_C2S')
    HMSet(oHash, 's_u_b_m_o_d_e_l_' , {{'MODEL_C2T'/*model filho*/,'adjustmentApuration' /* tag filho*/, 'HashC2T()' /* hash filho*/ }} )
    HMSet(oHash, 's_u_b_m_o_d_e_l_2' , {{'adjustmentApuration'/* tag filho*/,'MODEL_T02'/*model neto*/,'accumulatedAdjust'/*tag neto*/, 'HashT02()' /*hash neto*/}} )

  • Exemplo com "de/para"

    Apenas o campo:          SetHashKey(oHashC20, "taxDocumentNumber" , "C20_NUMDOC" )
    Com consulta padrão:  SetHashKey(oHashC20, "participatingCode"       , "C20_CODPAR#F3#")
    Tipo data:                      SetHashKey(oHashC20, "fiscalDocumentDate"    , "C20_DTDOC#DT#" )