Sales Order
All fields available for a new Sales Order
The list and structure of a Custom URL with all possible fields, including those for Line Items that are drawn from Child Records, utilized is below.
Transaction Level Fields
Field | URL Param Name | Description |
|---|---|---|
Billing Schedule | billing_schedule | Internal ID of the Billing Schedule |
Class | class | Internal ID of the Class |
Created From | created_from | Internal ID of the Estimate |
Currency | currency | Internal ID of the Currency |
Custom Form | custom_form | Internal ID of the Custom Form |
Date | date | Defaults to the current date |
Department | department | Internal ID of the Department |
Discount Item | discount_item | Internal ID of the Discount Item |
Discount Rate | discount_rate | To have the discount subtracted from your total, enter a negative currency amount (for example -10.00) or a negative percentage (for example -10%). |
External Id | external_id |  |
Handling Cost | handling_cost |  |
Location | location | Internal ID of the Location |
Memo | memo |  |
PO # | other_ref_num |  |
Sales Effective Date | sales_effective_date |  |
Sales Rep | sales_rep | Internal ID of the Employee. You can't set this field when the Team Selling feature is enabled in NetSuite. |
Ship Method | ship_method | Internal ID of the Shipping Method |
Shipping Cost | shipping_cost |  |
Start Date | start_date |  |
End Date | end_date |  |
Terms | terms | Internal ID of Terms |
Bill To Address by Internal ID | bill_address_list | Select from Customer Addresses by Internal ID. Default to Customer Billing Address |
Ship To Address by Internal ID | ship_address_list | Select from Customer Addresses by Internal ID. Default to Customer Shipping Address |
Billing Addressee | billing_addressee |  |
Billing Attention | billing_attention |  |
Billing Address 1 | billing_addr1 | Limits to 150 characters |
Billing Address 2 | billing_addr2 | Limits to 150 characters |
Billing City | billing_city |  |
Billing State/Province | billing_state |  |
Billing Country | billing_country |  |
Billing Zip | billing_zip |  |
Shipping Attention | shipping_attention |  |
Shipping Addressee | shipping_addressee |  |
Shipping Address 1 | shipping_addr1 | Limits to 150 characters |
Shipping Address 2 | shipping_addr2 | Limits to 150 characters |
Shipping City | shipping_city |  |
Shipping State/Province | shipping_state |  |
Shipping Country | shipping_country |  |
Shipping Zip | shipping_zip |  |
Subsidiary | subsidiary | Internal ID of the Subsidiary. Pass the Customer related Subsidiary |
Line Item Fields
Field | URL Param Name | Description |
|---|---|---|
NetSuite Item | co_netsuite_item | Internal ID of the Item |
Description | co_description | Line item description |
Quantity | co_quantity |  |
Rate | co_rate |  |
Billing Schedule | co_billing_schedule | Internal ID of the Billing Schedule |
Class | co_class | Internal ID of the Class |
Department | co_department | Internal ID of the Department |
Location | co_location_id | Internal ID of the Location |
Rev. Rec. Schedule | co_rev_rec_schedule | Internal ID of the Rev. Rec. Schedule |
Rev. Rec. Start Date | co_rev_rec_start_date |  |
Rev. Rec. End Date | co_rev_rec_end_date |  |
Sort By | co_sort_by | Fetch the child records in a particular order |
Sample Example
/apex/breadwinner_ns__CreateSalesOrder
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&billing_schedule=billing_schedule_api_field__c
&class=sales_order_class_api_field__c
&created_from=sales_order_created_from_api_field__c
&custom_form=sales_order_custom_form_api_field__c
¤cy=sales_order_currency_api_field__c
&date=sales_order_date_api_field__c
&department=sales_order_department_api_field__c
&discount_item=sales_order_discount_item_api_field__c
&discount_rate=sales_order_discount_rate_api_field__c
&extertnal_id=sales_order_external_id_api_field__c
&handling_cost=sales_order_handling_cost_api_field__c
&location=sales_order_location_api_field__c
&memo=sales_order_memo_api_field__c
&other_ref_num=sales_order_other_ref_num_api_field__c
&sales_rep=sales_order_sales_rep_api_field__c
&sales_effective_date=sales_order_sales_effective_date_api_field__c
&ship_method=sales_order_ship_method_api_field__c
&shipping_cost=sales_order_shipping_cost_api_field__c
&start_date=sales_order_start_date_api_field__c
&end_date=sales_order_end_date_api_field__c
&terms=sales_order_terms_api_field__c
&subsidiary=sales_order__subsidiary_api_field__c
&bill_address_list=sales_order_bill_address_list__c
&ship_address_list=sales_order_ship_address_list__c
&billing_addressee=sales_order_billing_addressee__c
&billing_attention=sales_order_billing_attention__c
&billing_addr1=sales_order_billing_addr1__c
&billing_addr2=sales_order_billing_addr2__c
&billing_city=sales_order_billing_city__c
&billing_state=sales_order_billing_state__c
&billing_country=sales_order_billing_country__c
&billing_zip=sales_order_billing_zip__c
&shipping_attention=sales_order_shipping_attention__c
&shipping_addressee=sales_order_shipping_addressee__c
&shipping_addr1=sales_order_shipping_addr1__c
&shipping_addr2=sales_order_shipping_addr2__c
&shipping_city=sales_order_shipping_city__c
&shipping_state=sales_order_shipping_state__c
&shipping_country=sales_order_shipping_country__c
&shipping_zip=sales_order_shipping_zip__c
&child_relationship_name=child_name__r
&co_netsuite_item=netsuite_item_field__c
&co_description=description_field__c
&co_quantity=quantity_field__c
&co_rate=rate_field__c
&co_billing_schedule=billing_schedule_field__c
&co_class=class_field__c
&co_department=department_field__c
&co_location_id=location_field__c
&co_rev_rec_schedule=rev_rec_schedule_field__c
&co_rev_rec_start_date=rev_rec_start_date_field__c
&co_rev_rec_end_date=rev_rec_end_date_field__c
&co_sort_by=sort_by_field__c
&testing=true