u
This commit is contained in:
18
API.order.md
18
API.order.md
@@ -127,6 +127,24 @@ const orders = await store.order.list(42);
|
||||
// => [{ id, number, type, entityId, externalNumber, date, createdAt, lines: [...] }]
|
||||
```
|
||||
|
||||
## `order.rebuildSummaries`
|
||||
|
||||
*Source: `src/store/order/rebuildSummaries.js`*
|
||||
|
||||
Rebuilds the `ordersummary` table for the user's selected company.
|
||||
|
||||
**Parameters**
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `provider` | `import('../../providers/provider.js').DatabaseProvider` | |
|
||||
|
||||
## `order.syncSummary`
|
||||
|
||||
*Source: `src/store/order/syncSummary.js`*
|
||||
|
||||
Centralized sync and rebuild logic for the materialized `ordersummary` table.
|
||||
|
||||
## `order.update`
|
||||
|
||||
*Source: `src/store/order/update.js`*
|
||||
|
||||
Reference in New Issue
Block a user