JwithaL
Technical User
- Jul 14, 2004
- 44
How do i write a command in the lookup.ini file that will allow a field to be populated if certain information is in 2 fields not just 1.
Instead of autoupdating our territory field based on either the state which is entered or for the the states that are split into 2... basing it off of the zip code. In dealing with international account some zip codes start off with the same 3 or so digits.
So I would like to write the file to populate the territory field if the state equals "xx" and the territory begins with "xxx"
Is this possible??? Here is a piece of the lookup.ini I created before to state the field names...
[AutoUpdate]
STATE=uTERRITORY
ZIP=uTERRITORY
[uTERRITORY]
Lookup1=STATE
Lookup2=ZIP
Lookup3=left(ZIP,2)
Lookup4=left(ZIP,3)
Lookup5=left(ZIP,4)
AZ=01
NM=01
NC=04
SC=04
DE=05
DC=05
MD=05
VA=05
Instead of autoupdating our territory field based on either the state which is entered or for the the states that are split into 2... basing it off of the zip code. In dealing with international account some zip codes start off with the same 3 or so digits.
So I would like to write the file to populate the territory field if the state equals "xx" and the territory begins with "xxx"
Is this possible??? Here is a piece of the lookup.ini I created before to state the field names...
[AutoUpdate]
STATE=uTERRITORY
ZIP=uTERRITORY
[uTERRITORY]
Lookup1=STATE
Lookup2=ZIP
Lookup3=left(ZIP,2)
Lookup4=left(ZIP,3)
Lookup5=left(ZIP,4)
AZ=01
NM=01
NC=04
SC=04
DE=05
DC=05
MD=05
VA=05