File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -547,6 +547,25 @@ deposit.payment = 20
547547deposit.add
548548```
549549
550+
551+ ## Initialize Fulfillment from Sales Order with Multi Ship Enabled
552+
553+ ``` ruby
554+ # You can initialize a fulfillment by specifying an auxReference to retrieve a specific Ship Group
555+ # This will return a fulfillment with line items linked to said ship group which is associated to
556+ # a specific location.
557+ aux_reference = {
558+ aux_reference: {
559+ internal_id: 1 , # Ship Group IDs can be found on Line Items on the Sales Order
560+ type: " shippingGroup"
561+ }
562+ }
563+
564+
565+ fulfillment = NetSuite ::Records ::ItemFulfillment .initialize (@sales_order , aux_reference)
566+ ```
567+
568+
550569## Non-standard Operations
551570
552571``` ruby
@@ -570,4 +589,4 @@ states.to_array.first[:get_all_response][:get_all_result][:record_list][:record]
570589
571590# About SuiteSync
572591
573- [ SuiteSync, the Stripe-NetSuite integration] ( http://suitesync.io ) uses this gem and funds the majority of it's development and maintenance.
592+ [ SuiteSync, the Stripe-NetSuite integration] ( http://suitesync.io ) uses this gem and funds the majority of it's development and maintenance.
You can’t perform that action at this time.
0 commit comments