Saltar al contenido

Datos Estructurados del Complemento

Hay una variedad de versiones de este complemento para varios terceros.

El complemento adopta una configuración similar a esta:

{
    "name": "Order",
    "key": "OrderID",
    "attributes":
    [
        "OrderID",
        "StoreID",
        "UserName",
        "OrderDate",
        "AssociateID",
        "AssociateName",
        "AssociateNumber"
    ],
    "children":
    [
        {
            "name": "Customer",
            "key": "RelateCustomer_ID",
            "attributes":
            [
                "RelateCustomer_ID",
                "FirstName",
                "LastName",
                "APARTMENT",
                "ADDRESS1",
                "CITY",
                "STATE",
                "POSTAL_CODE"
            ],
            "children":
            [
                {
                    "name": "CustomerAlterations",
                    "key": "CustomerAlterationCodeFriendly",
                    "attributes":
                    [
                        "SpecialInstruction",
                        "CustomerAlterationCodeFriendly",
                        "CustomerAlterationCode",
                        "CustomerAlterationDescription",
                        "CustomerAlterationParameter",
                        "CustomerAlterationParameterValue",
                        "CustomerAlterationAbsoluteNumber"
                    ]
                },
                {
                    "name": "CustomerMeasurements",
                    "key": "MeasurementCode",
                    "attributes":
                    [
                        "MeasurementCode",
                        "Measurement",
                        "NumericValue",
                        "Required"
                    ]
                }
            ]
        },
        {
            "name": "OrderGroups",
            "key": "OrderGroupID",
            "attributes":
            [
                "OrderGroupID",
                "FabricSwatchCode",
                "FabricSwatchDescription",
                "FabricLiningCode",
                "FabricLiningDescription",
                "ButtonCode",
                "ButtonName",
                "ParentProductName"
            ],
            "children":
            [
                {
                    "name": "OrderGroupLines",
                    "key": "LineID",
                    "attributes":
                    [
                        "LineID",
                        "ProductName",
                        "ProductCode",
                        "ProgramID",
                        "Program",
                        "ProductMakeCode",
                        "Make",
                        "Size",
                        "Quantity"
                    ],
                    "children":
                    [
                        {
                            "name": "OrderGroupLineAlterations",
                            "key": "AlterationFriendlyCode",
                            "attributes":
                            [
                                "AlterationFriendlyCode",
                                "AlterationCode",
                                "AlterationDescription",
                                "Parameter",
                                "Value",
                                "Note"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Nombre, clave, atributos, hijos y luego cada hijo bajo children puede tener nombre, clave, atributos, hijos… y así sucesivamente

Captura de pantalla 2017 11 14 a las 10 11 36 am

Al crear el objeto de datos para este informe, se selecciona todo y se ordena por nivel 1, nivel 2, nivel 3...