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 @@ -527,6 +527,25 @@ deposit.payment = 20
527527deposit.add
528528```
529529
530+
531+ ## Initialize Fulfillment from Sales Order with Multi Ship Enabled
532+
533+ ``` ruby
534+ # You can initialize a fulfillment by specifying an auxReference to retrieve a specific Ship Group
535+ # This will return a fulfillment with line items linked to said ship group which is associated to
536+ # a specific location.
537+ aux_reference = {
538+ aux_reference: {
539+ internal_id: 1 , # Ship Group IDs can be found on Line Items on the Sales Order
540+ type: " shippingGroup"
541+ }
542+ }
543+
544+
545+ fulfillment = NetSuite ::Records ::ItemFulfillment .initialize (@sales_order , aux_reference)
546+ ```
547+
548+
530549## Non-standard Operations
531550
532551``` ruby
@@ -550,4 +569,4 @@ states.to_array.first[:get_all_response][:get_all_result][:record_list][:record]
550569
551570# About SuiteSync
552571
553- [ SuiteSync, the Stripe-NetSuite integration] ( http://suitesync.io ) uses this gem and funds the majority of it's development and maintenance.
572+ [ 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