Label Control File - IF THEN ELSE ???

2 years 2 months ago #665 by
Have looked through the documentation and so far have not found a direction or solution. Have a ASN lable that needs to print a UPC code if the pack is not mixed and nothing if it is mixed. Using the ALTKEY1 tag for the UPC code. When mixing a pack it generates the data for the first item in the pack. Is there a way to handle this within the label control file?

Please Log in or Create an account to join the conversation.

2 years 2 months ago #666 by rfosberg

Then I had to select the customer so I added this set

Then this is the one I use to print the Mixed label format
[IF] {LBLSEL2} = "M-CAT"
%BTW% /AF="C:\SysproEDI\Labels\CatShipAddrM.btw" /R=4 /P /D="%Trigger File Name%"

I use the above to determine if the Label is a mixed label or not.

Then I determine which customer is and then finally I combine the 2 variables together and use that to then select which label format to print.

I do not know if there has been better functionality added since the time I did this or not but this is how I solved the issue.

Please Log in or Create an account to join the conversation.

1 year 2 weeks ago - 1 year 2 weeks ago #688 by
Dear Friends at BTPartners,

I solved this problem. I'm producing MIXED load labels without the UPC codes. Feel free to reach out to me and I can send you a sample of what environment I'm working in and what my solution was. I would be happy to share the knowledge.

I do not use the {1STMIXED} token. I had to rely of on a different method.

Alex Armstrong
This email address is being protected from spambots. You need JavaScript enabled to view it.
Last edit: 1 year 2 weeks ago by Reason: Missed a line.

Please Log in or Create an account to join the conversation.

Moderators: JohnMcDonelasner
Time to create page: 0.357 seconds
Powered by Kunena Forum


Since 1991, as developer of the standard EDI, Shipping, and Freight Calculator Solutions for SYSPRO, our products are fully integrated with SYSPRO and drive efficiencies for hundreds of users worldwide.


For 35 years, SYSPRO has had a single product focus resulting in an award-winning ERP system with a track record of success for over 14,000 customers worldwide.