{
    "manifestVersion": "2.0",
    "settings": [
        {
            "name": "fc.oms.inventory.search.inventory.position.stock.status.column"
        },
        {
            "name": "fc.oms.inventory.search.inventory.quantity.history.status.column"
        },
        {
            "name": "fc.oms.inventory.search.product.status.column"
        },
        {
            "name": "fc.oms.inventory.search.virtual.position.stock.status.column"
        },
        {
            "name": "fc.oms.inventory.search.product.catalogue.default",
            "alias": "default_pc"
        },
        {
            "name": "fc.oms.inventory.search.inventory.catalogue.default",
            "alias": "default_ic"
        }
    ],
    "routes": [
        {
            "type": "section",
            "nav": {
                "label": "i18n:fc.uvoi.nav",
                "icon": "dashboard"
            },
            "pages": [
                {
                    "type": "page",
                    "path": "inventorySearch",
                    "component": "fc.page",
                    "data": {
                        "query": "query inventoryPositions($inventoryCatalogues: [InventoryCatalogueKey], $productCatalogue: ProductCatalogueKey) {\n  inventoryPositions(catalogues: $inventoryCatalogues) {\n    edges {\n      node {\n        id\n        ref\n        productRef\n        locationRef\n        catalogue {\n          name\n          ref\n        }\n        product(catalogue: $productCatalogue) {\n          type\n          name\n          catalogue {\n            ref\n          }\n        }\n        locationLink {\n          name\n          id\n        }\n        lastOnHandQuantities: quantitiesAggregate(\n          type: [\"LAST_ON_HAND\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        reservedQuantities: quantitiesAggregate(type: [\"RESERVED\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        salesQuantities: quantitiesAggregate(type: [\"SALE\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        correctionsQuantities: quantitiesAggregate(\n          type: [\"CORRECTION\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        deltaQuantities: quantitiesAggregate(type: [\"DELTA\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        onHand\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "inventoryCatalogues": [
                                {
                                    "ref": ""
                                }
                            ]
                        }
                    },
                    "nav": {
                        "label": "i18n:fc.uvoi.inventorySearch.index.nav",
                        "icon": "MdScreenSearchDesktop"
                    },
                    "props": {
                        "title": "i18n:fc.uvoi.inventorySearch.index.title"
                    },
                    "descendants": [
                        {
                            "component": "fc.filterPanel",
                            "props": {
                                "allowReadWriteUrlParams": true,
                                "overrides": {
                                    "productCatalogue": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.productCatalogue.label",
                                        "sortPrefix": 1,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_pc}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query productCatalogues($retailerRefs: [[String]], $first: Int) {\n  productCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "inventoryCatalogues": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.inventoryCatalogue.label",
                                        "multiple": true,
                                        "sortPrefix": 2,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_ic}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query inventoryCatalogues($retailerRefs: [[String]], $first: Int) {\n  inventoryCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "status": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.status.label",
                                        "multiple": true,
                                        "sortPrefix": 3,
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "source": "fc.oms.mystique.inventory.search.inventory.position.stock.statuses"
                                        }
                                    },
                                    "onHandRange": {
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.onHandRange.label",
                                        "sortPrefix": 4
                                    },
                                    "updatedOn": {
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.updatedOn.label",
                                        "sortPrefix": 5
                                    },
                                    "productRef": {
                                        "component": "fc.field.filterComplex",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.productRef.label",
                                        "sortPrefix": 6,
                                        "extensions": {
                                            "query": "query products($products_ref: [String!], $products_name: [String!], $productCatalogue: String!) {\n  products(\n    ref: $products_ref\n    name: $products_name\n    catalogue: {ref: $productCatalogue}\n  ) {\n    edges {\n      node {\n        ref\n        name\n        attributes {\n          name\n          value\n        }\n      }\n    }\n  }\n}\n",
                                            "variables": {
                                                "products_first": 100,
                                                "productCatalogue": "{{productCatalogue}}"
                                            },
                                            "searchItemConfig": {
                                                "component": "fc.card.product",
                                                "props": {
                                                    "title": "{{node.name}}",
                                                    "cardImage": {
                                                        "imageUrl": "{{node.attributes.byName.imageUrl}}"
                                                    },
                                                    "attributes": [
                                                        {
                                                            "value": "{{node.ref}}"
                                                        }
                                                    ]
                                                }
                                            },
                                            "chipItemConfig": {
                                                "label": "{{node.name}}",
                                                "query": "query products($products_ref: [String!], $products_name: [String!]) {\n  products(ref: $products_ref, name: $products_name) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "products_first": 100
                                                }
                                            },
                                            "onChangeValues": {
                                                "value": "node.ref",
                                                "variableName": "products_ref"
                                            },
                                            "exclude": [
                                                "createdon",
                                                "updatedon",
                                                "type",
                                                "status",
                                                "gtin",
                                                "summary",
                                                "productcatalogue"
                                            ],
                                            "overrides": {
                                                "name": {
                                                    "sortPrefix": 1
                                                }
                                            }
                                        }
                                    },
                                    "locationRef": {
                                        "component": "fc.field.filterComplex",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.locationRef.label",
                                        "sortPrefix": 7,
                                        "extensions": {
                                            "filtersSource": "locations",
                                            "query": "query ($locations_first: Int) {\n  locations(first: $locations_first) {\n    edges {\n      node {\n        id\n        ref\n        type\n        status\n        name\n        primaryAddress {\n          id\n          city\n          state\n          country\n          street\n          postcode\n        }\n      }\n    }\n  }\n}\n",
                                            "variables": {
                                                "locations_first": 100
                                            },
                                            "overrides": {
                                                "name": {
                                                    "sortPrefix": 1
                                                }
                                            },
                                            "searchItemConfig": {
                                                "component": "fc.card.product",
                                                "props": {
                                                    "title": "{{node.name}}",
                                                    "attributes": [
                                                        {
                                                            "value": "{{node.ref}}"
                                                        },
                                                        {
                                                            "value": "{{node.primaryAddress.street}} {{node.primaryAddress.city}} {{node.primaryAddress.state}} {{node.primaryAddress.postcode}} {{node.primaryAddress.country}}"
                                                        }
                                                    ]
                                                }
                                            },
                                            "chipItemConfig": {
                                                "label": "{{node.name}}"
                                            },
                                            "onChangeValues": {
                                                "value": "node.ref",
                                                "variableName": "locations_ref"
                                            },
                                            "exclude": [
                                                "createdon",
                                                "updatedon",
                                                "type",
                                                "status",
                                                "supportphonenumber",
                                                "defaultcarriername",
                                                "defaultcarrier"
                                            ]
                                        }
                                    }
                                },
                                "exclude": [
                                    "createdon",
                                    "ref",
                                    "type",
                                    "onhand"
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "defaultPageSize": 10,
                                "dataSource": "inventoryPositions",
                                "responsiveness": "card",
                                "row": {
                                    "expansion": {
                                        "toggle": true,
                                        "descendants": [
                                            {
                                                "component": "fc.filterPanel",
                                                "props": {
                                                    "noCard": true,
                                                    "query": "query virtualPositions($virtualCatalogues: [VirtualCatalogueKey], $groupRef: [String!], $productRef: [String!]) {\n  virtualPositions(\n    catalogues: $virtualCatalogues\n    groupRef: $groupRef\n    productRef: $productRef\n  ) {\n    edges {\n      node {\n        id\n        catalogue {\n          name\n        }\n        quantity\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                                                    "variables": {
                                                        "groupRef": "{{node.locationRef}}",
                                                        "productRef": "{{node.productRef}}"
                                                    },
                                                    "overrides": {
                                                        "catalogue": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                            "variableName": "virtualCatalogues",
                                                            "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                                            "sortPrefix": 1,
                                                            "multiple": true,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "queryValues": {
                                                                    "query": "query virtualCatalogues($retailerRefs: [[String]], $first: Int) {\n  virtualCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                                    "variables": {
                                                                        "retailerRefs": "{{activeRetailer.ref}}",
                                                                        "first": 100
                                                                    },
                                                                    "label": "{{node.name}}",
                                                                    "value": "{{node.ref}}"
                                                                }
                                                            }
                                                        },
                                                        "quantityRange": {
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                            "sortPrefix": 2
                                                        },
                                                        "status": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                            "multiple": true,
                                                            "sortPrefix": 3,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "source": "fc.oms.mystique.inventory.search.virtual.position.stock.statuses"
                                                            }
                                                        }
                                                    },
                                                    "exclude": [
                                                        "createdon",
                                                        "updatedon",
                                                        "ref",
                                                        "quantity",
                                                        "type",
                                                        "productref",
                                                        "groupref"
                                                    ],
                                                    "descendants": [
                                                        {
                                                            "component": "fc.list",
                                                            "dataSource": "virtualPositions",
                                                            "props": {
                                                                "attributes": [
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                                        "value": "{{node.catalogue.name}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                                        "value": "{{node.quantity}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                                        "type": "component",
                                                                        "options": {
                                                                            "component": "fc.attribute.column",
                                                                            "props": {
                                                                                "contentColumnSetting": "fc.oms.inventory.search.virtual.position.stock.status.column",
                                                                                "value": "{{status}}"
                                                                            },
                                                                            "dataSource": "node"
                                                                        }
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                                                        "value": "{{dateRelative node.updatedOn}}"
                                                                    }
                                                                ]
                                                            }
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.invntoryCatalog.heading",
                                        "value": "{{node.catalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.product.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.productRef node.product.catalogue.ref node.product.type}}",
                                                        "matches": "true"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.link",
                                                            "props": {
                                                                "label": "{{node.product.name}} ({{node.productRef}})",
                                                                "link": "#/inventorySearch/product/{{node.productRef}}/{{node.product.catalogue.ref}}/{{node.product.type}}?{{{currentUrlParams}}}"
                                                            }
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.productRef node.product.catalogue.ref node.product.type}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{node.productRef}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.location.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.locationRef node.locationLink.name}}",
                                                        "matches": "true"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.link",
                                                            "props": {
                                                                "label": "{{node.locationLink.name}} ({{node.locationRef}})",
                                                                "link": "#/inventorySearch/location/{{node.locationRef}}?{{{currentUrlParams}}}"
                                                            }
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.locationRef node.locationLink.name}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{node.locationRef}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.lastOnHandQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "LAST_ON_HAND"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.reservedQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "RESERVED"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.salesQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "SALE"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.correctionsQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "CORRECTION"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.deltaQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "DELTA"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.onHand.heading",
                                        "value": "{{node.onHand}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.stockStatus.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.oms.inventory.search.inventory.position.stock.status.column",
                                                "value": "{{status}}"
                                            },
                                            "dataSource": "node"
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                        "value": "{{dateRelative node.updatedOn}}"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "type": "page",
                    "path": "inventorySearch/location/:locationRef",
                    "component": "fc.page",
                    "data": {
                        "query": "query locationView($ref: String, $inventoryCatalogues: [InventoryCatalogueKey], $productCatalogue: ProductCatalogueKey, $locationRef: [String!]) {\n  location: location(ref: $ref) {\n    id\n    name\n    type\n    primaryAddress {\n      id\n      latitude\n      longitude\n      state\n      city\n      street\n      street2\n      postcode\n      country\n      timeZone\n    }\n    openingSchedule {\n      allHours\n      monEnd\n      monStart\n      tueEnd\n      tueStart\n      wedEnd\n      wedStart\n      thuEnd\n      thuStart\n      friEnd\n      friStart\n      satEnd\n      satStart\n      sunEnd\n      sunStart\n    }\n  }\n  inventoryPositions: inventoryPositions(\n    catalogues: $inventoryCatalogues\n    locationRef: $locationRef\n  ) {\n    edges {\n      node {\n        id\n        ref\n        productRef\n        locationRef\n        catalogue {\n          name\n          ref\n        }\n        product(catalogue: $productCatalogue) {\n          type\n          name\n          catalogue {\n            ref\n          }\n        }\n        locationLink {\n          name\n          id\n        }\n        lastOnHandQuantities: quantitiesAggregate(\n          type: [\"LAST_ON_HAND\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        reservedQuantities: quantitiesAggregate(type: [\"RESERVED\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        salesQuantities: quantitiesAggregate(type: [\"SALE\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        correctionsQuantities: quantitiesAggregate(\n          type: [\"CORRECTION\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        deltaQuantities: quantitiesAggregate(type: [\"DELTA\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        onHand\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "inventoryCatalogues": [
                                {
                                    "ref": ""
                                }
                            ],
                            "ref": "{{params.locationRef}}",
                            "locationRef": "{{params.locationRef}}"
                        }
                    },
                    "props": {
                        "title": "{{{i18n 'fc.uvoi.inventorySearch.locationView.title'}}} - {{{location.name}}}",
                        "backButtons": [
                            {
                                "path": "inventorySearch?{{{currentUrlParams}}}",
                                "menuLabel": "i18n:fc.uvoi.inventorySearch.locationView.breadcrumb.backToInventorySearch"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.map.point",
                            "dataSource": "location",
                            "props": {
                                "width": "4"
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.uvoi.inventorySearch.locationView.card.locationDetails.title",
                                "width": "4",
                                "dataSource": "location",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.locationView.card.locationDetails.attribute.name.label",
                                        "template": "{{name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.locationView.card.locationDetails.attribute.locationId.label",
                                        "template": "{{id}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.locationView.card.locationDetails.attribute.type.label",
                                        "template": "{{type}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.locationView.card.locationDetails.attribute.address.label",
                                        "template": "{{primaryAddress.street}} {{primaryAddress.city}} {{primaryAddress.state}} {{primaryAddress.postcode}} {{primaryAddress.country}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.stores.allLocations.detail.card.openingHours.title",
                                "width": "4",
                                "dataSource": "location",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.open24Hours?.label",
                                        "template": "{{openingSchedule.allHours}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.monday.label",
                                        "template": "{{openingSchedule.monStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.monEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.tuesday.label",
                                        "template": "{{openingSchedule.tueStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.tueEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.wednesday.label",
                                        "template": "{{openingSchedule.wedStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.wedEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.thursday.label",
                                        "template": "{{openingSchedule.thuStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.thuEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.friday.label",
                                        "template": "{{openingSchedule.friStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.friEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.saturday.label",
                                        "template": "{{openingSchedule.satStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.satEnd}}"
                                    },
                                    {
                                        "label": "i18n:fc.stores.allLocations.detail.card.openingHours.attribute.sunday.label",
                                        "template": "{{openingSchedule.sunStart}} {{i18n 'fc.stores.allLocations.detail.card.openingHours.to'}} {{openingSchedule.sunEnd}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.filterPanel",
                            "props": {
                                "allowReadWriteUrlParams": true,
                                "overrides": {
                                    "productCatalogue": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.productCatalogue.label",
                                        "sortPrefix": 1,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_pc}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query productCatalogues($retailerRefs: [[String]], $first: Int) {\n  productCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "inventoryCatalogues": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.inventoryCatalogue.label",
                                        "multiple": true,
                                        "sortPrefix": 2,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_ic}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query inventoryCatalogues($retailerRefs: [[String]], $first: Int) {\n  inventoryCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "status": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.status.label",
                                        "multiple": true,
                                        "sortPrefix": 3,
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "source": "fc.oms.mystique.inventory.search.inventory.position.stock.statuses"
                                        }
                                    },
                                    "onHandRange": {
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.onHandRange.label",
                                        "sortPrefix": 4
                                    },
                                    "updatedOn": {
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.updatedOn.label",
                                        "sortPrefix": 5
                                    },
                                    "productRef": {
                                        "component": "fc.field.filterComplex",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.productRef.label",
                                        "sortPrefix": 6,
                                        "extensions": {
                                            "query": "query products($products_ref: [String!], $products_name: [String!], $productCatalogue: String!) {\n  products(\n    ref: $products_ref\n    name: $products_name\n    catalogue: {ref: $productCatalogue}\n  ) {\n    edges {\n      node {\n        ref\n        name\n        attributes {\n          name\n          value\n        }\n      }\n    }\n  }\n}\n",
                                            "variables": {
                                                "products_first": 100,
                                                "productCatalogue": "{{productCatalogue}}"
                                            },
                                            "searchItemConfig": {
                                                "component": "fc.card.product",
                                                "props": {
                                                    "title": "{{node.name}}",
                                                    "cardImage": {
                                                        "imageUrl": "{{node.attributes.byName.imageUrl}}"
                                                    },
                                                    "attributes": [
                                                        {
                                                            "value": "{{node.ref}}"
                                                        }
                                                    ]
                                                }
                                            },
                                            "chipItemConfig": {
                                                "label": "{{node.name}}",
                                                "query": "query products($products_ref: [String!], $products_name: [String!]) {\n  products(ref: $products_ref, name: $products_name) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "products_first": 100
                                                }
                                            },
                                            "onChangeValues": {
                                                "value": "node.ref",
                                                "variableName": "products_ref"
                                            },
                                            "exclude": [
                                                "createdon",
                                                "updatedon",
                                                "type",
                                                "status",
                                                "gtin",
                                                "summary",
                                                "productcatalogue"
                                            ],
                                            "overrides": {
                                                "name": {
                                                    "sortPrefix": 1
                                                }
                                            }
                                        }
                                    }
                                },
                                "exclude": [
                                    "createdon",
                                    "ref",
                                    "type",
                                    "onhand",
                                    "locationref"
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "defaultPageSize": 10,
                                "dataSource": "inventoryPositions",
                                "responsiveness": "card",
                                "row": {
                                    "expansion": {
                                        "toggle": true,
                                        "descendants": [
                                            {
                                                "component": "fc.filterPanel",
                                                "props": {
                                                    "noCard": true,
                                                    "query": "query virtualPositions($virtualCatalogues: [VirtualCatalogueKey], $groupRef: [String!], $productRef: [String!]) {\n  virtualPositions(\n    catalogues: $virtualCatalogues\n    groupRef: $groupRef\n    productRef: $productRef\n  ) {\n    edges {\n      node {\n        id\n        catalogue {\n          name\n        }\n        quantity\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                                                    "variables": {
                                                        "groupRef": "{{node.locationRef}}",
                                                        "productRef": "{{node.productRef}}"
                                                    },
                                                    "overrides": {
                                                        "catalogue": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                            "variableName": "virtualCatalogues",
                                                            "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                                            "sortPrefix": 1,
                                                            "multiple": true,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "queryValues": {
                                                                    "query": "query virtualCatalogues($retailerRefs: [[String]], $first: Int) {\n  virtualCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                                    "variables": {
                                                                        "retailerRefs": "{{activeRetailer.ref}}",
                                                                        "first": 100
                                                                    },
                                                                    "label": "{{node.name}}",
                                                                    "value": "{{node.ref}}"
                                                                }
                                                            }
                                                        },
                                                        "quantityRange": {
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                            "sortPrefix": 2
                                                        },
                                                        "status": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                            "multiple": true,
                                                            "sortPrefix": 3,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "source": "fc.oms.mystique.inventory.search.virtual.position.stock.statuses"
                                                            }
                                                        }
                                                    },
                                                    "exclude": [
                                                        "createdon",
                                                        "updatedon",
                                                        "ref",
                                                        "quantity",
                                                        "type",
                                                        "productref",
                                                        "groupref"
                                                    ],
                                                    "descendants": [
                                                        {
                                                            "component": "fc.list",
                                                            "dataSource": "virtualPositions",
                                                            "props": {
                                                                "attributes": [
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                                        "value": "{{node.catalogue.name}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                                        "value": "{{node.quantity}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                                        "type": "component",
                                                                        "options": {
                                                                            "component": "fc.attribute.column",
                                                                            "props": {
                                                                                "contentColumnSetting": "fc.oms.inventory.search.virtual.position.stock.status.column",
                                                                                "value": "{{status}}"
                                                                            },
                                                                            "dataSource": "node"
                                                                        }
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                                                        "value": "{{dateRelative node.updatedOn}}"
                                                                    }
                                                                ]
                                                            }
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.invntoryCatalog.heading",
                                        "value": "{{node.catalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.product.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.productRef node.product.catalogue.ref node.product.type}}",
                                                        "matches": "true"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.link",
                                                            "props": {
                                                                "label": "{{node.product.name}} ({{node.productRef}})",
                                                                "link": "#/inventorySearch/product/{{node.productRef}}/{{node.product.catalogue.ref}}/{{node.product.type}}?{{{currentUrlParams}}}"
                                                            }
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.productRef node.product.catalogue.ref node.product.type}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{node.productRef}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.lastOnHandQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "LAST_ON_HAND"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.reservedQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "RESERVED"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.salesQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "SALE"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.correctionsQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "CORRECTION"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.deltaQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "DELTA"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.onHand.heading",
                                        "value": "{{node.onHand}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.stockStatus.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.oms.inventory.search.inventory.position.stock.status.column",
                                                "value": "{{status}}"
                                            },
                                            "dataSource": "node"
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                        "value": "{{dateRelative node.updatedOn}}"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "type": "page",
                    "path": "inventorySearch/product/:productRef/:productCatalogueRef/:productType",
                    "component": "fc.page",
                    "data": {
                        "query": "query productView($ref: [String!], $type: [String!], $catalogue: ProductCatalogueKey, $inventoryCatalogues: [InventoryCatalogueKey], $productCatalogue: ProductCatalogueKey, $productRef: [String!]) {\n  product: products(ref: $ref, catalogue: $catalogue, type: $type) {\n    edges {\n      node {\n        ... on VariantProduct {\n          name\n          ref\n          status\n          type\n          catalogue {\n            ref\n            name\n          }\n          categories {\n            edges {\n              node {\n                name\n              }\n            }\n          }\n          summary\n          gtin\n          attributes {\n            name\n            value\n          }\n        }\n      }\n    }\n  }\n  inventoryPositions: inventoryPositions(\n    catalogues: $inventoryCatalogues\n    productRef: $productRef\n  ) {\n    edges {\n      node {\n        id\n        ref\n        productRef\n        locationRef\n        catalogue {\n          name\n          ref\n        }\n        product(catalogue: $productCatalogue) {\n          type\n          name\n          catalogue {\n            ref\n          }\n        }\n        locationLink {\n          name\n          id\n        }\n        lastOnHandQuantities: quantitiesAggregate(\n          type: [\"LAST_ON_HAND\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        reservedQuantities: quantitiesAggregate(type: [\"RESERVED\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        salesQuantities: quantitiesAggregate(type: [\"SALE\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        correctionsQuantities: quantitiesAggregate(\n          type: [\"CORRECTION\"]\n          status: [\"ACTIVE\"]\n        ) {\n          sum\n        }\n        deltaQuantities: quantitiesAggregate(type: [\"DELTA\"], status: [\"ACTIVE\"]) {\n          sum\n        }\n        onHand\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                        "variables": {
                            "inventoryCatalogues": [
                                {
                                    "ref": ""
                                }
                            ],
                            "ref": "{{params.productRef}}",
                            "productRef": "{{params.productRef}}",
                            "type": "{{params.productType}}",
                            "catalogue": {
                                "ref": "{{params.productCatalogueRef}}"
                            }
                        }
                    },
                    "props": {
                        "title": "{{i18n 'fc.uvoi.inventorySearch.productView.title'}} - {{product.edges.0.node.name}}",
                        "backButtons": [
                            {
                                "path": "inventorySearch?{{{currentUrlParams}}}",
                                "menuLabel": "i18n:fc.uvoi.inventorySearch.productView.breadcrumb.backToInventorySearch"
                            }
                        ]
                    },
                    "descendants": [
                        {
                            "component": "fc.card.product",
                            "props": {
                                "width": "3",
                                "dataSource": "product",
                                "cardImage": {
                                    "imageUrl": "{{edges.0.node.attributes.byName.imageUrl}}",
                                    "width": "100%",
                                    "height": "auto"
                                }
                            }
                        },
                        {
                            "component": "fc.card.attribute",
                            "props": {
                                "title": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.title",
                                "width": "9",
                                "dataSource": "product",
                                "attributes": [
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.name.label",
                                        "template": "{{edges.0.node.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.ref.label",
                                        "template": "{{edges.0.node.ref}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.status.label",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.oms.inventory.search.product.status.column",
                                                "value": "{{status}}"
                                            },
                                            "dataSource": "edges.0.node"
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.productType.label",
                                        "template": "{{edges.0.node.type}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.productCatalogue.label",
                                        "template": "{{edges.0.node.catalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.categories.label",
                                        "template": "{{edges.0.node.categories.edges.0.node.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.description.label",
                                        "template": "{{edges.0.node.summary}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.productView.card.productDetails.attribute.gtin.label",
                                        "template": "{{edges.0.node.gtin}}"
                                    }
                                ]
                            }
                        },
                        {
                            "component": "fc.filterPanel",
                            "props": {
                                "allowReadWriteUrlParams": true,
                                "overrides": {
                                    "productCatalogue": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.productCatalogue.label",
                                        "sortPrefix": 1,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_pc}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query productCatalogues($retailerRefs: [[String]], $first: Int) {\n  productCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "inventoryCatalogues": {
                                        "component": "select",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.inventoryCatalogue.label",
                                        "multiple": true,
                                        "sortPrefix": 2,
                                        "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                        "inputTemplate": "{{ref}}",
                                        "defaultValue": "{{settings.default_ic}}",
                                        "extensions": {
                                            "hideDefaultValue": true,
                                            "queryValues": {
                                                "query": "query inventoryCatalogues($retailerRefs: [[String]], $first: Int) {\n  inventoryCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "retailerRefs": "{{activeRetailer.ref}}",
                                                    "first": 100
                                                },
                                                "label": "{{node.name}}",
                                                "value": "{{node.ref}}"
                                            }
                                        }
                                    },
                                    "onHandRange": {
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.onHandRange.label",
                                        "sortPrefix": 4
                                    },
                                    "locationRef": {
                                        "component": "fc.field.filterComplex",
                                        "label": "fc.uvoi.inventorySearch.filterPanel.field.locationRef.label",
                                        "sortPrefix": 7,
                                        "extensions": {
                                            "filtersSource": "locations",
                                            "query": "query ($locations_first: Int) {\n  locations(first: $locations_first) {\n    edges {\n      node {\n        id\n        ref\n        type\n        status\n        name\n        primaryAddress {\n          id\n          city\n          state\n          country\n        }\n      }\n    }\n  }\n}\n",
                                            "variables": {
                                                "locations_first": 100,
                                                "product_catalog": "{{productCatalogue}}"
                                            },
                                            "overrides": {
                                                "name": {
                                                    "sortPrefix": 1
                                                }
                                            },
                                            "searchItemConfig": {
                                                "component": "fc.card.product",
                                                "props": {
                                                    "title": "{{node.name}}",
                                                    "attributes": [
                                                        {
                                                            "value": "{{node.ref}}"
                                                        },
                                                        {
                                                            "value": "{{node.primaryAddress.city}}"
                                                        }
                                                    ]
                                                }
                                            },
                                            "chipItemConfig": {
                                                "label": "{{node.name}}"
                                            },
                                            "onChangeValues": {
                                                "value": "node.ref",
                                                "variableName": "locations_ref"
                                            },
                                            "exclude": [
                                                "createdon",
                                                "updatedon",
                                                "type",
                                                "status",
                                                "supportphonenumber",
                                                "defaultcarriername",
                                                "defaultcarrier"
                                            ]
                                        }
                                    }
                                },
                                "additionalFields": [
                                    {
                                        "component": "select",
                                        "props": {
                                            "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.status.label",
                                            "multiple": true,
                                            "variableName": "inventoryPositions_status",
                                            "sortPrefix": 3,
                                            "extensions": {
                                                "hideDefaultValue": true,
                                                "source": "fc.oms.mystique.inventory.search.inventory.position.stock.statuses"
                                            }
                                        }
                                    },
                                    {
                                        "component": "daterange",
                                        "props": {
                                            "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.updatedOn.label",
                                            "sortPrefix": 5,
                                            "variableName": "inventoryPositions_updatedOn"
                                        }
                                    }
                                ],
                                "exclude": [
                                    "createdon",
                                    "ref",
                                    "type",
                                    "onhand",
                                    "productref",
                                    "status",
                                    "gtin",
                                    "summary",
                                    "name",
                                    "updatedon"
                                ]
                            }
                        },
                        {
                            "component": "fc.list",
                            "props": {
                                "defaultPageSize": 10,
                                "dataSource": "inventoryPositions",
                                "responsiveness": "card",
                                "row": {
                                    "expansion": {
                                        "toggle": true,
                                        "descendants": [
                                            {
                                                "component": "fc.filterPanel",
                                                "props": {
                                                    "noCard": true,
                                                    "query": "query virtualPositions($virtualCatalogues: [VirtualCatalogueKey], $groupRef: [String!], $productRef: [String!]) {\n  virtualPositions(\n    catalogues: $virtualCatalogues\n    groupRef: $groupRef\n    productRef: $productRef\n  ) {\n    edges {\n      node {\n        id\n        catalogue {\n          name\n        }\n        quantity\n        status\n        updatedOn\n      }\n    }\n  }\n}\n",
                                                    "variables": {
                                                        "groupRef": "{{node.locationRef}}",
                                                        "productRef": "{{node.productRef}}"
                                                    },
                                                    "overrides": {
                                                        "catalogue": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                            "variableName": "virtualCatalogues",
                                                            "outputTemplate": "{\"ref\": \"{{value}}\"}",
                                                            "sortPrefix": 1,
                                                            "multiple": true,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "queryValues": {
                                                                    "query": "query virtualCatalogues($retailerRefs: [[String]], $first: Int) {\n  virtualCatalogues(retailerRefs: $retailerRefs, first: $first) {\n    edges {\n      node {\n        ref\n        name\n      }\n    }\n  }\n}\n",
                                                                    "variables": {
                                                                        "retailerRefs": "{{activeRetailer.ref}}",
                                                                        "first": 100
                                                                    },
                                                                    "label": "{{node.name}}",
                                                                    "value": "{{node.ref}}"
                                                                }
                                                            }
                                                        },
                                                        "quantityRange": {
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                            "sortPrefix": 2
                                                        },
                                                        "status": {
                                                            "component": "select",
                                                            "label": "fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                            "multiple": true,
                                                            "sortPrefix": 3,
                                                            "extensions": {
                                                                "hideDefaultValue": true,
                                                                "source": "fc.oms.mystique.inventory.search.virtual.position.stock.statuses"
                                                            }
                                                        }
                                                    },
                                                    "exclude": [
                                                        "createdon",
                                                        "updatedon",
                                                        "ref",
                                                        "quantity",
                                                        "type",
                                                        "productref",
                                                        "groupref"
                                                    ],
                                                    "descendants": [
                                                        {
                                                            "component": "fc.list",
                                                            "dataSource": "virtualPositions",
                                                            "props": {
                                                                "attributes": [
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualCatalogue.label",
                                                                        "value": "{{node.catalogue.name}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.availableQuantity.label",
                                                                        "value": "{{node.quantity}}"
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.filterPanel.field.virtualStockStatus.label",
                                                                        "type": "component",
                                                                        "options": {
                                                                            "component": "fc.attribute.column",
                                                                            "props": {
                                                                                "contentColumnSetting": "fc.oms.inventory.search.virtual.position.stock.status.column",
                                                                                "value": "{{status}}"
                                                                            },
                                                                            "dataSource": "node"
                                                                        }
                                                                    },
                                                                    {
                                                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                                                        "value": "{{dateRelative node.updatedOn}}"
                                                                    }
                                                                ]
                                                            }
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                },
                                "attributes": [
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.invntoryCatalog.heading",
                                        "value": "{{node.catalogue.name}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.location.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.page.section",
                                            "descendants": [
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.locationRef node.locationLink.name}}",
                                                        "matches": "true"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.link",
                                                            "props": {
                                                                "label": "{{node.locationLink.name}} ({{node.locationRef}})",
                                                                "link": "#/inventorySearch/location/{{node.locationRef}}?{{{currentUrlParams}}}"
                                                            }
                                                        }
                                                    ]
                                                },
                                                {
                                                    "component": "fc.conditional",
                                                    "props": {
                                                        "value": "{{and node.locationRef node.locationLink.name}}",
                                                        "matches": "false"
                                                    },
                                                    "descendants": [
                                                        {
                                                            "component": "fc.mystique.collapsible.text",
                                                            "props": {
                                                                "text": "{{node.locationRef}}",
                                                                "charCutoff": 100
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.lastOnHandQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "LAST_ON_HAND"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.loh.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.reservedQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "RESERVED"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.reserved.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.salesQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "SALE"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.sales.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.correctionsQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "CORRECTION"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.corrections.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.drawer.button",
                                            "props": {
                                                "label": "{{add node.deltaQuantities.sum 0}}",
                                                "color": "primary",
                                                "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.heading",
                                                "query": "query inventoryPosition($ref: String!, $catalogue: InventoryCatalogueKey!, $productCatalogue: ProductCatalogueKey, $quantityType: [String!]) {\n  inventoryPosition(ref: $ref, catalogue: $catalogue) {\n    id\n    ref\n    productRef\n    product(catalogue: $productCatalogue) {\n      ref\n      name\n    }\n    locationLink {\n      ref\n      name\n    }\n    quantities(type: $quantityType) {\n      edges {\n        node {\n          type\n          quantity\n          status\n          createdOn\n          updatedOn\n        }\n      }\n    }\n  }\n}\n",
                                                "variables": {
                                                    "ref": "{{node.ref}}",
                                                    "catalogue": {
                                                        "ref": "{{node.catalogue.ref}}"
                                                    },
                                                    "productCatalogue": {
                                                        "ref": "{{node.product.catalogue.ref}}"
                                                    },
                                                    "quantityType": "DELTA"
                                                },
                                                "descendants": [
                                                    {
                                                        "component": "fc.card.attribute",
                                                        "props": {
                                                            "title": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.title",
                                                            "dataSource": "inventoryPosition",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.product.label",
                                                                    "value": "{{product.name}} {{productRef}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.locationName.label",
                                                                    "value": "{{locationLink.name}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.card.summary.attribute.type.label",
                                                                    "value": "i18n:fc.uvoi.inventorySearch.index.list.column.delta.heading"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    {
                                                        "component": "fc.list",
                                                        "props": {
                                                            "defaultPageSize": 10,
                                                            "dataSource": "inventoryPosition.quantities",
                                                            "responsiveness": "card",
                                                            "attributes": [
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.quantity.label",
                                                                    "value": "{{node.quantity}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.status.label",
                                                                    "type": "component",
                                                                    "options": {
                                                                        "component": "fc.attribute.column",
                                                                        "props": {
                                                                            "contentColumnSetting": "fc.oms.inventory.search.inventory.quantity.history.status.column",
                                                                            "value": "{{status}}"
                                                                        },
                                                                        "dataSource": "node"
                                                                    }
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.created.label",
                                                                    "value": "{{dateStringFormatter node.createdOn}}"
                                                                },
                                                                {
                                                                    "label": "i18n:fc.uvoi.inventorySearch.index.list.column.drawer.list.column.updated.label",
                                                                    "value": "{{dateRelative node.updatedOn}}"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.onHand.heading",
                                        "value": "{{node.onHand}}"
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.stockStatus.heading",
                                        "type": "component",
                                        "options": {
                                            "component": "fc.attribute.column",
                                            "props": {
                                                "contentColumnSetting": "fc.oms.inventory.search.inventory.position.stock.status.column",
                                                "value": "{{status}}"
                                            },
                                            "dataSource": "node"
                                        }
                                    },
                                    {
                                        "label": "i18n:fc.uvoi.inventorySearch.index.list.column.updated.heading",
                                        "value": "{{dateRelative node.updatedOn}}"
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ]
}