kevind
Active Member
   

I was more than willing to "pony up", how b'out U?
Posts: 634
Gender:
|
If I understand you correctly, you want the total material cost of all of the components of a given item's Master BOM calculated at standard cost. The WOBOM file is where the Master BOM is copied when a Work Order is created. This allows you to make changes to only the BOM on a given WO for a specific production run. The Master BOM file is BKBMMSTR. If you do not want to rely on the rolled up costs in MTICMSTR for your parent item number, you could link the component item codes from BKBMMSTR to the MTICMSTR file. The costs for each component are contained in the MTIC_PROD_RCOST[x] fields. The exact field to use depends on which cost you want from the Item master record. I always have to look them up with Maintain Database to make sure I use the one I want. In your report, you could set up a simple sub-report in a hidden 'Report Header' section that populates a global variable with the sum of all costs on the BOM. To do this, you can create a Crystal SQL function that is the qty required from the BOM multiplied by the cost that you chose. You can then summerize this SQL field and set a global variable equal to it's value.
|