Proposal For Button To Create shipping Label

Proposal summary

This proposal covers the scope to add a print button on the Item fulfilment record to print the Shipping Label.

Requirement 

To add a “Print” button on the item fulfilment form which will allow printing of the Shipping Label. The given template is: “GCL Shipping Label” and the template id is ‘CUSTTMPL_SHIPLABEL’, it is of the type Saved Search: Shipping Label. 

Our Solution

The requirement can be achieved by adding a “PRINT SHIPPING LABEL” button on the item fulfilment record in view mode to take the print of the Shipping Label. Upon clicking on the button script will generate a shipping label and it will open on the new window in print mode. The print will be generated with the template “GCL Shipping Label” by fetching the data from the Saved Search: Shipping Label (ID: customsearch_shippinglabel).

Note

  • The Shipping Label Print button will display on all Item Fulfillment records without any conditions. 
  • The search result will be filtered with the current Item Fulfillment ID.
  • If the search result is empty then the script will display an alert message to the user without generating the print.

Risks 

  • We will use the script SIT LPC TXN Trigger V2 as a reference for the proposed solution.
  • The script will only generate the Shipping label to open on the new window in print mode.
  • There will not be any updates on the shipping label PDF Template

Leave a comment

Your email address will not be published. Required fields are marked *