Here are the queries I use when troubleshooting cost tier availability. The first set looks at all unposted tiers, and the second set looks for orphaned data (where the transaction header is missing). If you don't find blocking data with the first set of queries, rebuilding sort files within IM (saying Yes to the prompt) should recalculate tier Committed quantities.
select * from BM_ProductionTierDistribution;
select * from BM_DisassemblyTierDistribution;
select * from IM_TransactionTierDist;
select * from SO_InvoiceTierDistribution;
select * from SO_SalesOrderTierDistribution;
select * from PO_ReceiptTierDistribution;
select * from PO_ReturnTierDistribution;
select * from BM_ProductionTierDistribution where ProductionNo not in (select ProductionNo from BM_ProductionHeader);
select * from BM_DisassemblyTierDistribution where DisassemblyNo not in (select DisassemblyNo from BM_DisassemblyHeader);
select * from IM_TransactionTierDist where EntryNo not in (select EntryNo from IM_TransactionHeader);
select * from SO_InvoiceTierDistribution where InvoiceNo not in (select InvoiceNo from SO_InvoiceHeader);
select * from SO_SalesOrderTierDistribution where SalesOrderNo not in (select SalesOrderNo from SO_SalesOrderHeader);
select * from PO_ReceiptTierDistribution where ReceiptNo not in (select ReceiptNo from PO_ReceiptTierDistribution);
select * from PO_ReturnTierDistribution where ReturnNo not in (select ReturnNo from PO_ReturnHeader);
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------