So, we want to set a handling charge when the ship to customer has a pay account. That works (using the condition in line one).
A new request was added, however, and I can’t get that to work. This request asks that a handling charge be applied to everyone with a pay account EXCEPT CustNum 1119 when using their ShipToNum 4 (this ship to for this customer has a pay account, but should not be charged a handling fee).
I thought I added this logic correctly (see lines 2 and 3 below), however a handling charge will never be applied to CustNum 1119… that is, all of their ship tos with pay accounts SHOULD get a handling charge except their ship to #4. With this current logic, none of their ship tos get a handling charge.
For all other customers it works. I can choose a ship to and if it has a pay account, a handling charge is applied. If no pay account, no handling charge.
I thought the Prefix and Postfix would allow me to exclude just this (CustNum+ShipToNum) combo, but it doesn’t work. What am I missing? The ShipToNum field is a nvarchar, so I’m using the “not equal to”… is that the issue? does this need to be used only on int?