Table of Contents

{$page}

The purpose of this document is to demonstrate how to force a price per square foot override using a modifier.

Concept

Basic Discussion of Approach

Cautions

Warning or areas where the approach might not work as expected

Steps

  1. Create the modifier, name it SQFTOverride.
  1. Define your Question/Label something like “SqrFt Override:”
  1. Default entry option should be a numeric spinner.
  1. Go to PRODUCTS tab and add which ever product(s) you wish to add the modifier to.
  1. You may ignore other tabs, SAVE modifier.
  1. Go to whichever product you added the modifier to: Setup\System Setup\All Pricing Setup\Products
  1. For this example, we are using Roll Sign Print.
  1. Click on the products PRICING tab.
  1. Select EDIT.

code_formatsql

if MODIFIERVALUE(“SQFTOverride”) 0 then printedarea in unitarea * MODIFIERVALUE(“SQFTOverride”) else

IF ListPriceValue(PricingMethod) = 1 then

AreabasedPrice + AreaBasedMountingPrice + AreaBasedCuttingPrice + AreabasedLaminatePrice

+ AreabasedFinishingPrice

Else PartBasedPrice EndIf

endif

code

This document is complete.

Source

Contributor: Peter, Cyrious

Date: 12/01/2010

Version: Control 4.5

See Also