18 lines
519 B
Markdown
18 lines
519 B
Markdown
minimal setup to run a single pricing call:
|
|
```sql
|
|
EXEC pricing.single_price_call
|
|
@bill = 'GRIF0001',
|
|
@ship = 'GRIF0001',
|
|
@part = 'XNS0T1G3G18B096',
|
|
@stlc = 'XNS0T1G3',
|
|
@v1ds = 'v1:T..PLT..',
|
|
@vol = 9600;
|
|
```
|
|
|
|
1.) make sure pricing schema is setup
|
|
2.) create target table: target_prices.ms.sql
|
|
3.) populate targets: target_prices_copy.ms.sql
|
|
4.) create history table: lastprice.ms.sql
|
|
5.) populate history: make_hist.ms.sql
|
|
6.) create proc: single_price_call.ms.sql
|