{
    "idDS":  "Tiers_code",
    "TableRE":  "FOURNISSEUR",
    "Webformgroup":  null,
    "DS":  "DS_FOURNISSEUR",
    "Titre":  "Fournisseurs",
    "id":  "fournisseur",
    "U_timestamp":  [
                        0,
                        0,
                        0,
                        0,
                        0,
                        81,
                        244,
                        122
                    ],
    "pieceJoint":  true,
    "TitreOnglet":  null,
    "Drawer":  false,
    "Onglet":  false,
    "SubTitle":  "Fournisseur",
    "Detail":  null,
    "TableRE_Detail":  null,
    "Config":  {
                   "type":  "div",
                   "children":  [
                                    {
                                        "type":  "tab",
                                        "width":  "12",
                                        "children":  [
                                                         {
                                                             "label":  "Fournisseur",
                                                             "children":  [
                                                                              {
                                                                                  "type":  "div",
                                                                                  "width":  "12",
                                                                                  "children":  [
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_code",
                                                                                                       "label":  "Code",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_RS",
                                                                                                       "label":  "Raison sociale",
                                                                                                       "type":  "Input",
                                                                                                       "width":  "9",
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Tiers_XPayeur",
                                                                                                       "label":  "Fournisseur Payeur",
                                                                                                       "type":  "search",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "Founisseur",
                                                                                                       "TableRE_ChampRetour":  "Tiers_code",
                                                                                                       "TableRE_ChampRetourAffichage":  "Tiers_RS"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "XMin_cmd",
                                                                                                       "label":  "Minimum de commande",
                                                                                                       "type":  "decimal",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "XFranco_port",
                                                                                                       "label":  "Franco de Port",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_xPrefixeSKU",
                                                                                                       "label":  "Prefixe SKU",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_MF",
                                                                                                       "label":  "Siret",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline",
                                                                                                       "required":  "true"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Tiers_Xfacturé",
                                                                                                       "label":  "Fournisseur Facturé",
                                                                                                       "type":  "search",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "Founisseur",
                                                                                                       "TableRE_ChampRetour":  "Tiers_code",
                                                                                                       "TableRE_ChampRetourAffichage":  "Tiers_RS"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_xEstFrsFraisGeneraux",
                                                                                                       "label":  "Fournisseur Frais Généraux",
                                                                                                       "type":  "checkbox",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "Founisseur",
                                                                                                       "TableRE_ChampRetour":  "Tiers_code",
                                                                                                       "TableRE_ChampRetourAffichage":  "Tiers_RS"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_xEstFabricant",
                                                                                                       "label":  "Marque",
                                                                                                       "type":  "checkbox",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "XFour_frais_Facturation",
                                                                                                       "label":  "Frais de facturation",
                                                                                                       "type":  "decimal",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Tiers_XTypologie",
                                                                                                       "label":  "Typologie ",
                                                                                                       "type":  "select",
                                                                                                       "width":  3,
                                                                                                       "param":  "0105"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "XTiers_NAF",
                                                                                                       "label":  "NAF",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_TVA",
                                                                                                       "label":  "TVA",
                                                                                                       "type":  "decimal",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_Contact_Fonction",
                                                                                                       "label":  "Fonction",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_Contact_Mobile",
                                                                                                       "label":  "Téléphone",
                                                                                                       "type":  "decimal",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_Contact_mail",
                                                                                                       "label":  "Email",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_Adresse",
                                                                                                       "label":  "Adresse 1",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "XAdresse2",
                                                                                                       "label":  "Adresse 2",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                    {
                                                                                                        "table":  "DDB.dbo.Tiers",
                                                                                                        "champs":  "Tiers_CP",
                                                                                                        "label":  "Code Postal",
                                                                                                        "type":  "search",
                                                                                                        "class_label":  "underline",
                                                                                                        "width":  3,
                                                                                                        "tableRE_Code":  "API_CodePostal",
                                                                                                        "TableRE_ChampRetour":  "XCodePostal_Code",
                                                                                                        "TableRE_ChampRetourAffichage":  "XCodePostal_Code",
                                                                                                        "TableRE_ChampRetourExtra": "{ \"Tiers_Ville\" : \"XCodePostal_Libelle\" }"
                                                                                                    },
                                                                                                    {
                                                                                                        "table":  "DDB.dbo.Tiers",
                                                                                                        "champs":  "Tiers_Ville",
                                                                                                        "label":  "Ville",
                                                                                                        "type":  "Input",
                                                                                                        "width":  3,
                                                                                                        "class_label":  "underline",
                                                                                                        "readonly":  true
                                                                                                    },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Tiers_Pays",
                                                                                                       "label":  "Pays",
                                                                                                       "type":  "search",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "Pays",
                                                                                                       "TableRE_ChampRetour":  "Pays",
                                                                                                       "TableRE_ChampRetourAffichage":  "Pays",
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "XTier_Classement",
                                                                                                       "label":  "Classement",
                                                                                                       "type":  "search",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "classement",
                                                                                                       "TableRE_ChampRetour":  "DiverSys_Index",
                                                                                                       "TableRE_ChampRetourAffichage":  "DiverSys_Libelle"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "XTier_Activite",
                                                                                                       "label":  "Activité",
                                                                                                       "type":  "search-add",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "Activite",
                                                                                                       "TableRE_ChampRetour":  "Nom_Activite",
                                                                                                       "TableRE_ChampRetourAffichage":  "Nom_Activite",
                                                                                                       "class_label":  "underline"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Date_Create",
                                                                                                       "label":  "Crée le",
                                                                                                       "type":  "datetime-local",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline",
                                                                                                       "readonly":  true
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "User_Id_Create",
                                                                                                       "label":  "crée par",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline",
                                                                                                       "readonly":  true
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "Date_Modif",
                                                                                                       "label":  "modifié le",
                                                                                                       "type":  "datetime-local",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline",
                                                                                                       "readonly":  true
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.Tiers",
                                                                                                       "champs":  "User_Id_Modif",
                                                                                                       "label":  "modifié par",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "class_label":  "underline",
                                                                                                       "readonly":  true
                                                                                                   }
                                                                                               ]
                                                                              }
                                                                          ]
                                                         },
                                                         {
                                                             "label":  "Finance",
                                                             "width":  "12",
                                                             "children":  [
                                                                              {
                                                                                  "type":  "div",
                                                                                  "children":  [
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "ModeReg_Code",
                                                                                                       "label":  "Mode de règlement",
                                                                                                       "type":  "search",
                                                                                                       "width":  3,
                                                                                                       "tableRE_Code":  "ModeReg",
                                                                                                       "TableRE_ChampRetour":  "ModeReg_Code",
                                                                                                       "TableRE_ChampRetourAffichage":  "ModeReg_Libelle"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Tiers_Banque_RIB",
                                                                                                       "label":  "RIB",
                                                                                                       "type":  "decimal",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Reg_Montant",
                                                                                                       "label":  "Solde",
                                                                                                       "type":  "Input",
                                                                                                       "width":  3,
                                                                                                       "readonly":  "true"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "Reg_DateEcheance",
                                                                                                       "label":  "Délai reglement",
                                                                                                       "type":  "date",
                                                                                                       "width":  3
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "XMAJ_Tarif",
                                                                                                       "label":  "Périodicité MAJ tarifs",
                                                                                                       "type":  "select",
                                                                                                       "width":  3,
                                                                                                       "param":  "PeriodMAJ"
                                                                                                   },
                                                                                                   {
                                                                                                       "table":  "DDB.dbo.G_Tiers",
                                                                                                       "champs":  "XDateMAJ_Tarif",
                                                                                                       "label":  "Dernière date de MAJ tarifs",
                                                                                                       "type":  "date",
                                                                                                       "width":  3
                                                                                                   }
                                                                                               ]
                                                                              }
                                                                          ]
                                                         },
                                                         {
                                                             "label":  "Contact",
                                                             "children":  [
                                                                              {
                                                                                  "type":  "div",
                                                                                  "children":  [
                                                                                                   {
                                                                                                       "type":  "table",
                                                                                                       "width":  "12",
                                                                                                       "table":  "TiersC",
                                                                                                       "ds":  "TiersC",
                                                                                                       "idDS":  "TiersC_Id",
                                                                                                       "children":  [
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Civilite",
                                                                                                                            "label":  "Civilité",
                                                                                                                            "type":  "search",
                                                                                                                            "tableRE_Code":  "DiverSys\u0026param=CIVILITE",
                                                                                                                            "TableRE_ChampRetour":  "DiverSys_Index",
                                                                                                                            "TableRE_ChampRetourAffichage":  "DiverSys_Libelle",
                                                                                                                            "width":  50
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Nom",
                                                                                                                            "label":  "Nom",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  100
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_PreNom",
                                                                                                                            "label":  "Prénom",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  100
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Fonction",
                                                                                                                            "label":  "Fonction",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  60
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Mail",
                                                                                                                            "label":  "Email",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  150
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Mobile",
                                                                                                                            "label":  "Tél Mobile",
                                                                                                                            "type":  "decimal",
                                                                                                                            "width":  100
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_xService",
                                                                                                                            "label":  "Service",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  100
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "TiersC_Tel",
                                                                                                                            "label":  "Tél Fixe",
                                                                                                                            "type":  "decimal",
                                                                                                                            "width":  150
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "XActivite",
                                                                                                                            "label":  "Activite",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  150
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "XRattachement",
                                                                                                                            "label":  "Rattachement",
                                                                                                                            "type":  "search",
                                                                                                                            "width":  150,
                                                                                                                            "tableRE_Code":  "API_rattachement",
                                                                                                                            "TableRE_ChampRetour":  "DiverSys_Index",
                                                                                                                            "TableRE_ChampRetourAffichage":  "DiverSys_Libelle"
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "Date_Create",
                                                                                                                            "label":  "Date de création",
                                                                                                                            "type":  "date",
                                                                                                                            "width":  150,
                                                                                                                            "readonly":  true
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "Date_Modif",
                                                                                                                            "label":  "Date de modification",
                                                                                                                            "type":  "date",
                                                                                                                            "width":  150,
                                                                                                                            "readonly":  true
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "User_Id_Create",
                                                                                                                            "label":  "Crée par",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  "100",
                                                                                                                            "readonly":  true
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "TiersC",
                                                                                                                            "champs":  "User_Id_Modif",
                                                                                                                            "label":  "Modifié par",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  "100",
                                                                                                                            "readonly":  true
                                                                                                                        }
                                                                                                                    ]
                                                                                                   }
                                                                                               ]
                                                                              }
                                                                          ]
                                                         },
                                                         {
                                                             "label":  "Plan d’approvisionnement",
                                                             "children":  [
                                                                              {
                                                                                  "type":  "div",
                                                                                  "children":  [
                                                                                                   {
                                                                                                       "type":  "table",
                                                                                                       "width":  "12",
                                                                                                       "table":  "XTiersPlanAppro",
                                                                                                       "ds":  "XTiersPlanAppro",
                                                                                                       "idDS":  "id",
                                                                                                       "children":  [
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "Soc_Nom",
                                                                                                                            "label":  "Filiale",
                                                                                                                            "type":  "search",
                                                                                                                            "width":  200,
                                                                                                                            "tableRE_Code":  "API_Societe",
                                                                                                                            "TableRE_ChampRetour":  "Soc_Nom",
                                                                                                                            "TableRE_ChampRetourAffichage":  "Soc_Nom"
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "Soc_Nom_Intermediare",
                                                                                                                            "label":  "Filaile distributrice",
                                                                                                                            "type":  "search",
                                                                                                                            "width":  200,
                                                                                                                            "tableRE_Code":  "API_Societe",
                                                                                                                            "TableRE_ChampRetour":  "Soc_Nom",
                                                                                                                            "TableRE_ChampRetourAffichage":  "Soc_Nom"
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "Date_Create",
                                                                                                                            "label":  "Date de création",
                                                                                                                            "type":  "date",
                                                                                                                            "width":  200,
                                                                                                                            "readonly":  true
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "Date_Modif",
                                                                                                                            "label":  "Date de modification",
                                                                                                                            "type":  "date",
                                                                                                                            "width":  200,
                                                                                                                            "readonly":  true
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "User_Id_Create",
                                                                                                                            "label":  "Crée par",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  "100",
                                                                                                                            "readonly":  "100"
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "XTiersPlanAppro",
                                                                                                                            "champs":  "User_Id_Modif",
                                                                                                                            "label":  "Modifié par",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  "100",
                                                                                                                            "readonly":  true
                                                                                                                        }
                                                                                                                    ]
                                                                                                   }
                                                                                               ]
                                                                              }
                                                                          ]
                                                         },
                                                         {
                                                             "label":  "Code tarifs",
                                                             "children":  [
                                                                              {
                                                                                  "type":  "div",
                                                                                  "children":  [
                                                                                                   {
                                                                                                       "type":  "table",
                                                                                                       "width":  "12",
                                                                                                       "table":  "DDB.dbo.xTarifAchat",
                                                                                                       "ds":  "DDB.dbo.xTarifAchat",
                                                                                                       "idDS":  "id",
                                                                                                       "children":  [
                                                                                                                        {
                                                                                                                            "table":  "DDB.dbo.xTarifAchat",
                                                                                                                            "champs":  "xTarifAchat_Code",
                                                                                                                            "label":  "Code tarif",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  200
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "DDB.dbo.xTarifAchat",
                                                                                                                            "champs":  "xTarifAchat_Type",
                                                                                                                            "label":  "Type",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  200
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "table":  "DDB.dbo.xTarifAchat",
                                                                                                                            "champs":  "xTarifAchat_Commentaire",
                                                                                                                            "label":  "Commentaire",
                                                                                                                            "type":  "Input",
                                                                                                                            "width":  "300"
                                                                                                                        }
                                                                                                                    ]
                                                                                                   }
                                                                                               ]
                                                                              }
                                                                          ]
                                                         }
                                                     ]
                                    }
                                ]
               },
    "Table_Name":  "DDB.dbo.Tiers"
}