22: /*
23: * get the primary cost method. the primary cost method matches
24: * the code for the valuation cost type for that method.
25: * 26: * 1 = Standard costing/Frozen cost type 27: * 2 = Average costing/Average cost type
28: */
29: select primary_cost_method
30: into p_cost_method