You are not logged in.
Pages: 1
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
@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
also if you can provide the result of what each does, that might be helpful...
Offline
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
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
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
Can you contact directly by email about this as we probably need to connect to you and have a look.
Offline
Pages: 1