SAP Sales and Distribution (SD) · Schema
SalesOrder
Sales order header entity (A_SalesOrder)
DistributionERPODataS/4HANASalesSAP
Properties
| Name | Type | Description |
|---|---|---|
| SalesOrder | string | Sales order number |
| SalesOrderType | string | Sales document type |
| SalesOrganization | string | Sales organization |
| DistributionChannel | string | Distribution channel |
| OrganizationDivision | string | Division |
| SalesGroup | string | Sales group |
| SalesOffice | string | Sales office |
| SalesDistrict | string | Sales district |
| SoldToParty | string | Sold-to party customer number |
| CreationDate | string | Date on which the sales order was created |
| CreatedByUser | string | User who created the sales order |
| LastChangeDate | string | Date of last change |
| LastChangeDateTime | string | Timestamp of last change (UTC) |
| PurchaseOrderByCustomer | string | Customer purchase order number |
| CustomerPurchaseOrderType | string | Customer purchase order type |
| CustomerPurchaseOrderDate | string | Customer purchase order date |
| SalesOrderDate | string | Document date of the sales order |
| TotalNetAmount | string | Net value of the sales order in document currency |
| TransactionCurrency | string | SD document currency |
| SDDocumentReason | string | Order reason |
| PricingDate | string | Date for pricing and exchange rate determination |
| RequestedDeliveryDate | string | Requested delivery date |
| ShippingCondition | string | Shipping conditions |
| CompleteDeliveryIsDefined | boolean | Complete delivery flag |
| ShippingType | string | Shipping type |
| HeaderBillingBlockReason | string | Billing block for the header |
| DeliveryBlockReason | string | Delivery block for the header |
| IncotermsClassification | string | Incoterms (part 1) |
| IncotermsTransferLocation | string | Incoterms (part 2) |
| IncotermsLocation1 | string | Incoterms location 1 |
| IncotermsLocation2 | string | Incoterms location 2 |
| PaymentMethod | string | Payment method |
| CustomerPaymentTerms | string | Terms of payment key |
| OverallSDProcessStatus | string | Overall processing status of the sales order |
| TotalCreditCheckStatus | string | Overall status of credit checks |
| OverallDeliveryStatus | string | Overall delivery status |
| OverallBillingStatus | string | Overall billing status |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SalesOrder",
"title": "SalesOrder",
"type": "object",
"description": "Sales order header entity (A_SalesOrder)",
"properties": {
"SalesOrder": {
"type": "string",
"maxLength": 10,
"description": "Sales order number"
},
"SalesOrderType": {
"type": "string",
"maxLength": 4,
"description": "Sales document type"
},
"SalesOrganization": {
"type": "string",
"maxLength": 4,
"description": "Sales organization"
},
"DistributionChannel": {
"type": "string",
"maxLength": 2,
"description": "Distribution channel"
},
"OrganizationDivision": {
"type": "string",
"maxLength": 2,
"description": "Division"
},
"SalesGroup": {
"type": "string",
"maxLength": 3,
"description": "Sales group"
},
"SalesOffice": {
"type": "string",
"maxLength": 4,
"description": "Sales office"
},
"SalesDistrict": {
"type": "string",
"maxLength": 6,
"description": "Sales district"
},
"SoldToParty": {
"type": "string",
"maxLength": 10,
"description": "Sold-to party customer number"
},
"CreationDate": {
"type": "string",
"format": "date",
"description": "Date on which the sales order was created"
},
"CreatedByUser": {
"type": "string",
"maxLength": 12,
"description": "User who created the sales order"
},
"LastChangeDate": {
"type": "string",
"format": "date",
"description": "Date of last change"
},
"LastChangeDateTime": {
"type": "string",
"format": "date-time",
"description": "Timestamp of last change (UTC)"
},
"PurchaseOrderByCustomer": {
"type": "string",
"maxLength": 35,
"description": "Customer purchase order number"
},
"CustomerPurchaseOrderType": {
"type": "string",
"maxLength": 4,
"description": "Customer purchase order type"
},
"CustomerPurchaseOrderDate": {
"type": "string",
"format": "date",
"description": "Customer purchase order date"
},
"SalesOrderDate": {
"type": "string",
"format": "date",
"description": "Document date of the sales order"
},
"TotalNetAmount": {
"type": "string",
"description": "Net value of the sales order in document currency"
},
"TransactionCurrency": {
"type": "string",
"maxLength": 5,
"description": "SD document currency"
},
"SDDocumentReason": {
"type": "string",
"maxLength": 3,
"description": "Order reason"
},
"PricingDate": {
"type": "string",
"format": "date",
"description": "Date for pricing and exchange rate determination"
},
"RequestedDeliveryDate": {
"type": "string",
"format": "date",
"description": "Requested delivery date"
},
"ShippingCondition": {
"type": "string",
"maxLength": 2,
"description": "Shipping conditions"
},
"CompleteDeliveryIsDefined": {
"type": "boolean",
"description": "Complete delivery flag"
},
"ShippingType": {
"type": "string",
"maxLength": 2,
"description": "Shipping type"
},
"HeaderBillingBlockReason": {
"type": "string",
"maxLength": 2,
"description": "Billing block for the header"
},
"DeliveryBlockReason": {
"type": "string",
"maxLength": 2,
"description": "Delivery block for the header"
},
"IncotermsClassification": {
"type": "string",
"maxLength": 3,
"description": "Incoterms (part 1)"
},
"IncotermsTransferLocation": {
"type": "string",
"maxLength": 28,
"description": "Incoterms (part 2)"
},
"IncotermsLocation1": {
"type": "string",
"maxLength": 70,
"description": "Incoterms location 1"
},
"IncotermsLocation2": {
"type": "string",
"maxLength": 70,
"description": "Incoterms location 2"
},
"PaymentMethod": {
"type": "string",
"maxLength": 1,
"description": "Payment method"
},
"CustomerPaymentTerms": {
"type": "string",
"maxLength": 4,
"description": "Terms of payment key"
},
"OverallSDProcessStatus": {
"type": "string",
"maxLength": 1,
"description": "Overall processing status of the sales order"
},
"TotalCreditCheckStatus": {
"type": "string",
"maxLength": 1,
"description": "Overall status of credit checks"
},
"OverallDeliveryStatus": {
"type": "string",
"maxLength": 1,
"description": "Overall delivery status"
},
"OverallBillingStatus": {
"type": "string",
"maxLength": 1,
"description": "Overall billing status"
}
}
}