select * from mtl_material_transactions where costed_flag = 'E';
select *
from org_acct_periods where acct_period_id=13481
--where period_name like 'JUL-14'
select transaction_id,creation_date,organization_id,transaction_date,acct_period_id
from mtl_material_transactions where costed_flag = 'E';
UPDATE mtl_material_transactions
SET acct_period_id = 13406,
costed_flag = 'N',
transaction_group_id = NULL,
transaction_set_id = NULL,
ERROR_CODE = NULL,
error_explanation = NULL
WHERE costed_flag = 'E'
AND acct_period_id = 13443
AND ERROR_CODE = 'CST_MATCH_DATE_PERIOD'
AND organization_id = 317
AND transaction_id = 4146439;
Update MTL_MATERIAL_TRANSACTIONS
set COSTED_FLAG = 'N', TRANSACTION_GROUP_ID = NULL
where COSTED_FLAG = 'E' or COSTED_FLAG = 'N';
select count(*) from MTL_MATERIAL_TRANSACTIONS where COSTED_FLAG = 'E' or COSTED_FLAG = 'N';
0 comments :
Post a Comment
Note: Only a member of this blog may post a comment.