Ability to change the Extend Price Calculation in Order Entry

Hi,

Is it possible to change the Extend Price Calculation in Order Entry?

Right now, our products are sold by the item number and the length. For example, a wood pole may have an item number called,"WP". We cut the WPs based upon the customer's request. In Sage 300, we have to create a new item number for every length. This creates several item numbers in our system. Right now we have WP1 to WP50 for each length we cut the WPs. The number represents lengths from 1 foot to 50 feet. In our system, we show 50 items, but we really only have 1 item that we cut to order.

To make it easier, we would like to create a custom field called LENGTH. We then would like to take that field and use it in the Extend Price Calculation. For example, the standard calculation is QTY * PRICE = EXTENDED PRICE. We want to change it to QTY * PRICE * LENGTH = EXTENDED PRICE. Is this possible? If so, does anyone have recommendations how to do this?

Any Suggestions would be appreciated.