This article describes how to configure application styles.
Style configuration
The folder with predefined default styles is located in: Comarch Warehouse\AppData\Default\ViewStyles. It contains the following *.xml files with the predefined styles used for:
- Inventory order list: InventoryOrdersViewStyle.xml
- Inventory orders: InventoryOrderViewStyle.xml
- Inventory requisition line items: InventoryRequisitionPositionViewStyle.xml
- Inventory requisition list: InventoryRequisitionsViewStyle.xml
- Inventory requisitions: InventoryRequisitionPositionViewStyle.xml
- Loading unit contents: LoadingUnitDetailsViewStyle.xml
- Loading unit list: LoadingUnitsViewStyle.xml
- Loading units: LoadingUnitViewStyle.xml
- Locations: LocationsViewStyle.xml
- Picking order list: PickingOrdersViewStyle.xml
- Picking orders: PickingOrderViewStyle.xml
- Base view of a process step: ProcessViewStyle.xml
- Production issue list: ProductionIssuesViewStyle.xml
- Production issues: ProductionIssueViewStyle.xml
Examples of possible style configuration settings
Color change: The example shows how to change the default sorting order to a descending order based on a document number. The modification should be made in the InventoryOrdersViewStyle.xml file (SortColumn parameter).
<Text Align="Left" Bold="true" Width="50%" Value="{Type}-{Number}"/>
<Text Align="Right" Value="{ActualGrossWeightKg} {ActualGrossWeightUnit}" />
<Filter Option="Editable" Visible="true" VisibleEditable="true">
<Style Id="DocumentsListStyle" SortColumn="Number" SortDirection="Asc" AutoSelect="true">