{
    "idDS":  "Reg_Num",
    "TableRE":  "Reglement",
    "Webformgroup":  null,
    "DS":  "DS_Reglement",
    "Titre":  "Encaissement Client",
    "id":  "Encaissement",
    "U_timestamp":  [
                        0,
                        0,
                        0,
                        0,
                        0,
                        81,
                        228,
                        217
                    ],
    "pieceJoint":  true,
    "TitreOnglet":  null,
    "Drawer":  false,
    "Onglet":  false,
    "SubTitle":  "Encaissement Client",
    "Detail":  null,
    "TableRE_Detail":  null,
    "Config":  {
                   "type":  "div",
                   "children":  [
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Num",
                                        "label":  "Règlement N°",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Type",
                                        "label":  "Code",
                                        "type":  "search",
                                        "width":  "4",
                                        "tableRE_Code":  "RegType",
                                        "TableRE_ChampRetour":  "RegT_Code",
                                        "TableRE_ChampRetourAffichage":  "RegT_Code"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Status",
                                        "label":  "Statut",
                                        "type":  "select",
                                        "tableRE_Code":  "Statutreg",
                                        "TableRE_ChampRetour":  "DiverSys_Libelle",
                                        "TableRE_ChampRetourAffichage":  "DiverSys_Libelle",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_DateReglement",
                                        "label":  "Date",
                                        "type":  "date",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_DateEcheance",
                                        "label":  "Date Échéance ",
                                        "type":  "date",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Caisse",
                                        "label":  "Utilisateur",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Tiers_code",
                                        "label":  "Tiers",
                                        "type":  "search",
                                        "width":  "4",
                                        "tableRE_Code":  "CLIENT",
                                        "TableRE_ChampRetour":  "Tiers_Code",
                                        "TableRE_ChampRetourAffichage":  "Tiers_Code"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Ref1",
                                        "label":  "Ref",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Devise_Code",
                                        "label":  "Devise",
                                        "type":  "search",
                                        "width":  "4",
                                        "tableRE_Code":  "Devises",
                                        "TableRE_ChampRetour":  "Devise_Code",
                                        "TableRE_ChampRetourAffichage":  "Devise_Code"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Tiers_RS",
                                        "label":  "RS",
                                        "type":  "Input",
                                        "width":  "8"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Devise_Cours",
                                        "label":  "Cours",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Site_Code",
                                        "label":  "Site",
                                        "type":  "search",
                                        "width":  "4",
                                        "tableRE_Code":  "SITES",
                                        "TableRE_ChampRetour":  "Site_Code",
                                        "TableRE_ChampRetourAffichage":  "Site_Code"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Banque",
                                        "label":  "Banque",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Ref",
                                        "label":  "Référence ",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Montant",
                                        "label":  "Montant Total ",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_MontantReg",
                                        "label":  "Référence Reg",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_MontantRetenue",
                                        "label":  "Référence  Retenu",
                                        "type":  "Input",
                                        "width":  "4"
                                    },
                                    {
                                        "table":  "Reglement",
                                        "champs":  "Reg_Label",
                                        "label":  "Libellé ",
                                        "type":  "Input",
                                        "width":  "8"
                                    },
                                    {
                                        "type":  "div",
                                        "groupe":  "Détails",
                                        "children":  [
                                                         {
                                                             "type":  "table",
                                                             "table":  "ReglementD",
                                                             "width":  "12",
                                                             "idDS":  "Reg_Num",
                                                             "DS":  "DS_Reglement",
                                                             "children":  [
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "Doc_Num",
                                                                                  "label":  "Num",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_Montant",
                                                                                  "label":  "Montant",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "Devise_Code",
                                                                                  "label":  "Devise",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_Devise_Cours",
                                                                                  "label":  "Cours",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_Annexe",
                                                                                  "label":  "Annexe",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_Type",
                                                                                  "label":  "Type  Montant",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_BaseRet",
                                                                                  "label":  "Base Retenue",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_TxRet",
                                                                                  "label":  "Taux Retenue",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "ReglementD",
                                                                                  "champs":  "RegD_MontantRet",
                                                                                  "label":  "Montant Retenue",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              }
                                                                          ]
                                                         }
                                                     ]
                                    },
                                    {
                                        "type":  "div",
                                        "groupe":  "Banque",
                                        "children":  [
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_Banque",
                                                             "label":  "Banque",
                                                             "type":  "Input",
                                                             "width":  "4"
                                                         },
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_BorBanque",
                                                             "label":  "Bor Banque N°",
                                                             "type":  "Input",
                                                             "width":  "4"
                                                         },
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_Bor",
                                                             "label":  "Bor N°",
                                                             "type":  "Input",
                                                             "width":  "4"
                                                         },
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_DateRemise",
                                                             "label":  "Date Remise",
                                                             "type":  "date",
                                                             "width":  "4",
                                                             "readonly":  "true"
                                                         },
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_DateEncaisse",
                                                             "label":  "Date Encaissement",
                                                             "type":  "date",
                                                             "width":  "4",
                                                             "readonly":  "true"
                                                         },
                                                         {
                                                             "table":  "Reglement",
                                                             "champs":  "Reg_DateImpaye",
                                                             "label":  "Date Impayé ",
                                                             "type":  "date",
                                                             "width":  "4",
                                                             "readonly":  "true"
                                                         }
                                                     ]
                                    }
                                ]
               },
    "Table_Name":  "Reglement"
}