Skip to content

Instantly share code, notes, and snippets.

@zsy715
Last active May 19, 2020 03:08
Show Gist options
  • Save zsy715/981cc2ac92613b0214784ddefe85f3e6 to your computer and use it in GitHub Desktop.
Save zsy715/981cc2ac92613b0214784ddefe85f3e6 to your computer and use it in GitHub Desktop.

We have 3 versions of shipping method/shipping preferences/carrier code

  1. orders from magento: it's called shipping preference. eg. ups_twodayair, ups_ground
  2. orders in BBOP-SHIPMENTS: it's also called shipping method(mapped with shipping preference). eg. 02, 03C
  3. CSH from warehoue: it's called carrier_code

For order 130342984

  • magento order with shipping_preference ups_ground
  • BBOP translates it to shipping_method 03C exported to warehouse
  • warehouse returned carrier_code 03C in CSH

For order 130265936

  • magento order with shipping_preference ups_onedayair
  • BBOP translates it to shipping_method 13 exported to warehouse
  • warehouse returned carrier_code 03C in CSH

For order 130380344

  • magento order with shipping_preference ups_twodayair
  • BBOP translates it to shipping_method 02 exported to warehouse
  • warehouse returned carrier_code 03C in CSH (I also see warehouse returned 02 such as 130377941)

So CSH contains shipping code which reflects how warehouse ships things in real world

947 = ADJ

944 = RC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment