Price table
pricesRead the price table of the company. what=table: every product with its standard price, the price per customer group and the customers with a price of their own; tiers: each price tier with its name, percent_off (Standard less; none: Own prices) and customers; breaks: the quantity breaks and suppliers' prices. what=for: the price of item_code for customer on a day (the customer's own price wins, then the group's, then the standard; at each, the product's own price before its product group's; round 1106: quantity, the highest quantity break it reaches, price_from says which). what=matrix: customers down the side, products across (in the order of their product group), each cell the price that holds and where it comes from; margins=true adds each piece's cost and the margin. what=check_in: the weekly check: invoices of the last weeks whose price is not the price on file, products sold without a price on file, and prices older than a year, so the owner can say whether new prices were agreed. It reads only; what=products: the product list for a line (q finds any part of the name or code, "gran" finds granola) with the price, VAT code and account a line for customer takes. Reads only. An invoice line that names item_code and no unit_price takes its price from this table. Round 920: what=costs: every product's unit cost on the day (on), with item_code its history; what=margin_rules: the margin thresholds and the margin rules; what=freight: the freight bills from on_from to on (a month when left out), each with the orders it carried: confirmed by a person, on the invoice, or proposed by a freight rule, and the proposal that waits for approval (orders, split_by, each order's share). Reads only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| on | No | ||
| what | No | table | |
| company | No | ||
| margins | No | ||
| on_from | No | ||
| customer | No | ||
| quantity | No | ||
| item_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||