Skip to content

ZohoInventory-Support/Auto-Create-Packages-for-Sales-Orders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Auto-create-packages-for-Sales-Orders

Creates Package right after an order is created.

Steps

1. Create Custom function

Settings > Automations > Custom Functions > New Custom Function

Module: Sales Order

Copy and paste the script Auto-create-packages-for-Sales-Orders.

Create connection for Zoho Inventory - zilink

2. Create workflow

Settings > Automations > Workflow Rules > New Workflow Rule

Module : Sales Order

Workflow Type : Event Based

When an Invoice is: Created

Choose the appropriate custom function in the Action.

Save the workflow. On each SO creation workflow automatically creates the package.

According to this code Package number is created as "PKG" suffixed by Sales order number. If you want package number to be generated automatically, then please comment out line number 17 in the code //bsonmr.put("package_number","PKG-"+salesorderNum);

About

This Custom function automatically creates package right after Sales order is created

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors