{
    "idDS":  "xTarifAchat_Id",
    "TableRE":  "API_TarifAchat",
    "Webformgroup":  null,
    "DS":  "DS_TarifAchat",
    "Titre":  "Tarifs Achat",
    "id":  "TarifsAchat",
    "U_timestamp":  [
                        0,
                        0,
                        0,
                        0,
                        0,
                        82,
                        97,
                        218
                    ],
    "pieceJoint":  true,
    "TitreOnglet":  null,
    "Drawer":  false,
    "Onglet":  false,
    "SubTitle":  "",
    "Detail":  null,
    "TableRE_Detail":  null,
    "Config":  {
                   "type":  "div",
                   "children":  [
                                    {
                                        "type":  "div",
                                        "width":  "12",
                                        "children":  [
                                                         {
                                                             "table":  "DDB.dbo.xTarifAchat",
                                                             "champs":  "Tiers_code",
                                                             "label":  "Fournisseur",
                                                             "type":  "search",
                                                             "width":  "3",
                                                             "tableRE_Code":  "fournisseurs",
                                                             "TableRE_ChampRetour":  "Tiers_code",
                                                             "TableRE_ChampRetourAffichage":  "Tiers_code"
                                                         },
                                                         {
                                                             "table":  "DDB.dbo.xTarifAchat",
                                                             "champs":  "xTarifAchat_Code",
                                                             "label":  "Code tarif",
                                                             "type":  "Input",
                                                             "width":  "3"
                                                         },
                                                         {
                                                             "table":  "DDB.dbo.xTarifAchat",
                                                             "champs":  "xTarifAchat_Type",
                                                             "label":  "Type",
                                                             "type":  "select",
                                                             "width":  "3",
                                                             "TableRE_ChampRetour":  "DiverSys_Index",
                                                             "TableRE_ChampRetourAffichage":  "DiverSys_Libelle",
                                                             "tableRE_Code":  "ModeCalculPv"
                                                         },
                                                         {
                                                             "table":  "DDB.dbo.xTarifAchat",
                                                             "champs":  "xTarifAchat_Commentaire",
                                                             "label":  "Commentaire",
                                                             "type":  "textarea",
                                                             "width":  "3",
                                                             "children":  [

                                                                          ]
                                                         },
                                                         {
                                                             "type":  "table",
                                                             "table":  "DDB.dbo.xTarifAchatSoc",
                                                             "width":  "12",
                                                             "children":  [
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatSoc",
                                                                                  "champs":  "Soc_Code",
                                                                                  "label":  "Filialle de référence",
                                                                                  "type":  "search",
                                                                                  "width":  "150",
                                                                                  "TableRE_ChampRetour":  "Soc_Nom",
                                                                                  "TableRE_ChampRetourAffichage":  "Soc_Nom",
                                                                                  "tableRE_Code":  "API_Societe"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatSoc",
                                                                                  "champs":  "xTarifAchatSoc_CoeffMarge",
                                                                                  "label":  "Coeff Marge",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatSoc",
                                                                                  "champs":  "xTarifAchatSoc_CoeffFA",
                                                                                  "label":  "Coeff FA",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatSoc",
                                                                                  "champs":  "xTarifAchatSoc_CoeffFD",
                                                                                  "label":  "Coeff FD",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatSoc",
                                                                                  "champs":  "xTarifAchatSoc_QteMin",
                                                                                  "label":  "Qté mini",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              }
                                                                          ]
                                                         },
                                                         {
                                                             "type":  "table",
                                                             "table":  "DDB.dbo.xTarifAchatD",
                                                             "width":  "12",
                                                             "children":  [
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatD",
                                                                                  "champs":  "Soc_Code",
                                                                                  "label":  "Filialle",
                                                                                  "type":  "search",
                                                                                  "width":  "150",
                                                                                  "TableRE_ChampRetour":  "Soc_Nom",
                                                                                  "TableRE_ChampRetourAffichage":  "Soc_Nom",
                                                                                  "tableRE_Code":  "API_Societe"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatD",
                                                                                  "champs":  "xTarifAchatD_Rem1",
                                                                                  "label":  "Remise 1%",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatD",
                                                                                  "champs":  "xTarifAchatD_Rem2",
                                                                                  "label":  "Remise 2%",
                                                                                  "type":  "Input",
                                                                                  "width":  "100"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatD",
                                                                                  "champs":  "xTarifAchatD_DateDebut",
                                                                                  "label":  "Date début",
                                                                                  "type":  "date",
                                                                                  "width":  "150"
                                                                              },
                                                                              {
                                                                                  "table":  "DDB.dbo.xTarifAchatD",
                                                                                  "champs":  "xTarifAchatD_DateFin",
                                                                                  "label":  "Date fin",
                                                                                  "type":  "date",
                                                                                  "width":  "150"
                                                                              }
                                                                          ]
                                                         }
                                                     ]
                                    }
                                ]
               },
    "Table_Name":  "xTarifAchat"
}