POST v1/sales-orders

Creates new or updates existing non-contract managed sales order. This API performs full update for an existing sales order so ensure that all parameters and IDs are correctly supplied when using this api for update.

Request Information

URI Parameters

None.

Body Parameters

SalesOrder
NameDescriptionTypeAdditional information
Id

Sales order unique id - auto generated by the system.

integer

None.

Type

The sales order type.

IdNamePair

Required

Customer

The customer associated with the sales order.

CustomerRef

Required

BillToLocation

The customer bill to location. This is required when "Require Bill To and Ship To Address for Sales Orders, Invoices, Credit Memos, and Sales Receipts" AR setting is turned on. Default location will be used in case is not specified and it's required.

IdNamePair

None.

ShipToLocation

The customer ship to location. This is required when "Require Bill To and Ship To Address for Sales Orders, Invoices, Credit Memos, and Sales Receipts" AR setting is turned on. Default location will be used in case is not specified and it's required.

IdNamePair

None.

ShipVia

Ship Via

IdNamePair

None.

TrackingNumber

Shipment tracking number.

string

None.

Contact

Contact associated with the sales order.

IdNamePair

None.

Project

Project associated with the sales order.

IdNamePair

None.

SalesRep

Sales rep associated with the sales order.

IdNamePair

None.

OrderDate

Order date - required. Today's date will be used in case is not specified.

date

None.

OrderNumber

Order number - auto generated by the system for new orders if not provided. Required on update.

string

None.

OrderName

Order name - required based on sales order type settings. Order date will be used in case is not specified.

string

None.

CustomerPONumber

Customer PO number.

string

None.

ToBePrinted

Whether this sales order is queued to be printed.

boolean

None.

TargetDate

Target date - required based on sales order type settings.

date

None.

PaymentTerm

Payment term. One of the following settings will be used in case is not specified: Customer level, Type level, Global level default. Required when none of these are set.

IdNamePair

None.

ARGLAccount

Accounts Receivable associated with the sales order. Required when more than one AR account is available.

IdNamePair

None.

InvoiceFormat

Invoice Format - required if more than one available.

IdNamePair

None.

CustomerNotes

Customer Notes.

Note

None.

InternalNotes

Internal Notes.

Note

None.

LineItemsClass

Class. Is only required if class tracking is turned on and is flagged as required.

IdNamePair

None.

SalesTax

Tax - The following settings will be used in case is not specified: Shipping to location address, Global level default. Required when none of these are set.

IdNamePair

None.

OrderTotal

Read-only. Order total.

decimal number

None.

Status

The status of the sales order. For new orders, this property is optional. If not provided, it will be set to the "order creation status" defined at the order type level. The status of new orders can explicitly set to any of the following: Incomplete (18), Quoted (19), Pending Approval (20), Approved (22) This property is read-only for existing orders.

IdNamePair

None.

InvoiceStatus

Read-only. The invoiced status of the sales order.

IdNamePair

None.

IsChangeOrder

Whether or not sales order is a change order

boolean

None.

ParentId

Parent sales order Id

integer

None.

IsRecurring

Whether or not sales order is recurring.

boolean

None.

LineItems

Sales order line items.

Collection of SalesOrderLineItem

Required

CustomFields

Sales Order Custom Fields.

Collection of CustomField

None.

NotesLogCount

Read-only. The number of notes logged to the sales order.

integer

None.

AttachmentCount

Read-only. The number of attachments uploaded to the sales order.

integer

None.

DateCreated

Read-only. The date and time (in company time zone) when the sales order was created.

date

None.

CreatedBy

The person who created the sales order.

IdNamePair

None.

LastUpdatedDate

Read-only. The date and time (in company time zone) when the sales order was last updated.

date

None.

LastUpdatedBy

The person who last updated the sales order.

IdNamePair

None.

Currency

Read Only - Currency Information.

Currency

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "type": {
    "id": 1,
    "name": "sample string 2"
  },
  "customer": {
    "id": 1,
    "number": "sample string 2",
    "name": "sample string 3"
  },
  "billToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipVia": {
    "id": 1,
    "name": "sample string 2"
  },
  "trackingNumber": "sample string 2",
  "contact": {
    "id": 1,
    "name": "sample string 2"
  },
  "project": {
    "id": 1,
    "name": "sample string 2"
  },
  "salesRep": {
    "id": 1,
    "name": "sample string 2"
  },
  "orderDate": "2022-07-01T16:31:23.8684421-04:00",
  "orderNumber": "sample string 4",
  "orderName": "sample string 5",
  "customerPONumber": "sample string 6",
  "toBePrinted": true,
  "targetDate": "2022-07-01T16:31:23.8684421-04:00",
  "paymentTerm": {
    "id": 1,
    "name": "sample string 2"
  },
  "arglAccount": {
    "id": 1,
    "name": "sample string 2"
  },
  "invoiceFormat": {
    "id": 1,
    "name": "sample string 2"
  },
  "customerNotes": {
    "id": 1,
    "notesHtml": "sample string 2",
    "notesText": "sample string 3"
  },
  "internalNotes": {
    "id": 1,
    "notesHtml": "sample string 2",
    "notesText": "sample string 3"
  },
  "lineItemsClass": {
    "id": 1,
    "name": "sample string 2"
  },
  "salesTax": {
    "id": 1,
    "name": "sample string 2"
  },
  "orderTotal": 8.0,
  "status": {
    "id": 1,
    "name": "sample string 2"
  },
  "invoiceStatus": {
    "id": 1,
    "name": "sample string 2"
  },
  "isChangeOrder": true,
  "parentId": 10,
  "isRecurring": true,
  "lineItems": [
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "inventoryLocation": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:31:23.8684421-04:00",
      "class": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    },
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "inventoryLocation": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:31:23.8684421-04:00",
      "class": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 1,
      "name": "sample string 2",
      "fieldType": {
        "id": 1,
        "name": "sample string 2"
      },
      "sourceId": 3,
      "value": "sample string 4",
      "valueText": "sample string 5",
      "isRequired": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "fieldType": {
        "id": 1,
        "name": "sample string 2"
      },
      "sourceId": 3,
      "value": "sample string 4",
      "valueText": "sample string 5",
      "isRequired": true
    }
  ],
  "notesLogCount": 12,
  "attachmentCount": 13,
  "dateCreated": "2022-07-01T16:31:23.8684421-04:00",
  "createdBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "lastUpdatedDate": "2022-07-01T16:31:23.8684421-04:00",
  "lastUpdatedBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "currency": {
    "currencyISOCode": "sample string 1",
    "exchangeRate": 2.0
  }
}

application/xml, text/xml

Sample:
<SalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.SO">
  <ARGLAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ARGLAccount>
  <AttachmentCount>13</AttachmentCount>
  <BillToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </BillToLocation>
  <Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Contact>
  <CreatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </CreatedBy>
  <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>sample string 1</d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>
    <d2p1:_x003C_ExchangeRate_x003E_k__BackingField>2</d2p1:_x003C_ExchangeRate_x003E_k__BackingField>
  </Currency>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:CustomField>
      <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:FieldType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SourceId>3</d2p1:SourceId>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:ValueText>sample string 5</d2p1:ValueText>
    </d2p1:CustomField>
    <d2p1:CustomField>
      <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:FieldType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SourceId>3</d2p1:SourceId>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:ValueText>sample string 5</d2p1:ValueText>
    </d2p1:CustomField>
  </CustomFields>
  <Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:Number>sample string 2</d2p1:Number>
  </Customer>
  <CustomerNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:NotesHtml>sample string 2</d2p1:NotesHtml>
    <d2p1:NotesText>sample string 3</d2p1:NotesText>
  </CustomerNotes>
  <CustomerPONumber>sample string 6</CustomerPONumber>
  <DateCreated>2022-07-01T16:31:23.8684421-04:00</DateCreated>
  <Id>1</Id>
  <InternalNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:NotesHtml>sample string 2</d2p1:NotesHtml>
    <d2p1:NotesText>sample string 3</d2p1:NotesText>
  </InternalNotes>
  <InvoiceFormat xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </InvoiceFormat>
  <InvoiceStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </InvoiceStatus>
  <IsChangeOrder>true</IsChangeOrder>
  <IsRecurring>true</IsRecurring>
  <LastUpdatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </LastUpdatedBy>
  <LastUpdatedDate>2022-07-01T16:31:23.8684421-04:00</LastUpdatedDate>
  <LineItems>
    <SalesOrderLineItem>
      <Class xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Class>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:31:23.8684421-04:00</FulfillmentDate>
      <Id>1</Id>
      <InventoryLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </InventoryLocation>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
      </ItemGroupLineItems>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </SalesOrderLineItem>
    <SalesOrderLineItem>
      <Class xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Class>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:31:23.8684421-04:00</FulfillmentDate>
      <Id>1</Id>
      <InventoryLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </InventoryLocation>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
      </ItemGroupLineItems>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </SalesOrderLineItem>
  </LineItems>
  <LineItemsClass xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </LineItemsClass>
  <NotesLogCount>12</NotesLogCount>
  <OrderDate>2022-07-01T16:31:23.8684421-04:00</OrderDate>
  <OrderName>sample string 5</OrderName>
  <OrderNumber>sample string 4</OrderNumber>
  <OrderTotal>8</OrderTotal>
  <ParentId>10</ParentId>
  <PaymentTerm xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </PaymentTerm>
  <Project xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Project>
  <SalesRep xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </SalesRep>
  <SalesTax xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </SalesTax>
  <ShipToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipToLocation>
  <ShipVia xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipVia>
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Status>
  <TargetDate>2022-07-01T16:31:23.8684421-04:00</TargetDate>
  <ToBePrinted>true</ToBePrinted>
  <TrackingNumber>sample string 2</TrackingNumber>
  <Type xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Type>
</SalesOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SalesOrder
NameDescriptionTypeAdditional information
Id

Sales order unique id - auto generated by the system.

integer

None.

Type

The sales order type.

IdNamePair

Required

Customer

The customer associated with the sales order.

CustomerRef

Required

BillToLocation

The customer bill to location. This is required when "Require Bill To and Ship To Address for Sales Orders, Invoices, Credit Memos, and Sales Receipts" AR setting is turned on. Default location will be used in case is not specified and it's required.

IdNamePair

None.

ShipToLocation

The customer ship to location. This is required when "Require Bill To and Ship To Address for Sales Orders, Invoices, Credit Memos, and Sales Receipts" AR setting is turned on. Default location will be used in case is not specified and it's required.

IdNamePair

None.

ShipVia

Ship Via

IdNamePair

None.

TrackingNumber

Shipment tracking number.

string

None.

Contact

Contact associated with the sales order.

IdNamePair

None.

Project

Project associated with the sales order.

IdNamePair

None.

SalesRep

Sales rep associated with the sales order.

IdNamePair

None.

OrderDate

Order date - required. Today's date will be used in case is not specified.

date

None.

OrderNumber

Order number - auto generated by the system for new orders if not provided. Required on update.

string

None.

OrderName

Order name - required based on sales order type settings. Order date will be used in case is not specified.

string

None.

CustomerPONumber

Customer PO number.

string

None.

ToBePrinted

Whether this sales order is queued to be printed.

boolean

None.

TargetDate

Target date - required based on sales order type settings.

date

None.

PaymentTerm

Payment term. One of the following settings will be used in case is not specified: Customer level, Type level, Global level default. Required when none of these are set.

IdNamePair

None.

ARGLAccount

Accounts Receivable associated with the sales order. Required when more than one AR account is available.

IdNamePair

None.

InvoiceFormat

Invoice Format - required if more than one available.

IdNamePair

None.

CustomerNotes

Customer Notes.

Note

None.

InternalNotes

Internal Notes.

Note

None.

LineItemsClass

Class. Is only required if class tracking is turned on and is flagged as required.

IdNamePair

None.

SalesTax

Tax - The following settings will be used in case is not specified: Shipping to location address, Global level default. Required when none of these are set.

IdNamePair

None.

OrderTotal

Read-only. Order total.

decimal number

None.

Status

The status of the sales order. For new orders, this property is optional. If not provided, it will be set to the "order creation status" defined at the order type level. The status of new orders can explicitly set to any of the following: Incomplete (18), Quoted (19), Pending Approval (20), Approved (22) This property is read-only for existing orders.

IdNamePair

None.

InvoiceStatus

Read-only. The invoiced status of the sales order.

IdNamePair

None.

IsChangeOrder

Whether or not sales order is a change order

boolean

None.

ParentId

Parent sales order Id

integer

None.

IsRecurring

Whether or not sales order is recurring.

boolean

None.

LineItems

Sales order line items.

Collection of SalesOrderLineItem

Required

CustomFields

Sales Order Custom Fields.

Collection of CustomField

None.

NotesLogCount

Read-only. The number of notes logged to the sales order.

integer

None.

AttachmentCount

Read-only. The number of attachments uploaded to the sales order.

integer

None.

DateCreated

Read-only. The date and time (in company time zone) when the sales order was created.

date

None.

CreatedBy

The person who created the sales order.

IdNamePair

None.

LastUpdatedDate

Read-only. The date and time (in company time zone) when the sales order was last updated.

date

None.

LastUpdatedBy

The person who last updated the sales order.

IdNamePair

None.

Currency

Read Only - Currency Information.

Currency

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "type": {
    "id": 1,
    "name": "sample string 2"
  },
  "customer": {
    "id": 1,
    "number": "sample string 2",
    "name": "sample string 3"
  },
  "billToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipVia": {
    "id": 1,
    "name": "sample string 2"
  },
  "trackingNumber": "sample string 2",
  "contact": {
    "id": 1,
    "name": "sample string 2"
  },
  "project": {
    "id": 1,
    "name": "sample string 2"
  },
  "salesRep": {
    "id": 1,
    "name": "sample string 2"
  },
  "orderDate": "2022-07-01T16:31:23.871445-04:00",
  "orderNumber": "sample string 4",
  "orderName": "sample string 5",
  "customerPONumber": "sample string 6",
  "toBePrinted": true,
  "targetDate": "2022-07-01T16:31:23.871445-04:00",
  "paymentTerm": {
    "id": 1,
    "name": "sample string 2"
  },
  "arglAccount": {
    "id": 1,
    "name": "sample string 2"
  },
  "invoiceFormat": {
    "id": 1,
    "name": "sample string 2"
  },
  "customerNotes": {
    "id": 1,
    "notesHtml": "sample string 2",
    "notesText": "sample string 3"
  },
  "internalNotes": {
    "id": 1,
    "notesHtml": "sample string 2",
    "notesText": "sample string 3"
  },
  "lineItemsClass": {
    "id": 1,
    "name": "sample string 2"
  },
  "salesTax": {
    "id": 1,
    "name": "sample string 2"
  },
  "orderTotal": 8.0,
  "status": {
    "id": 1,
    "name": "sample string 2"
  },
  "invoiceStatus": {
    "id": 1,
    "name": "sample string 2"
  },
  "isChangeOrder": true,
  "parentId": 10,
  "isRecurring": true,
  "lineItems": [
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "inventoryLocation": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:31:23.871445-04:00",
      "class": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    },
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "inventoryLocation": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:31:23.871445-04:00",
      "class": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "class": {
            "id": 1,
            "name": "sample string 2"
          },
          "inventoryLocation": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    }
  ],
  "customFields": [
    {
      "id": 1,
      "name": "sample string 2",
      "fieldType": {
        "id": 1,
        "name": "sample string 2"
      },
      "sourceId": 3,
      "value": "sample string 4",
      "valueText": "sample string 5",
      "isRequired": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "fieldType": {
        "id": 1,
        "name": "sample string 2"
      },
      "sourceId": 3,
      "value": "sample string 4",
      "valueText": "sample string 5",
      "isRequired": true
    }
  ],
  "notesLogCount": 12,
  "attachmentCount": 13,
  "dateCreated": "2022-07-01T16:31:23.871445-04:00",
  "createdBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "lastUpdatedDate": "2022-07-01T16:31:23.871445-04:00",
  "lastUpdatedBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "currency": {
    "currencyISOCode": "sample string 1",
    "exchangeRate": 2.0
  }
}

application/xml, text/xml

Sample:
<SalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.SO">
  <ARGLAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ARGLAccount>
  <AttachmentCount>13</AttachmentCount>
  <BillToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </BillToLocation>
  <Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Contact>
  <CreatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </CreatedBy>
  <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>sample string 1</d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>
    <d2p1:_x003C_ExchangeRate_x003E_k__BackingField>2</d2p1:_x003C_ExchangeRate_x003E_k__BackingField>
  </Currency>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:CustomField>
      <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:FieldType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SourceId>3</d2p1:SourceId>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:ValueText>sample string 5</d2p1:ValueText>
    </d2p1:CustomField>
    <d2p1:CustomField>
      <d2p1:FieldType xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:FieldType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsRequired>true</d2p1:IsRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SourceId>3</d2p1:SourceId>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:ValueText>sample string 5</d2p1:ValueText>
    </d2p1:CustomField>
  </CustomFields>
  <Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:Number>sample string 2</d2p1:Number>
  </Customer>
  <CustomerNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:NotesHtml>sample string 2</d2p1:NotesHtml>
    <d2p1:NotesText>sample string 3</d2p1:NotesText>
  </CustomerNotes>
  <CustomerPONumber>sample string 6</CustomerPONumber>
  <DateCreated>2022-07-01T16:31:23.871445-04:00</DateCreated>
  <Id>1</Id>
  <InternalNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:NotesHtml>sample string 2</d2p1:NotesHtml>
    <d2p1:NotesText>sample string 3</d2p1:NotesText>
  </InternalNotes>
  <InvoiceFormat xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </InvoiceFormat>
  <InvoiceStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </InvoiceStatus>
  <IsChangeOrder>true</IsChangeOrder>
  <IsRecurring>true</IsRecurring>
  <LastUpdatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </LastUpdatedBy>
  <LastUpdatedDate>2022-07-01T16:31:23.871445-04:00</LastUpdatedDate>
  <LineItems>
    <SalesOrderLineItem>
      <Class xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Class>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:31:23.871445-04:00</FulfillmentDate>
      <Id>1</Id>
      <InventoryLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </InventoryLocation>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
      </ItemGroupLineItems>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </SalesOrderLineItem>
    <SalesOrderLineItem>
      <Class xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Class>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:31:23.871445-04:00</FulfillmentDate>
      <Id>1</Id>
      <InventoryLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </InventoryLocation>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
        <SalesOrderItemGroupLineItem>
          <Class xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Class>
          <Id>1</Id>
          <InventoryLocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </InventoryLocation>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </SalesOrderItemGroupLineItem>
      </ItemGroupLineItems>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </SalesOrderLineItem>
  </LineItems>
  <LineItemsClass xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </LineItemsClass>
  <NotesLogCount>12</NotesLogCount>
  <OrderDate>2022-07-01T16:31:23.871445-04:00</OrderDate>
  <OrderName>sample string 5</OrderName>
  <OrderNumber>sample string 4</OrderNumber>
  <OrderTotal>8</OrderTotal>
  <ParentId>10</ParentId>
  <PaymentTerm xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </PaymentTerm>
  <Project xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Project>
  <SalesRep xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </SalesRep>
  <SalesTax xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </SalesTax>
  <ShipToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipToLocation>
  <ShipVia xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipVia>
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Status>
  <TargetDate>2022-07-01T16:31:23.871445-04:00</TargetDate>
  <ToBePrinted>true</ToBePrinted>
  <TrackingNumber>sample string 2</TrackingNumber>
  <Type xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Type>
</SalesOrder>