I am using Sage 100 version 2013. I have a report that uses the IM_ transactionHistory, CI_item,and IM_itemwarehouse files that are all equally joined. I am grouping on the item number in the transaction file. The detail information is suppressed but it includes the item number, transaction date, warehouse code, customer number (formula for department and number), sales quantity, price and cost . All of the detail records are from IM_transactionHistory file. The group footer is the item number from the IM_transactionHistory, the summary of the total sales and quantity from detail section, description from CI_Item and quantity on PO and 3 formulas for quantity on hand for warehouse from the IM_ItemWarehouse file.Below is how I want the warehouse quantity on hand to look item number Description QTY on Hand Warehouse 1 Qty on Hand Warehouse 2 QTY on Hand Warehouse3 I have tried multiple formulas with string and number variables if then statements, but my end result is always the same. The quantity is correct if the item only has one warehouse with quantity on hand. If there are more than one warehouse with quantity on hand it only shows the last warehouse amount and balance. I need a formula that will look at the record and if the warehouse code = 1 then print the quantity on hand for warehouse 1 in column A, if warehouse code = 2 then print the quantity on hand for 2 in column B etc. Any suggestions would be appreciated!!
↧