MarketMan Sales Export Overview
This document will contain information specific to the MarketMan sales export template. For general information about the Data Extraction Service and it's API please see the general purpose documentation
Job Run Parameters
This template supports filtering against the DBGen range of finalised ZReports. Only sales data belonging to ZReports in the specified DBGen range will considered during a jobrun.
Parameter Definitions
| Parameter | Type | Description |
|---|---|---|
| DBGenFrom | Number (required) | The (inclusive) start of the DBGen range which will be used to filter ZReports and their sales data. |
| DBGenTo | Number (optional) | The (inclusive) end of the DBGen range which will be used to filter ZReports and their sales data. If unspecified the current latest DBGen from the server will be used. |
| TradingDate | DateTime (optional) | The specific trading date to rexport historical data |
TradingDate Usage
TradingDate is designed to be used independent of DBGen range filtering. Specify EITHER a DBGen range OR a TradingDate.
Auto Value Considerations
DBGenFrom supports auto values which (when executing an auto value job run) will update to the value supplied at DBGenTo (or the latest DBGen from the sales data). When DBGenFrom is set to use an auto value it will use the value of the auto value + 1 to ensure that repeated executions will never export already exported sales data.
Output Files
| File | Format | Description |
|---|---|---|
| summary.json | JSON | Encoded summary of the ZReports/SalesTransactions uploaded to MarketMan |
Overview
This export template primarily interacts with the MarketMan API and will create a Sales Period Container corresponding to every ZReport found in the DBGen range. These containers will be populated with Checks generated from corresponding PowerEPOS SalesTransactions. The following data will be mapped:
- SalesTransactionItems (for standard products, condiments etc).
- Adjustments (Only the adjustment amounts).