Weighted Average Stock Issue
bpj_weighted_average_stock_issuePool two stock lots at weighted-average cost before allocating the issue cost and residual inventory value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"first": "<first>",
"firstCost": "<firstCost>",
"second": "<second>",
"secondCost": "<secondCost>",
"issue": "<issue>"
},
"name": "bpj_weighted_average_stock_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | Yes | ||
| issue | Yes | ||
| second | Yes | ||
| firstCost | Yes | ||
| secondCost | Yes |