-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Glenna Mowry edited this page Aug 25, 2015
·
6 revisions
- Unknown Client Error You will see something similar to this in the papertrail
Aug 25 13:11:46 floship-production app/beatworker.1: [2015-08-25 13:11:46,252: ERROR/Worker-3] NetSuite resource client ID (97) does not exist in our system. Add this client immediately
This means a client has been added on NS but not on jackrabbit. Follow these instructions to add them and sync their orders:
- Log in to NetSuite and proceed to the list of our clients: https://system.netsuite.com/app/common/custom/custlist.nl?id=47
- Find the client associated with the number from the papertrail error (in this case, 97)
- Copy the client's name, paste it into the search box at the top of the page and search for the client
- In a separate window/tab, open the Floship admin backend.
- Navigate to Clients, and hit '+Add New Client'
- Input the required information (name, status=active, default3pl) from their information in NS as a Client.
- After they are created as a client, navigate to Users in the Floship admin backend.
- Create a new User connected to the client, setting their email as the email address found in NS.
- After you've created the new client and user, create a new ClientSync_mapper on the backend
- The three ids needed coincide to these three ids in NS
| Floship Backend | NetSuite |
|---|---|
| Items_sync id | client id (from the original list https://system.netsuite.com/app/common/custom/custlist.nl?id=47 ) |
| orders_id | internal id |
| vendor_id | internal id of vendor |
To find the vendor id, click the link for 'vendor' on the client page in NS. The id will be in the url of the vendor.
- In terminal, run
heroku run ./manage.py shell -r productionfrom items_sync.tasks import refresh_client_itemsTheir floship_client_id is found in the url when you click on the company in Clients on the backend.refresh_client_items(#floship_client_id)Watch the terminal to verify that the items from that client have synced properly Exit terminal