The DCC FileMaker solution as I inherited it was set up to handle priced products in the conventional manner: you'd select product from a dropdown list of products, it would look up the unit price for that product, multiply it by the quantity for that product and arrive at a calculated extended price based on unit price times quantity.
That's standard pricing, but the problem was that DCC didn't actually use standard pricing at all, so the resultant numbers were not useful to the Financial Department. The actual pricing for some products depended on:
When the NY JobTicket structure was revamped in the major rearchitecturing, this included replacing the standard pricing with a routine that would input the correct unit price for the product line as it was being entered.
Developing a pricing structure that would handle the variations of DCC's price structure, without depending on a horrendously cumbersome script or field definition chock-full of cascades of "If this, then that, if this other thing, then this instead" logic, was one of the more interesting challenges I encountered while working on this solution. (It uses a two-phase lookup routine, triggering one lookup when the product name is entered which sets parameters limiting what can be looked up when the quantity is confirmed. A default price for each product-variant is found if no client-specific price exists).