Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. delete from bprl_fifotransaction where m_costing_id in (select m_costing_id from m_costing where m_product_id='1d36c1b51c31030905eff3cc50b40eae');
  2. delete from m_costing where m_product_id='1d36c1b51c31030905eff3cc50b40eae';
  3. update m_transaction
  4. set transactioncost=null, iscostcalculated='N', c_currency_id=null, costing_status='NC', isprocessed='N', m_costing_algorithm_id=null
  5. where m_product_id='1d36c1b51c31030905eff3cc50b40eae';
  6. delete from bprl_fifotransaction where m_costing_id in (select m_costing_id from m_costing where m_product_id='65CAB3EADE974FD284F9491DB16BA176');
  7. delete from m_costing where m_product_id='65CAB3EADE974FD284F9491DB16BA176';
  8. update m_transaction
  9. set transactioncost=null, iscostcalculated='N', c_currency_id=null, costing_status='NC', isprocessed='N', m_costing_algorithm_id=null
  10. where m_product_id='65CAB3EADE974FD284F9491DB16BA176';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement