{
    "idDS": "Art_Code",
    "TableRE": "article",
    "Webformgroup": null,
    "DS": "DS_Article",
    "Titre": "Articles",
    "id": "article",
    "U_timestamp": [
        0,
        0,
        0,
        0,
        0,
        87,
        208,
        121
    ],
    "pieceJoint": true,
    "TitreOnglet": null,
    "Drawer": false,
    "Onglet": false,
    "SubTitle": "Article",
    "Detail": null,
    "TableRE_Detail": null,
    "Config": {
        "type": "div",
        "buttons": [
            {
                "name": "Stock",
                "style": "flex items-center gap-1 h-8 px-3 text-xs font-medium rounded-md border border-gray-500 text-gray-600 hover:bg-violet-500 hover:border-violet-500 hover:text-white transition",
                "visible": true,
                "fonction": "calc",
                "icon": "fas fa-cubes",
                "dynamicBtn": true,
                "onClick": "Art_OpenTableStock"
            },
            {
                "name": "Codification",
                "style": "flex items-center gap-1 h-8 px-3 text-xs font-medium rounded-md border border-gray-500 text-gray-600 hover:bg-pink-800 hover:border-pink-800 hover:text-white transition",
                "visible": true,
                "fonction": "calc",
                "icon": "fas fa-sort-alpha-up",
                "dynamicBtn": true
            }
        ],
        "children": [
            {
                "type": "tab",
                "width": "12",
                "children": [
                    {
                        "label": "Générale",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "groupe": "Caractéristiques",
                                        "type": "div",
                                        "children": [
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Code",
                                                "label": "SKU",
                                                "type": "Input",
                                                "class_label": "underline",
                                                "width": 3,
                                                "readonly": "true"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Des",
                                                "label": "Désignation",
                                                "type": "Input",
                                                "class_label": "underline",
                                                "width": "5",
                                                "tabIndex": "1",
                                                "class_wrapper": ""
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Des1",
                                                "label": "Désignation2",
                                                "type": "Input",
                                                "class_label": "underline",
                                                "width": 3,
                                                "tabIndex": "3"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Des2",
                                                "label": "Désignation3",
                                                "type": "Input",
                                                "class_label": "underline",
                                                "width": 3,
                                                "tabIndex": "2"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Status",
                                                "label": "Statut",
                                                "type": "select",
                                                "class_label": "underline",
                                                "tableRE_Code": "Statut",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3,
                                                "param": "0000"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "XArt_Cout",
                                                "label": "Coût article",
                                                "type": "decimal",
                                                "class_label": "underline",
                                                "width": 3,
                                                "tabIndex": "-1"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_ModeCalculPV",
                                                "label": "Mode de calcul PV",
                                                "type": "search",
                                                "width": 3,
                                                "class_label": "underline",
                                                "tableRE_Code": "ModeCalculPv",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Id_Activite",
                                                "label": "Activité",
                                                "type": "search",
                                                "class_label": "underline",
                                                "tableRE_Code": "Activite",
                                                "TableRE_ChampRetour": "Id_Activite",
                                                "TableRE_ChampRetourAffichage": "Nom_Activite",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "Art_TVA",
                                                "label": "TVA",
                                                "type": "decimal",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "Art_Poids",
                                                "label": "Poids",
                                                "type": "decimal",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XArt_Original_Filiale",
                                                "label": "Origine filiale",
                                                "type": "search",
                                                "width": 3,
                                                "tableRE_Code": "API_Societe",
                                                "TableRE_ChampRetour": "Soc_Nom",
                                                "TableRE_ChampRetourAffichage": "Soc_Nom",
                                                "readonly": "True"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XDate_Debut_Vie",
                                                "label": "Début de vie",
                                                "type": "date",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XDate_Fin_Vie",
                                                "label": "Fin de vie",
                                                "type": "date",
                                                "width": 3,
                                                "description": "TEST JLB 20082026"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XLibellé_Modifiable",
                                                "label": "Libellé Modifiable",
                                                "type": "checkbox",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XArt_Configurable",
                                                "label": "Article Configurable",
                                                "type": "checkbox",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XArt_FG",
                                                "label": "Article FG",
                                                "type": "checkbox",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "XArtCode_Fournisseur_Referent_Tarif",
                                                "label": "Fournisseur Referent Tarif",
                                                "type": "search",
                                                "width": 3,
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS",
                                                "description": "Ce fournisseur sera la base de mise à jour des tarifs de vente sur cet article"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "XArt_FournisseurPrin",
                                                "label": "Fournisseur principal",
                                                "type": "search",
                                                "width": 3,
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "XFournisseur_Primaire",
                                                "label": "Fournisseur primaire",
                                                "type": "search",
                                                "width": 3,
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            }
                                        ]
                                    },
                                    {
                                        "groupe": "Famille\u0026Sous-Famille",
                                        "type": "div",
                                        "children": [
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "Art_Famille1",
                                                "label": "Famille",
                                                "type": "search",
                                                "tableRE_Code": "Famille",
                                                "TableRE_ChampRetour": "XFamille_Id",
                                                "TableRE_ChampRetourAffichage": "XFamille_Id",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XGroupeRemise_Id",
                                                "label": "Groupe remise article",
                                                "type": "search",
                                                "tableRE_Code": "GrRemiseArt",
                                                "TableRE_ChampRetour": "XGroupeRemise_Id",
                                                "TableRE_ChampRetourAffichage": "XGroupeRemise_Id",
                                                "width": 3,
                                                "TableRE_Filter": "\"XFamille_Id = \u0027\" + ds[\u0027DDB.dbo.Art\u0027][0][\u0027Art_Famille1\u0027] + \"\u0027\""
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XRemFamille",
                                                "label": "Remise Famille %",
                                                "type": "Input",
                                                "tableRE_Code": "",
                                                "TableRE_ChampRetour": "",
                                                "TableRE_ChampRetourAffichage": "",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XRemSousFamille",
                                                "label": "Remise Sous Famille %",
                                                "type": "Input",
                                                "tableRE_Code": "",
                                                "TableRE_ChampRetour": "",
                                                "TableRE_ChampRetourAffichage": "",
                                                "width": 3
                                            }
                                        ]
                                    },
                                    {
                                        "groupe": "Blocage",
                                        "type": "div",
                                        "children": [
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "XBloque",
                                                "class_label": "underline",
                                                "label": "Bloqué",
                                                "type": "checkbox",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XBloque_Achat",
                                                "label": "Bloqué Achat",
                                                "type": "checkbox",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XBloque_Vente",
                                                "label": "Bloqué Vente",
                                                "type": "checkbox",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                "width": 3
                                            }
                                        ]
                                    },
                                    {
                                        "groupe": "Marque",
                                        "type": "div",
                                        "children": [
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XArt_Marque",
                                                "label": "Marque",
                                                "type": "search",
                                                "width": "4",
                                                "tableRE_Code": "API_Marques",
                                                "TableRE_ChampRetour": "Tiers_RS",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "class_label": "underline",
                                                "champs": "XArt_Famille_Marque",
                                                "label": "Marque Famille",
                                                "type": "search",
                                                "tableRE_Code": "API_XMarqueFamille",
                                                "TableRE_ChampRetour": "xMarqueFamille_Code",
                                                "TableRE_ChampRetourAffichage": "xMarqueFamille_Libelle",
                                                "width": "4"
                                            },
                                            {
                                                "groupe": "Unité",
                                                "type": "div",
                                                "children": [
                                                    {
                                                        "table": "DDB.dbo.Art",
                                                        "class_label": "underline",
                                                        "champs": "Art_Unite",
                                                        "label": "Code unité",
                                                        "type": "search",
                                                        "width": 3,
                                                        "tableRE_Code": "Unit",
                                                        "TableRE_ChampRetour": "Unit_Code",
                                                        "TableRE_ChampRetourAffichage": "Unit_Code"
                                                    },
                                                    {
                                                        "table": "DDB.dbo.Art",
                                                        "class_label": "underline",
                                                        "champs": "Art_Unite1",
                                                        "label": "Unité vente",
                                                        "type": "search",
                                                        "width": 3,
                                                        "tableRE_Code": "Unit",
                                                        "TableRE_ChampRetour": "Unit_Code",
                                                        "TableRE_ChampRetourAffichage": "Unit_Code"
                                                    }
                                                ]
                                            },
                                            {
                                                "groupe": "Stock",
                                                "type": "div",
                                                "children": [
                                                    {
                                                        "table": "DDB.dbo.Art",
                                                        "class_label": "underline",
                                                        "champs": "Art_GesStock",
                                                        "label": "Géré en stock ?",
                                                        "type": "checkbox",
                                                        "tableRE_Code": "Liste_OuiNon",
                                                        "TableRE_ChampRetour": "DiverSys_Index",
                                                        "TableRE_ChampRetourAffichage": "DiverSys_Libelle",
                                                        "width": 3
                                                    },
                                                    {
                                                        "type": "aggregate-search",
                                                        "label": "Q. Rés. Stock",
                                                        "width": 3,
                                                        "tableRE_Code": "StockR",
                                                        "TableRE_Filter": " \" StoR_DocD_Id_Achat = \u0027STOCK\u0027 AND Art_Code = \u0027\"  + ds[\"DDB.dbo.Art\"][0][\"Art_Code\"] + \"\u0027\" ",
                                                        "aggregate": "sum",
                                                        "aggregateField": "Sto_Q"
                                                    },
                                                    {
                                                        "type": "aggregate-search",
                                                        "label": "Q. Rés. Achat",
                                                        "width": 3,
                                                        "tableRE_Code": "StockR",
                                                        "TableRE_Filter": " \" StoR_DocD_Id_Achat \u003c\u003e \u0027STOCK\u0027 AND  Art_Code = \u0027\"  + ds[\"DDB.dbo.Art\"][0][\"Art_Code\"] + \"\u0027\" ",
                                                        "aggregate": "sum",
                                                        "aggregateField": "Sto_Q"
                                                    },
                                                    {
                                                        "type": "aggregate-search",
                                                        "label": "Q. Stock",
                                                        "width": 3,
                                                        "tableRE_Code": "Stock",
                                                        "TableRE_Filter": " \"  Art_Code = \u0027\"  + ds[\"DDB.dbo.Art\"][0][\"Art_Code\"] + \"\u0027\" ",
                                                        "aggregate": "sum",
                                                        "aggregateField": "Sto_Q"
                                                    },
                                                    {
                                                        "type": "aggregate-search",
                                                        "label": "Q. sur CA",
                                                        "width": 3,
                                                        "tableRE_Code": "Art_QEncours",
                                                        "TableRE_Filter": " \" Doc_Type = \u0027CMA\u0027 AND  Art_Code = \u0027\"  + ds[\"DDB.dbo.Art\"][0][\"Art_Code\"] + \"\u0027\" ",
                                                        "aggregate": "sum",
                                                        "aggregateField": "DocD_QReliquat"
                                                    },
                                                    {
                                                        "type": "aggregate-search",
                                                        "label": "Q. sur CV",
                                                        "width": 3,
                                                        "tableRE_Code": "Art_QEncours",
                                                        "TableRE_Filter": " \" Doc_Type = \u0027CMD\u0027 AND  Art_Code = \u0027\"  + ds[\"DDB.dbo.Art\"][0][\"Art_Code\"] + \"\u0027\" ",
                                                        "aggregate": "sum",
                                                        "aggregateField": "DocD_QReliquat"
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "table": "DDB.dbo.Art",
                                        "class_label": "underline",
                                        "champs": "Date_Create",
                                        "readonly": "true",
                                        "label": "Crée le",
                                        "type": "datetime-local",
                                        "width": 3
                                    },
                                    {
                                        "table": "DDB.dbo.Art",
                                        "class_label": "underline",
                                        "champs": "User_Id_Create",
                                        "label": "Crée par",
                                        "readonly": "true",
                                        "type": "Input",
                                        "width": 3
                                    },
                                    {
                                        "table": "DDB.dbo.Art",
                                        "class_label": "underline",
                                        "champs": "Date_Modif",
                                        "label": "Modifié le",
                                        "readonly": "true",
                                        "type": "datetime-local",
                                        "width": 3
                                    },
                                    {
                                        "table": "DDB.dbo.Art",
                                        "class_label": "underline",
                                        "champs": "User_Id_Modif",
                                        "label": "Modifié par",
                                        "readonly": "true",
                                        "type": "Input",
                                        "width": 3
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Clients",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "table": "RefExtClient",
                                        "ds": "RefExtClient",
                                        "idDS": "id",
                                        "width": "12",
                                        "children": [
                                            {
                                                "table": "RefExtClient",
                                                "champs": "Tiers_code",
                                                "label": "Client",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "Client",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "champs": "RefExterneClient",
                                                "label": "Réference externe client",
                                                "type": "Input",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "champs": "xobsolete",
                                                "label": "Obsolète",
                                                "type": "checkbox",
                                                "width": 70
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "champs": "Date_Create",
                                                "label": "Date de création",
                                                "type": "date",
                                                "width": 120,
                                                "readonly": true
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "champs": "Date_Modif",
                                                "label": "Date de modification",
                                                "type": "date",
                                                "width": 120,
                                                "readonly": true
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Crée par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "RefExtClient",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Article de Substitution",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "ds": "ArtR",
                                        "idDS": "ArtR_Code",
                                        "table": "ArtR",
                                        "width": "12",
                                        "children": [
                                            {
                                                "table": "ArtR",
                                                "champs": "ArtR_Code",
                                                "label": "Code Article",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "Article",
                                                "TableRE_ChampRetour": "Art_Code",
                                                "TableRE_ChampRetourAffichage": "Art_Code"
                                            },
                                            {
                                                "table": "ArtR",
                                                "champs": "ArtR_Commentaire",
                                                "label": "Commentaire",
                                                "type": "Input",
                                                "width": 150
                                            },
                                            {
                                                "table": "ArtR",
                                                "champs": "ArtR_Ordre",
                                                "label": "Ordre",
                                                "type": "decimal",
                                                "width": 70
                                            },
                                            {
                                                "table": "ArtR",
                                                "champs": "Date_Create",
                                                "label": "Date de création",
                                                "type": "date",
                                                "width": 120,
                                                "readonly": true
                                            },
                                            {
                                                "table": "ArtR",
                                                "champs": "Date_Modif",
                                                "label": "Date de modification",
                                                "type": "date",
                                                "width": 120,
                                                "readonly": true
                                            },
                                            {
                                                "table": "ArtR",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Crée par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "ArtR",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Couple article fournisseur",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "ds": "RefExtFournisseur",
                                        "idDS": "id",
                                        "table": "RefExtFournisseur",
                                        "width": "12",
                                        "children": [
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Tiers_code",
                                                "label": "Code fournisseur",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Reference_Fournisseur",
                                                "label": "Réference fournisseur",
                                                "type": "Input",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Designation_1",
                                                "label": "Designation1",
                                                "type": "Input",
                                                "width": 150,
                                                "readonly": true,
                                                "class_wrapper": "bg-red-500"
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Designation_2",
                                                "label": "Designation2",
                                                "type": "Input",
                                                "width": 150,
                                                "readonly": true
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Reference_Tarifaire",
                                                "label": "Reference Tarifaire",
                                                "type": "Input",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Ancienne_Reference_Fournisseur",
                                                "label": "Ancienne référence fournisseur",
                                                "type": "Input",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Unite_Achat",
                                                "label": "Unite Achat",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "Unit",
                                                "TableRE_ChampRetour": "Unit_Code",
                                                "TableRE_ChampRetourAffichage": "Unit_Code"
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Code_Tarif",
                                                "label": "Tarif",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "API_TarifAchat",
                                                "TableRE_ChampRetour": "xTarifAchat_Code",
                                                "TableRE_ChampRetourAffichage": "xTarifAchat_Code",
                                                "TableRE_Filter": " \"Tiers_code = '\" + item[\"Tiers_code\"] + \"'\" "
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Qte_Mini",
                                                "label": "Quantité mini",
                                                "type": "decimal",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Qte_Multiple",
                                                "label": "Quantité multiple",
                                                "type": "decimal",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Conditionnement",
                                                "label": "Conditionnement",
                                                "type": "Input",
                                                "width": 200
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "xobsolete",
                                                "label": "Obsolète",
                                                "type": "checkbox",
                                                "width": 200
                                            },
                                            {
                                                "table": "DDB.dbo.Art",
                                                "champs": "Art_Status",
                                                "label": "Statut",
                                                "type": "search",
                                                "width": 200,
                                                "readonly": true,
                                                "tableRE_Code": "Statut",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Date_Create",
                                                "label": "Date de création",
                                                "type": "date",
                                                "width": 200,
                                                "readonly": true
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "champs": "Date_Modif",
                                                "label": "Date de modification",
                                                "type": "date",
                                                "width": 200,
                                                "readonly": true
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Crée par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "RefExtFournisseur",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Article-Magasin",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "ds": "ArtSite",
                                        "idDS": "Art_S_Id",
                                        "width": "12",
                                        "table": "ArtSite",
                                        "children": [
                                            {
                                                "table": "ArtSite",
                                                "champs": "Site_Code",
                                                "label": "Site",
                                                "type": "search",
                                                "width": "100",
                                                "tableRE_Code": "SITES",
                                                "TableRE_ChampRetour": "Site_Code",
                                                "TableRE_ChampRetourAffichage": "Site_Des"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArtS_FournisseurPrin",
                                                "label": "Fournisseur principal",
                                                "type": "search",
                                                "width": "100",
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_StockMin",
                                                "label": "Stock Minimum",
                                                "type": "decimal",
                                                "width": "100"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_StockMax",
                                                "label": "Stock Maximum",
                                                "type": "decimal",
                                                "width": "100"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_PointCMD",
                                                "label": "Point de Commande",
                                                "type": "Input",
                                                "width": "100"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_CMDPar",
                                                "label": "Commandé par",
                                                "type": "Input",
                                                "width": "90"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_Divers",
                                                "label": "Divers",
                                                "type": "checkbox",
                                                "width": "70",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_IsStock",
                                                "label": "Stocké",
                                                "type": "checkbox",
                                                "width": "80",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_IsKit",
                                                "label": "Kit",
                                                "type": "checkbox",
                                                "width": "80",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_Emplacement",
                                                "label": "Emplacement",
                                                "type": "Input",
                                                "width": "100"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_DL",
                                                "label": "Délai Livraison(jours)",
                                                "type": "Input",
                                                "width": "100"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_GestionLot",
                                                "label": "Gestion Lot",
                                                "type": "checkbox",
                                                "width": "100",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_StockNegatif",
                                                "label": "Stock Négatif",
                                                "type": "checkbox",
                                                "width": "100",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_StockNegatifS",
                                                "label": "Stock Négatif Sortie",
                                                "type": "checkbox",
                                                "width": "100",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_Peremption",
                                                "label": "Péremption",
                                                "type": "checkbox",
                                                "width": "100",
                                                "tableRE_Code": "Liste_OuiNon",
                                                "TableRE_ChampRetour": "DiverSys_Index",
                                                "TableRE_ChampRetourAffichage": "DiverSys_Libelle"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "Art_S_Stock",
                                                "label": "Stock",
                                                "type": "decimal",
                                                "width": "100",
                                                "readonly": "true"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_DPA",
                                                "label": "DPA",
                                                "type": "decimal",
                                                "width": "70",
                                                "readonly": "true"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "XArt_S_PMP",
                                                "label": "PMP",
                                                "type": "decimal",
                                                "width": "70",
                                                "readonly": "true"
                                            },
                                            {
                                                "table": "ArtSite",
                                                "class_label": "underline",
                                                "champs": "XMAJ_Date",
                                                "label": "Date de MAJ",
                                                "type": "date",
                                                "width": 100
                                            },
                                            {
                                                "table": "ArtSite",
                                                "class_label": "underline",
                                                "champs": "XMAJ_Faite",
                                                "label": "MAJ faite",
                                                "type": "checkbox",
                                                "width": 80
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "Date_Create",
                                                "label": "Date de création",
                                                "type": "date",
                                                "width": "150",
                                                "readonly": true
                                            },
                                            {
                                                "table": "ArtSite",
                                                "champs": "Date_Modif",
                                                "label": "Date de modification",
                                                "type": "date",
                                                "width": "150",
                                                "readonly": true
                                            },
                                            {
                                                "table": "ArtSite",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Crée par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "ArtSite",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Prix d\u0027achat",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "width": "12",
                                        "table": "XArtPrixAchat",
                                        "ds": "XArtPrixAchat",
                                        "idDS": "id",
                                        "children": [
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "Tiers_code",
                                                "label": "Fournisseur",
                                                "type": "search",
                                                "width": 200,
                                                "tableRE_Code": "fournisseurs",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS"
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "XArtPrixAchat_DateDeb",
                                                "label": "Date début",
                                                "type": "date",
                                                "width": "150"
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "XArtPrixAchat_DateFin",
                                                "label": "Date fin",
                                                "type": "date",
                                                "width": "150"
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "XArtPrixAchat_PrixU",
                                                "label": "Prix unitaire",
                                                "type": "decimal",
                                                "width": "100"
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "XArtPrixAchat_QteMin",
                                                "label": "Qté mini",
                                                "type": "decimal",
                                                "width": "100"
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "Date_Create",
                                                "label": "Créé le",
                                                "type": "date",
                                                "width": "150",
                                                "readonly": true
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "champs": "Date_Modif",
                                                "label": "Modifié le",
                                                "type": "date",
                                                "width": "150",
                                                "readonly": true
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Créé par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "XArtPrixAchat",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "label": "Prix de vente",
                        "children": [
                            {
                                "type": "div",
                                "children": [
                                    {
                                        "type": "table",
                                        "width": "12",
                                        "table": "XArtPrixVente",
                                        "ds": "XArtPrixVente",
                                        "idDS": "id",
                                        "children": [
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "XArtPrixVente_DateDeb",
                                                "label": "Date début",
                                                "type": "date",
                                                "width": 150
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "XArtPrixVente_DateFin",
                                                "label": "Date fin",
                                                "type": "date",
                                                "width": 150,
                                                "children": []
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "XArtPrixVente_PrixU",
                                                "label": "Prix unitaire",
                                                "type": "decimal",
                                                "width": 100
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "XArtPrixVente_QteMin",
                                                "label": "Qté mini",
                                                "type": "decimal",
                                                "width": 70
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "Tiers_code",
                                                "label": "Fournisseur référant",
                                                "type": "search",
                                                "width": 150,
                                                "tableRE_Code": "FOURNISSEUR",
                                                "TableRE_ChampRetour": "Tiers_code",
                                                "TableRE_ChampRetourAffichage": "Tiers_RS",
                                                "readonly": "true"
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "Date_Create",
                                                "label": "Date de création",
                                                "type": "date",
                                                "width": 150,
                                                "readonly": true
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "champs": "Date_Modif",
                                                "label": "Date de modification",
                                                "type": "date",
                                                "width": 150,
                                                "readonly": true
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "class_label": "underline",
                                                "champs": "User_Id_Create",
                                                "label": "Crée par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            },
                                            {
                                                "table": "XArtPrixVente",
                                                "class_label": "underline",
                                                "champs": "User_Id_Modif",
                                                "label": "Modifié par",
                                                "readonly": "true",
                                                "type": "Input",
                                                "width": 100
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "Table_Name": "DDB.dbo.Art"
}