CONTRACT PRICING


select * from account where name like '%Performance Testing%'

select * from trading where account_id=10561990 and state=1

select * from contract where contract_id=10602006

select * from termcond where trading_id in (select trading_id from trading where account_id=10561990 and state=1)


--Fixed Pirce

select * from offer where tradeposcn_id 

        in (select bigintfield1 from termcond where trading_id 

                in (select trading_id from trading where account_id=10561990 and state=1) and tcsubtype_id='PriceTCCustomPriceList')

                and catentry_id=30225


--Adjustment-----------------

select * from PRSETCEREL where productset_id in (

select productset_id from psetadjmnt where termcond_id in (

select termcond_id from termcond where trading_id in (select trading_id from trading where account_id=10561990 and state=1) 

and tcsubtype_id='PriceTCMasterCatalogWithFiltering')) and catentry_id=29587

Comments

Popular posts from this blog

Websphere Commerce Data Load using CSV \Websphere Commerce Data Load using XML

Websphere Commerce Catalog Subsystem

Calculation Framework in Websphere Commerce.