ContactDownload

Advice and Support Centre

Announcement

Recent posts

Current Status

Price increases 2026

Not commonly downloaded

Latest update for all users

Getting Help With Packing Partner

Registering a user account

#1 11-08-2014 12:20 pm

andypand
Member
andypand

Script problem after upgrading to IE11

A while ago you provided us with the following custom function to run within scripting for a custom picking list -

 Function Print_PickingRow(ByVal Item As ItemStruct) As String
         Return String.Format("({0}) {1}<br><font size=1>{2}</font>", Item.Quantity, Item.Location, Item.FullLocal)
     End Function

With PP running IE9 this output the Picking List as follows -

(1) Straps:N:S36557-T9
Military Black Nato Watch Strap G10 20mm
(4) Straps:N:S36558-T9
Military Black Nato Watch Strap G10 22mm
(2) Straps:N:S36559-T9
...etc

However since upgrading to IE11 to solve another problem as per your advice on a previous post the output does not display correctly anymore and is shown as -

(1) Straps:N:S36557-T9
Military Black Nato Watch Strap G10 20mm(4) Straps:N:S36558-T9
Military Black Nato Watch Strap G10 22mm(2) Straps:N:S36559-T9
...etc

 To solve this simple formatting problem we assumed we just needed to insert another <BR> after the </Font>
tag in the function but when tried Packing Partner displays 'No pages to print' when we try and print the Picking List.

Please advise how to amend the function to correct the Picking List format to our original layout.
 

Offline

#2 12-08-2014 12:08 pm

pepsi_max2k
Member
pepsi_max2k

Re: Script problem after upgrading to IE11

@andy,

Try the following, one of which may or may not work...

Function Print_PickingRow(ByVal Item As ItemStruct) As String
         Return String.Format("({0}) {1}<br /><font size=1>{2}</font><br />", Item.Quantity, Item.Location, Item.FullLocal)
     End Function


Function Print_PickingRow(ByVal Item As ItemStruct) As String
         Return String.Format("({0}) {1}<br /><font size=1>{2}</font><br /><br />", Item.Quantity, Item.Location, Item.FullLocal)
     End Function


Function Print_PickingRow(ByVal Item As ItemStruct) As String
         Return String.Format("<p>({0}) {1}<br /><font size=1>{2}</font></p>", Item.Quantity, Item.Location, Item.FullLocal)
     End Function

Offline

#3 12-08-2014 12:09 pm

pepsi_max2k
Member
pepsi_max2k

Re: Script problem after upgrading to IE11

also if you can provide the result of what each does, that might be helpful...

Offline

#4 12-08-2014 02:55 pm

andypand
Member
andypand

Re: Script problem after upgrading to IE11

Option 1 of replacing <br> with <br/> and inserting <br/> after the </font> tag worked, so did not try the other 2 options.

Many thanks for your help.

Offline

#5 13-08-2014 08:45 am

andypand
Member
andypand

Re: Script problem after upgrading to IE11

After collecting orders this morning we are still experiencing a problem with the Picking List on AMAZON orders.

EBAY is okay and we are able to print a custom picking list as expected. However when trying to print a picking list for AMAZON PP reports 'No pages to be printed'.

If we select AMAZON records individually or in small groups a picking list is generated but if we select ALL records or select every record manually a picking list is not produced and we get 'No pages to be printed'

Obviously a temporary work around is pause the custom script for the Picking List for AMAZON orders and PP will print a default Picking List but this is not ideal.

Any suggestions on why EBAY Custom Picking lists work but not AMAZON??

Offline

#6 13-08-2014 09:19 am

andypand
Member
andypand

Re: Script problem after upgrading to IE11

UPDATE ... Just downloaded another 60 EBAY records and now PP says 'No pages to be printed' when trying to print Picking List. In summary sometimes it works and sometimes it doesn't on both EBAY & AMAZON.

I have also tried the other 2 suggestions in amending the script but neither solves the problem.

 

Offline

#7 13-08-2014 10:08 am

Andrew
Admin
Andrew

Re: Script problem after upgrading to IE11

Can you contact directly by email about this as we probably need to connect to you and have a look.

Offline

Board footer