Topic Options
#23477 - 08/04/10 11:15 AM Conditionally set a Label value in a spec
Samuel Kopstick Offline
Adagio Maestro

Registered: 06/15/07
Posts: 920
Loc: GTA & North America (Remote Su...
We have a Label that we place on the O/E forms (Invoice, Cr Note, Packing Slip, etc) for the Company Name.

We would like to build some logic into this label, as follows:
- If the Customer # begins with the letter “A” (e.g. A10001) the label should display “AAA Corporation”
- Otherwise, the label should display “ABC Company”

Can this be done?
Samuel
_________________________
Samuel Kopstick
S Kopstick & Associates Inc
Toronto, ON

Top
#23479 - 08/04/10 11:27 AM Re: Conditionally set a Label value in a spec [Re: Samuel Kopstick]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11532
Loc: Vancouver, BC Canada
Hi, Samuel,

That type of logic can't be used within the specification designers. The information is pulled from a specific field only, eg. the Company Profile for the Company Name or the Customer record for the Customer Name or ShipTo Name/description (assuming AR9.0A is in place).
_________________________
Regards,
Softrak Tech Support

Top
#23481 - 08/04/10 12:25 PM Re: Conditionally set a Label value in a spec [Re: Softrak Support]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
However, you can assign a specific spec to a customer, so you can have two specs with different names in them.
_________________________
Andrew Bates

Top
#23484 - 08/04/10 01:03 PM Re: Conditionally set a Label value in a spec [Re: Retired_Guy]
Samuel Kopstick Offline
Adagio Maestro

Registered: 06/15/07
Posts: 920
Loc: GTA & North America (Remote Su...
I learned something new today (which is not so unusual)!

Andrew, I can code all my "A" customers with their special spec for Invoices (and other forms as well), and leave all the other Customers with no Spec.
When we generate the Invoices, I see that Customer specs takes precedence over the O/E default spec.

But this is only the case when I print the form and change Specification option to: Use current customer specification.

Finally, I can get Adagio to “remember” to always Use current customer specification if I set: Remember form settings to Yes in the Company Profile.

Thank you both, Tech Support and Andrew, for your valuable responses.
_________________________
Samuel Kopstick
S Kopstick & Associates Inc
Toronto, ON

Top
#23529 - 08/08/10 06:38 AM Re: Conditionally set a Label value in a spec [Re: Samuel Kopstick]
Douglas Dickie Offline
Adagio God

Registered: 06/02/99
Posts: 4413
Loc: Vancouver, BC
PrintBoss can also complete printing tasks based upon a conditional statement.
_________________________
Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (AudreyQuick), 62 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14458 Topics
70634 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30