price_api/new_targets/basic_setup/setup.md
2025-07-28 15:03:18 -04:00

519 B

minimal setup to run a single pricing call:

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