Cost Lookup Hierarchy in WMS

In WMS, costs are tracked against estimating items. When estimating items are replicated from Sage Timberline® Estimating, WMS creates a unique item in the TLPE_ITEMS table based on phase number, item number and PE Category. A unique ID (called TLPE_ITEMS_ID), is assigned to each item and this ID links the items to the costs in the Cost Management screen. When WMS needs to look up the cost for a specific item (using the TLPE_ITEMS ID), the supplier number and area number are also required.

 

In Purchasing, the area number is determined from the current job, and the supplier number is determined by the item's assigned purchasing activity. In Sales Pricing, the area number is determined by the models/options' assigned area, and the supplier is determined by the default supplier for the item's assigned purchasing activity. The cost lookup process follows a hierarchy described below.

 

First Step

WMS looks for the item's cost using the TLPE_ITEMS_ID and nominated supplier and area. If a cost is found, this cost is used and the lookup is complete.

 

Both of the following scenarios override the cost lookup process for Issue Budgets/Purchase Orders:

 

Second Step

If a cost is not found in the first step, WMS looks for the item's cost using the TLPE_ITEMS_ID and nominated supplier for the default division. If a cost is found, this cost is used and the lookup is complete.

 

Third Step

If a cost is not found in the second step, WMS looks for the item's cost using the TLPE_ITEMS_ID and nominated supplier for the default company. If a cost is found, this cost is used and the lookup is complete.

 

Fourth Step

If a cost is not found in the third step, WMS attempts to locate a cost using the master purchasing activity (refer to the topic, Assigning a Master Purchasing Activity). Using the purchasing activity assigned to the item, WMS determines if a master purchasing activity is assigned. If no master purchasing activity is assigned, no further lookup is performed. If a master purchasing activity exists, WMS attempts to locate an item in the TLPE_ITEMS table which has a matching item number and is assigned to the master purchasing activity. WMS then uses the TLPE_ITEMS_ID from the first matching item found, and looks up costs for the item using this TLPE_ITEMS_ID and nominated supplier and area. If a cost is found, this cost is used and the lookup is complete.

 

Fifth Step

If a cost is not found in the fourth step, WMS looks for the item's cost using the new TLPE_ITEMS_ID and nominated supplier for the default division. If a cost is found, this cost is used and the lookup is complete.

 

Sixth Step

If a cost is not found in the fifth step, WMS looks for the item's cost using the new TLPE_ITEMS_ID and nominated supplier for the default company. If a cost is found, this cost is used and the lookup is complete.

 

Final Step

If a cost is not found in any previous step, WMS will return a cost based on the user's selected Refresh Costs Option (e.g. Use Estimate Unit Cost, Use Existing Unit Cost or Set Unit Costs to Zero). Refer to the Refresh Costs topic for more information.