diff --git a/README.md b/README.md index a6332fbe4..cb7e154ad 100644 --- a/README.md +++ b/README.md @@ -547,6 +547,25 @@ deposit.payment = 20 deposit.add ``` + +## Initialize Fulfillment from Sales Order with Multi Ship Enabled + +```ruby + # You can initialize a fulfillment by specifying an auxReference to retrieve a specific Ship Group + # This will return a fulfillment with line items linked to said ship group which is associated to + # a specific location. + aux_reference = { + aux_reference: { + internal_id: 1, # Ship Group IDs can be found on Line Items on the Sales Order + type: "shippingGroup" + } + } + + + fulfillment = NetSuite::Records::ItemFulfillment.initialize(@sales_order, aux_reference) +``` + + ## Non-standard Operations ```ruby @@ -570,4 +589,4 @@ states.to_array.first[:get_all_response][:get_all_result][:record_list][:record] # About SuiteSync -[SuiteSync, the Stripe-NetSuite integration](http://suitesync.io) uses this gem and funds the majority of it's development and maintenance. \ No newline at end of file +[SuiteSync, the Stripe-NetSuite integration](http://suitesync.io) uses this gem and funds the majority of it's development and maintenance.