public class SalesOrder extends VdmEntity<SalesOrder>
Modifier and Type | Class and Description |
---|---|
static class |
SalesOrder.SalesOrderBuilder |
Modifier and Type | Field and Description |
---|---|
static SalesOrderSelectable |
ALL_FIELDS
Selector for all available fields of SalesOrder.
|
static SalesOrderField<Boolean> |
COMPLETE_DELIVERY_IS_DEFINED
Use with available fluent helpers to apply the CompleteDeliveryIsDefined field to query operations.
|
static SalesOrderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SalesOrderField<Calendar> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static SalesOrderField<String> |
CUSTOMER_PAYMENT_TERMS
Use with available fluent helpers to apply the CustomerPaymentTerms field to query operations.
|
static SalesOrderField<Calendar> |
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
|
static SalesOrderField<String> |
CUSTOMER_PURCHASE_ORDER_TYPE
Use with available fluent helpers to apply the CustomerPurchaseOrderType field to query operations.
|
static SalesOrderField<String> |
DELIVERY_BLOCK_REASON
Use with available fluent helpers to apply the DeliveryBlockReason field to query operations.
|
static SalesOrderField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static SalesOrderField<String> |
HEADER_BILLING_BLOCK_REASON
Use with available fluent helpers to apply the HeaderBillingBlockReason field to query operations.
|
static SalesOrderField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static SalesOrderField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static SalesOrderField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static SalesOrderField<String> |
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
|
static SalesOrderField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static SalesOrderField<Calendar> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static SalesOrderField<Calendar> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static SalesOrderField<String> |
ORGANIZATION_DIVISION
Use with available fluent helpers to apply the OrganizationDivision field to query operations.
|
static SalesOrderField<String> |
OVERALL_SD_DOCUMENT_REJECTION_STS
Use with available fluent helpers to apply the OverallSDDocumentRejectionSts field to query operations.
|
static SalesOrderField<String> |
OVERALL_SD_PROCESS_STATUS
Use with available fluent helpers to apply the OverallSDProcessStatus field to query operations.
|
static SalesOrderField<String> |
OVERALL_TOTAL_DELIVERY_STATUS
Use with available fluent helpers to apply the OverallTotalDeliveryStatus field to query operations.
|
static SalesOrderField<String> |
PAYMENT_METHOD
Use with available fluent helpers to apply the PaymentMethod field to query operations.
|
static SalesOrderField<Calendar> |
PRICING_DATE
Use with available fluent helpers to apply the PricingDate field to query operations.
|
static SalesOrderField<String> |
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
|
static SalesOrderField<Calendar> |
REQUESTED_DELIVERY_DATE
Use with available fluent helpers to apply the RequestedDeliveryDate field to query operations.
|
static SalesOrderField<String> |
SALES_DISTRICT
Use with available fluent helpers to apply the SalesDistrict field to query operations.
|
static SalesOrderField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static SalesOrderField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static SalesOrderField<String> |
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations.
|
static SalesOrderField<Calendar> |
SALES_ORDER_DATE
Use with available fluent helpers to apply the SalesOrderDate field to query operations.
|
static SalesOrderField<String> |
SALES_ORDER_TYPE
Use with available fluent helpers to apply the SalesOrderType field to query operations.
|
static SalesOrderField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static SalesOrderField<String> |
SD_DOCUMENT_REASON
Use with available fluent helpers to apply the SDDocumentReason field to query operations.
|
static SalesOrderField<String> |
SHIPPING_CONDITION
Use with available fluent helpers to apply the ShippingCondition field to query operations.
|
static SalesOrderField<String> |
SHIPPING_TYPE
Use with available fluent helpers to apply the ShippingType field to query operations.
|
static SalesOrderField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static SalesOrderLink<SalesOrderItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static SalesOrderLink<SalesOrderHeaderPartner> |
TO_PARTNER
Use with available fluent helpers to apply the to_Partner navigation property to query operations.
|
static SalesOrderLink<SalesOrderHeaderPrElement> |
TO_PRICING_ELEMENT
Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
|
static SalesOrderField<String> |
TOTAL_CREDIT_CHECK_STATUS
Use with available fluent helpers to apply the TotalCreditCheckStatus field to query operations.
|
static SalesOrderField<BigDecimal> |
TOTAL_NET_AMOUNT
Use with available fluent helpers to apply the TotalNetAmount field to query operations.
|
static SalesOrderField<String> |
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations.
|
Constructor and Description |
---|
SalesOrder() |
SalesOrder(String salesOrder,
String salesOrderType,
String salesOrganization,
String distributionChannel,
String organizationDivision,
String salesGroup,
String salesOffice,
String salesDistrict,
String soldToParty,
Calendar creationDate,
String createdByUser,
Calendar lastChangeDate,
Calendar lastChangeDateTime,
String purchaseOrderByCustomer,
String customerPurchaseOrderType,
Calendar customerPurchaseOrderDate,
Calendar salesOrderDate,
BigDecimal totalNetAmount,
String transactionCurrency,
String sDDocumentReason,
Calendar pricingDate,
Calendar requestedDeliveryDate,
String shippingCondition,
Boolean completeDeliveryIsDefined,
String shippingType,
String headerBillingBlockReason,
String deliveryBlockReason,
String incotermsClassification,
String incotermsTransferLocation,
String incotermsLocation1,
String incotermsLocation2,
String incotermsVersion,
String customerPaymentTerms,
String paymentMethod,
String overallSDProcessStatus,
String totalCreditCheckStatus,
String overallTotalDeliveryStatus,
String overallSDDocumentRejectionSts,
ErpConfigContext erpConfigContext,
List<SalesOrderItem> toItem,
List<SalesOrderHeaderPartner> toPartner,
List<SalesOrderHeaderPrElement> toPricingElement) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(SalesOrderItem... entity)
Adds elements to the list of associated SalesOrderItem entities.
|
void |
addPartner(SalesOrderHeaderPartner... entity)
Adds elements to the list of associated SalesOrderHeaderPartner entities.
|
void |
addPricingElement(SalesOrderHeaderPrElement... entity)
Adds elements to the list of associated SalesOrderHeaderPrElement entities.
|
static SalesOrder.SalesOrderBuilder |
builder() |
boolean |
equals(Object o) |
List<SalesOrderItem> |
fetchItem()
Fetches the SalesOrderItem entities (one to many) associated with this entity.
|
List<SalesOrderHeaderPartner> |
fetchPartner()
Fetches the SalesOrderHeaderPartner entities (one to many) associated with this entity.
|
List<SalesOrderHeaderPrElement> |
fetchPricingElement()
Fetches the SalesOrderHeaderPrElement entities (one to many) associated with this entity.
|
static <T> SalesOrderField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
Boolean |
getCompleteDeliveryIsDefined()
Constraints: none
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustomerPaymentTerms()
Constraints: Not nullable, Maximum length: 4 It is used in sales orders, purchase orders, and invoices.
|
Calendar |
getCustomerPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustomerPurchaseOrderType()
Constraints: Not nullable, Maximum length: 4 You can record here whether the sales document arrived, for example, by telephone, mail, or fax.Enter one of the values predefined for your system.
|
String |
getDeliveryBlockReason()
Constraints: Not nullable, Maximum length: 2 The system can propose the delivery block indicator according to sales document type.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2 You can maintain information about customers and materials by sales organization and distribution channel.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getHeaderBillingBlockReason()
Constraints: Not nullable, Maximum length: 2 The system can propose the billing block according to the type of sales document.
|
String |
getIncotermsClassification()
Constraints: Not nullable, Maximum length: 3 Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board").
|
String |
getIncotermsLocation1()
Constraints: Not nullable, Maximum length: 70 1.
|
String |
getIncotermsLocation2()
Constraints: Not nullable, Maximum length: 70 No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
|
String |
getIncotermsTransferLocation()
Constraints: Not nullable, Maximum length: 28 If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
|
String |
getIncotermsVersion()
Constraints: Not nullable, Maximum length: 4
|
List<SalesOrderItem> |
getItemOrFetch()
Retrieval of associated SalesOrderItem entities (one to many).
|
com.google.common.base.Optional<List<SalesOrderItem>> |
getItemOrNull()
Retrieval of associated SalesOrderItem entities (one to many).
|
Calendar |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7 In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone.
|
String |
getOrganizationDivision()
Constraints: Not nullable, Maximum length: 2 A product or service is always assigned to just one division.
|
String |
getOverallSDDocumentRejectionSts()
Constraints: Not nullable, Maximum length: 1 The system determines the total status from the status of all individual items in the sales document.
|
String |
getOverallSDProcessStatus()
Constraints: Not nullable, Maximum length: 1 The system determines the status of the entire sales document by taking into account the status of all header-related information and the status of all individual items.
|
String |
getOverallTotalDeliveryStatus()
Constraints: Not nullable, Maximum length: 1
|
List<SalesOrderHeaderPartner> |
getPartnerOrFetch()
Retrieval of associated SalesOrderHeaderPartner entities (one to many).
|
com.google.common.base.Optional<List<SalesOrderHeaderPartner>> |
getPartnerOrNull()
Retrieval of associated SalesOrderHeaderPartner entities (one to many).
|
String |
getPaymentMethod()
Constraints: Not nullable, Maximum length: 1 If you enter a payment method, then only this payment method can be used in automatic payment transactions.
|
Calendar |
getPricingDate()
Constraints: Not nullable, Precision: 0 You can use the pricing date as a selection criterion when you process billing documents collectively.The system proposes the current date.
|
List<SalesOrderHeaderPrElement> |
getPricingElementOrFetch()
Retrieval of associated SalesOrderHeaderPrElement entities (one to many).
|
com.google.common.base.Optional<List<SalesOrderHeaderPrElement>> |
getPricingElementOrNull()
Retrieval of associated SalesOrderHeaderPrElement entities (one to many).
|
String |
getPurchaseOrderByCustomer()
Constraints: Not nullable, Maximum length: 35 The number creates the link between the customer purchase order and the sales document that you create.
|
Calendar |
getRequestedDeliveryDate()
Constraints: Not nullable, Precision: 0 As a rule, the system suggests the current date.
|
String |
getSalesDistrict()
Constraints: Not nullable, Maximum length: 6 Each customer can be assigned to a sales district.
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3 By using sales groups you can designate different areas of responsibility within a sales office.
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4 When you create sales statistics, you can use a sales office as one of the selection criteria.
|
String |
getSalesOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Calendar |
getSalesOrderDate()
Constraints: Not nullable, Precision: 0 When you want to generate a list of sales documents or sales statistics, the document date you enter determines which sales documents are selected.
|
String |
getSalesOrderType()
Constraints: Not nullable, Maximum length: 4 The sales document type determines how the system processes the sales document.
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4 You can assign any number of distribution channels and divisions to a sales organization.
|
String |
getSDDocumentReason()
Constraints: Not nullable, Maximum length: 3 You can freely define order reasons according to the needs of your organization.
|
String |
getShippingCondition()
Constraints: Not nullable, Maximum length: 2 You can define shipping conditions in your system which correspond to the requirements of your company.
|
String |
getShippingType()
Constraints: Not nullable, Maximum length: 2 During automatic shipment leg determination, all legs created or only the main, direct, or return legs are assigned to this shipping type, depending on the type of leg determination.You can enter the shipment type for the main, direct or return legs in the shipping header.
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getTotalCreditCheckStatus()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getTotalNetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getTransactionCurrency()
Constraints: Not nullable, Maximum length: 5 The system proposes the document currency from the customer master record of the sold-to party.
|
Class<SalesOrder> |
getType() |
int |
hashCode() |
void |
setCompleteDeliveryIsDefined(Boolean completeDeliveryIsDefined)
Constraints: none
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(Calendar creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustomerPaymentTerms(String customerPaymentTerms)
Constraints: Not nullable, Maximum length: 4 It is used in sales orders, purchase orders, and invoices.
|
void |
setCustomerPurchaseOrderDate(Calendar customerPurchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustomerPurchaseOrderType(String customerPurchaseOrderType)
Constraints: Not nullable, Maximum length: 4 You can record here whether the sales document arrived, for example, by telephone, mail, or fax.Enter one of the values predefined for your system.
|
void |
setDeliveryBlockReason(String deliveryBlockReason)
Constraints: Not nullable, Maximum length: 2 The system can propose the delivery block indicator according to sales document type.
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2 You can maintain information about customers and materials by sales organization and distribution channel.
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setHeaderBillingBlockReason(String headerBillingBlockReason)
Constraints: Not nullable, Maximum length: 2 The system can propose the billing block according to the type of sales document.
|
void |
setIncotermsClassification(String incotermsClassification)
Constraints: Not nullable, Maximum length: 3 Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board").
|
void |
setIncotermsLocation1(String incotermsLocation1)
Constraints: Not nullable, Maximum length: 70 1.
|
void |
setIncotermsLocation2(String incotermsLocation2)
Constraints: Not nullable, Maximum length: 70 No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
|
void |
setIncotermsTransferLocation(String incotermsTransferLocation)
Constraints: Not nullable, Maximum length: 28 If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
|
void |
setIncotermsVersion(String incotermsVersion)
Constraints: Not nullable, Maximum length: 4
|
void |
setItem(List<SalesOrderItem> value)
Overwrites the list of associated SalesOrderItem entities for the loaded navigation property to_Item.
|
void |
setLastChangeDate(Calendar lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7 In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone.
|
void |
setOrganizationDivision(String organizationDivision)
Constraints: Not nullable, Maximum length: 2 A product or service is always assigned to just one division.
|
void |
setOverallSDDocumentRejectionSts(String overallSDDocumentRejectionSts)
Constraints: Not nullable, Maximum length: 1 The system determines the total status from the status of all individual items in the sales document.
|
void |
setOverallSDProcessStatus(String overallSDProcessStatus)
Constraints: Not nullable, Maximum length: 1 The system determines the status of the entire sales document by taking into account the status of all header-related information and the status of all individual items.
|
void |
setOverallTotalDeliveryStatus(String overallTotalDeliveryStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPartner(List<SalesOrderHeaderPartner> value)
Overwrites the list of associated SalesOrderHeaderPartner entities for the loaded navigation property to_Partner.
|
void |
setPaymentMethod(String paymentMethod)
Constraints: Not nullable, Maximum length: 1 If you enter a payment method, then only this payment method can be used in automatic payment transactions.
|
void |
setPricingDate(Calendar pricingDate)
Constraints: Not nullable, Precision: 0 You can use the pricing date as a selection criterion when you process billing documents collectively.The system proposes the current date.
|
void |
setPricingElement(List<SalesOrderHeaderPrElement> value)
Overwrites the list of associated SalesOrderHeaderPrElement entities for the loaded navigation property to_PricingElement.
|
void |
setPurchaseOrderByCustomer(String purchaseOrderByCustomer)
Constraints: Not nullable, Maximum length: 35 The number creates the link between the customer purchase order and the sales document that you create.
|
void |
setRequestedDeliveryDate(Calendar requestedDeliveryDate)
Constraints: Not nullable, Precision: 0 As a rule, the system suggests the current date.
|
void |
setSalesDistrict(String salesDistrict)
Constraints: Not nullable, Maximum length: 6 Each customer can be assigned to a sales district.
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3 By using sales groups you can designate different areas of responsibility within a sales office.
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4 When you create sales statistics, you can use a sales office as one of the selection criteria.
|
void |
setSalesOrder(String salesOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrderDate(Calendar salesOrderDate)
Constraints: Not nullable, Precision: 0 When you want to generate a list of sales documents or sales statistics, the document date you enter determines which sales documents are selected.
|
void |
setSalesOrderType(String salesOrderType)
Constraints: Not nullable, Maximum length: 4 The sales document type determines how the system processes the sales document.
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4 You can assign any number of distribution channels and divisions to a sales organization.
|
void |
setSDDocumentReason(String sDDocumentReason)
Constraints: Not nullable, Maximum length: 3 You can freely define order reasons according to the needs of your organization.
|
void |
setShippingCondition(String shippingCondition)
Constraints: Not nullable, Maximum length: 2 You can define shipping conditions in your system which correspond to the requirements of your company.
|
void |
setShippingType(String shippingType)
Constraints: Not nullable, Maximum length: 2 During automatic shipment leg determination, all legs created or only the main, direct, or return legs are assigned to this shipping type, depending on the type of leg determination.You can enter the shipment type for the main, direct or return legs in the shipping header.
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setTotalCreditCheckStatus(String totalCreditCheckStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setTotalNetAmount(BigDecimal totalNetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setTransactionCurrency(String transactionCurrency)
Constraints: Not nullable, Maximum length: 5 The system proposes the document currency from the customer master record of the sold-to party.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final SalesOrderSelectable ALL_FIELDS
public static final SalesOrderField<String> SALES_ORDER
public static final SalesOrderField<String> SALES_ORDER_TYPE
public static final SalesOrderField<String> SALES_ORGANIZATION
public static final SalesOrderField<String> DISTRIBUTION_CHANNEL
public static final SalesOrderField<String> ORGANIZATION_DIVISION
public static final SalesOrderField<String> SALES_GROUP
public static final SalesOrderField<String> SALES_OFFICE
public static final SalesOrderField<String> SALES_DISTRICT
public static final SalesOrderField<String> SOLD_TO_PARTY
public static final SalesOrderField<Calendar> CREATION_DATE
public static final SalesOrderField<String> CREATED_BY_USER
public static final SalesOrderField<Calendar> LAST_CHANGE_DATE
public static final SalesOrderField<Calendar> LAST_CHANGE_DATE_TIME
public static final SalesOrderField<String> PURCHASE_ORDER_BY_CUSTOMER
public static final SalesOrderField<String> CUSTOMER_PURCHASE_ORDER_TYPE
public static final SalesOrderField<Calendar> CUSTOMER_PURCHASE_ORDER_DATE
public static final SalesOrderField<Calendar> SALES_ORDER_DATE
public static final SalesOrderField<BigDecimal> TOTAL_NET_AMOUNT
public static final SalesOrderField<String> TRANSACTION_CURRENCY
public static final SalesOrderField<String> SD_DOCUMENT_REASON
public static final SalesOrderField<Calendar> PRICING_DATE
public static final SalesOrderField<Calendar> REQUESTED_DELIVERY_DATE
public static final SalesOrderField<String> SHIPPING_CONDITION
public static final SalesOrderField<Boolean> COMPLETE_DELIVERY_IS_DEFINED
public static final SalesOrderField<String> SHIPPING_TYPE
public static final SalesOrderField<String> HEADER_BILLING_BLOCK_REASON
public static final SalesOrderField<String> DELIVERY_BLOCK_REASON
public static final SalesOrderField<String> INCOTERMS_CLASSIFICATION
public static final SalesOrderField<String> INCOTERMS_TRANSFER_LOCATION
public static final SalesOrderField<String> INCOTERMS_LOCATION1
public static final SalesOrderField<String> INCOTERMS_LOCATION2
public static final SalesOrderField<String> INCOTERMS_VERSION
public static final SalesOrderField<String> CUSTOMER_PAYMENT_TERMS
public static final SalesOrderField<String> PAYMENT_METHOD
public static final SalesOrderField<String> OVERALL_SD_PROCESS_STATUS
public static final SalesOrderField<String> TOTAL_CREDIT_CHECK_STATUS
public static final SalesOrderField<String> OVERALL_TOTAL_DELIVERY_STATUS
public static final SalesOrderField<String> OVERALL_SD_DOCUMENT_REJECTION_STS
public static final SalesOrderLink<SalesOrderItem> TO_ITEM
public static final SalesOrderLink<SalesOrderHeaderPartner> TO_PARTNER
public static final SalesOrderLink<SalesOrderHeaderPrElement> TO_PRICING_ELEMENT
public SalesOrder()
public SalesOrder(@Nullable String salesOrder, @Nullable String salesOrderType, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, @Nullable String salesGroup, @Nullable String salesOffice, @Nullable String salesDistrict, @Nullable String soldToParty, @Nullable Calendar creationDate, @Nullable String createdByUser, @Nullable Calendar lastChangeDate, @Nullable Calendar lastChangeDateTime, @Nullable String purchaseOrderByCustomer, @Nullable String customerPurchaseOrderType, @Nullable Calendar customerPurchaseOrderDate, @Nullable Calendar salesOrderDate, @Nullable BigDecimal totalNetAmount, @Nullable String transactionCurrency, @Nullable String sDDocumentReason, @Nullable Calendar pricingDate, @Nullable Calendar requestedDeliveryDate, @Nullable String shippingCondition, @Nullable Boolean completeDeliveryIsDefined, @Nullable String shippingType, @Nullable String headerBillingBlockReason, @Nullable String deliveryBlockReason, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String incotermsVersion, @Nullable String customerPaymentTerms, @Nullable String paymentMethod, @Nullable String overallSDProcessStatus, @Nullable String totalCreditCheckStatus, @Nullable String overallTotalDeliveryStatus, @Nullable String overallSDDocumentRejectionSts, @Nullable ErpConfigContext erpConfigContext, List<SalesOrderItem> toItem, List<SalesOrderHeaderPartner> toPartner, List<SalesOrderHeaderPrElement> toPricingElement)
public Class<SalesOrder> getType()
getType
in class VdmObject<SalesOrder>
public static <T> SalesOrderField<T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public List<SalesOrderItem> fetchItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<SalesOrderItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<List<SalesOrderItem>> getItemOrNull()
If the navigation property to_Item for an entity SalesOrder has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setItem(@NonNull List<SalesOrderItem> value)
If the navigation property to_Item of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of SalesOrderItem entities.public void addItem(SalesOrderItem... entity)
If the navigation property to_Item of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of SalesOrderItem entities.public List<SalesOrderHeaderPartner> fetchPartner() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<SalesOrderHeaderPartner> getPartnerOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Partner of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<List<SalesOrderHeaderPartner>> getPartnerOrNull()
If the navigation property to_Partner for an entity SalesOrder has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setPartner(@NonNull List<SalesOrderHeaderPartner> value)
If the navigation property to_Partner of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of SalesOrderHeaderPartner entities.public void addPartner(SalesOrderHeaderPartner... entity)
If the navigation property to_Partner of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of SalesOrderHeaderPartner entities.public List<SalesOrderHeaderPrElement> fetchPricingElement() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<SalesOrderHeaderPrElement> getPricingElementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PricingElement of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public com.google.common.base.Optional<List<SalesOrderHeaderPrElement>> getPricingElementOrNull()
If the navigation property to_PricingElement for an entity SalesOrder has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setPricingElement(@NonNull List<SalesOrderHeaderPrElement> value)
If the navigation property to_PricingElement of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of SalesOrderHeaderPrElement entities.public void addPricingElement(SalesOrderHeaderPrElement... entity)
If the navigation property to_PricingElement of a queried SalesOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of SalesOrderHeaderPrElement entities.public static SalesOrder.SalesOrderBuilder builder()
@Nullable public String getSalesOrder()
@Nullable public String getSalesOrderType()
The sales document type determines how the system processes the sales document. For example, depending on the sales document type, the system determines which screens to present and which data to ask you for.
@Nullable public String getSalesOrganization()
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
@Nullable public String getDistributionChannel()
You can maintain information about customers and materials by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel.You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel.For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area.
@Nullable public String getOrganizationDivision()
A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions.
@Nullable public String getSalesGroup()
By using sales groups you can designate different areas of responsibility within a sales office. When you generate sales statistics, you can use the sales group as one of the selection criteria.If sales office personnel service both retail and wholesale markets, you can assign a sales group to each market.You assign each salesperson to a sales group in his or her user master record. You assign each customer to a particular sales group in the customer's master record.
@Nullable public String getSalesOffice()
When you create sales statistics, you can use a sales office as one of the selection criteria. When you print out order confirmations, you can include the address of the sales office.You can assign each customer to a sales office in the customer master record.Within a sales office you can establish sales groups (for example, departments) with specific sales responsibilities. Each person who works in the sales office can be assigned to a sales group in his or her user master record. Each customer can also be assigned to a particular sales group in the customer master record.
@Nullable public String getSalesDistrict()
Each customer can be assigned to a sales district. You can use sales districts to apply pricing conditions. When you want to generate sales statistics, you can use sales districts as a selection criteria.The system can propose a value from the customer master record of the sold-to party. You can change the value manually in the document at the header or item level.
@Nullable public String getSoldToParty()
@Nullable public Calendar getCreationDate()
@Nullable public String getCreatedByUser()
@Nullable public Calendar getLastChangeDate()
@Nullable public Calendar getLastChangeDateTime()
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
@Nullable public String getPurchaseOrderByCustomer()
The number creates the link between the customer purchase order and the sales document that you create. You can use the number used by the customer during correspondence with the customer to find certain document information. If the number refers to a purchase order, you can also print it on the documents that you send to the customer (e.g. on the delivery note).
@Nullable public String getCustomerPurchaseOrderType()
You can record here whether the sales document arrived, for example, by telephone, mail, or fax.Enter one of the values predefined for your system.
@Nullable public Calendar getCustomerPurchaseOrderDate()
@Nullable public Calendar getSalesOrderDate()
When you want to generate a list of sales documents or sales statistics, the document date you enter determines which sales documents are selected. You can define the document date to meet the needs of your organization.For sales orders, for example, you can define the document date as the date when the order actually arrives at your offices. Alternatively, you could define it as the date when the order was written up by a field sales representative.The system proposes the current date. You can change it manually in the sales document.
@Nullable public BigDecimal getTotalNetAmount()
@Nullable public String getTransactionCurrency()
The system proposes the document currency from the customer master record of the sold-to party. You can change the currency manually in the document. If you change the currency, the system recalculates prices for the entire document.
@Nullable public String getSDDocumentReason()
You can freely define order reasons according to the needs of your organization. When you generate sales statistics, you can use the order reason as one of the selection criteria.Enter one of the values predefined for your system. If you are creating a credit or debit memo request, you must enter an order reason.If the order reason specifies, for example, that a customer placed a sales order as a result of contact at a trade fair, you can later generate statistics for all sales orders that were placed at trade fairs.
@Nullable public Calendar getPricingDate()
You can use the pricing date as a selection criterion when you process billing documents collectively.The system proposes the current date. You can change it manually in the document. If you change the pricing date, the system recalculates pricing for the entire document. If the date is in the past, you receive a warning before you can continue.Determining the ProposalIn the order: You can customize the order type to determine a proposal, such as the current date or the requested delivery date as the pricing date.In the billing document: The billing date is proposed as the pricing date.
@Nullable public Calendar getRequestedDeliveryDate()
As a rule, the system suggests the current date. However, if you change the requested delivery date in the header (for example, to a future date), and then create a new item, the system proposes the new date for any schedule lines you create. If you change the date of an existing schedule line, the system advises you that it will only apply the new date to further schedule lines you create and will not change the dates of other existing schedule lines.
@Nullable public String getShippingCondition()
You can define shipping conditions in your system which correspond to the requirements of your company. You can specify a shipping condition in the customer master and in the vendor master.Shipping point determination (outbound delivery):The loading group, the plant and the shipping condition determine the shipping point that will be proposed by the system.Route determination (outbound delivery):Apart from the country and the geographical region of the shipping point, the ship-to party and the transportation group, the shipping condition determines the route that the system proposes in the order for the delivery of the goods. In the delivery, the route proposal also takes the weight group into account.A particular customer always requires immediate delivery. You enter the appropriate shipping condition into the customer master record. This means that when you process orders for this customer, the system automatically proposes the express mail room as a shipping point and the quickest way to the airport as a route.If a shipping condition has been assigned to a sales document type in Customizing, this condition will be proposed by the system in the corresponding sales document. If there is no assignment, the system copies the relevant data from the corresponding customer master record of the sold-to party. You cannot change this value during delivery processing. The shipping condition will not be copied from the delivery into the shipment. The shipping condition is one of several criteria for selecting deliveries when you create a shipment. You can enter a shipping condition manually in the shipment where it only serves as a characteristic for grouping shipments.
@Nullable public Boolean getCompleteDeliveryIsDefined()
@Nullable public String getShippingType()
During automatic shipment leg determination, all legs created or only the main, direct, or return legs are assigned to this shipping type, depending on the type of leg determination.You can enter the shipment type for the main, direct or return legs in the shipping header. The value is proposed depending on the requirement in the shipment type.By setting the status "planned", you have the shipping type copied from the respective deliveries into the shipment header, provided:The shipping type is identical in all the deliveries.The shipping type in the shipment header is not already filled.See also: Leg determination
@Nullable public String getHeaderBillingBlockReason()
The system can propose the billing block according to the type of sales document. The billing block applies to the entire document. You can block or unblock the entire document manually in the header. If you want to block only a particular item, enter a value at the item level.You may want to apply a billing block to certain documents so that prices can be checked before further processing.
@Nullable public String getDeliveryBlockReason()
The system can propose the delivery block indicator according to sales document type. You can also enter a block manually in the header. A block in the header applies to the entire document. If you want to block one or more specific items, you can enter the block at item level.You can block delivery automatically for certain sales document types (for example, free of charge deliveries) where it is important that someone checks the details before shipping takes place.If you use a credit limit check, the system can automatically block delivery. You can change this block. However, as soon as you change any of the values in the sales document, the system automatically reapplies the delivery block.
@Nullable public String getIncotermsClassification()
Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example.
@Nullable public String getIncotermsTransferLocation()
If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
@Nullable public String getIncotermsLocation1()
1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston.
@Nullable public String getIncotermsLocation2()
No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
@Nullable public String getIncotermsVersion()
@Nullable public String getCustomerPaymentTerms()
It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record.
@Nullable public String getPaymentMethod()
If you enter a payment method, then only this payment method can be used in automatic payment transactions. Unless you enter a payment method, one of the payment methods that was allowed in the master record is selected in the payment program according to specified rules.For document entry or document changes, you only enter a payment method if you want to switch off the automatic payment method selection of the payment program.
@Nullable public String getOverallSDProcessStatus()
The system determines the status of the entire sales document by taking into account the status of all header-related information and the status of all individual items. The status message tells you whether processing of the sales document is open, in progress, or complete.
@Nullable public String getTotalCreditCheckStatus()
@Nullable public String getOverallTotalDeliveryStatus()
@Nullable public String getOverallSDDocumentRejectionSts()
The system determines the total status from the status of all individual items in the sales document. The status message tells you whether the sales document has been partially or completely rejected or whether nothing has been rejected.
@Nullable public ErpConfigContext getErpConfigContext()
public void setSalesOrder(@Nullable String salesOrder)
salesOrder
- public void setSalesOrderType(@Nullable String salesOrderType)
The sales document type determines how the system processes the sales document. For example, depending on the sales document type, the system determines which screens to present and which data to ask you for.
salesOrderType
- public void setSalesOrganization(@Nullable String salesOrganization)
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
salesOrganization
- public void setDistributionChannel(@Nullable String distributionChannel)
You can maintain information about customers and materials by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel.You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel.For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area.
distributionChannel
- public void setOrganizationDivision(@Nullable String organizationDivision)
A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions.
organizationDivision
- public void setSalesGroup(@Nullable String salesGroup)
By using sales groups you can designate different areas of responsibility within a sales office. When you generate sales statistics, you can use the sales group as one of the selection criteria.If sales office personnel service both retail and wholesale markets, you can assign a sales group to each market.You assign each salesperson to a sales group in his or her user master record. You assign each customer to a particular sales group in the customer's master record.
salesGroup
- public void setSalesOffice(@Nullable String salesOffice)
When you create sales statistics, you can use a sales office as one of the selection criteria. When you print out order confirmations, you can include the address of the sales office.You can assign each customer to a sales office in the customer master record.Within a sales office you can establish sales groups (for example, departments) with specific sales responsibilities. Each person who works in the sales office can be assigned to a sales group in his or her user master record. Each customer can also be assigned to a particular sales group in the customer master record.
salesOffice
- public void setSalesDistrict(@Nullable String salesDistrict)
Each customer can be assigned to a sales district. You can use sales districts to apply pricing conditions. When you want to generate sales statistics, you can use sales districts as a selection criteria.The system can propose a value from the customer master record of the sold-to party. You can change the value manually in the document at the header or item level.
salesDistrict
- public void setSoldToParty(@Nullable String soldToParty)
soldToParty
- public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- public void setLastChangeDate(@Nullable Calendar lastChangeDate)
lastChangeDate
- public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
lastChangeDateTime
- public void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
The number creates the link between the customer purchase order and the sales document that you create. You can use the number used by the customer during correspondence with the customer to find certain document information. If the number refers to a purchase order, you can also print it on the documents that you send to the customer (e.g. on the delivery note).
purchaseOrderByCustomer
- public void setCustomerPurchaseOrderType(@Nullable String customerPurchaseOrderType)
You can record here whether the sales document arrived, for example, by telephone, mail, or fax.Enter one of the values predefined for your system.
customerPurchaseOrderType
- public void setCustomerPurchaseOrderDate(@Nullable Calendar customerPurchaseOrderDate)
customerPurchaseOrderDate
- public void setSalesOrderDate(@Nullable Calendar salesOrderDate)
When you want to generate a list of sales documents or sales statistics, the document date you enter determines which sales documents are selected. You can define the document date to meet the needs of your organization.For sales orders, for example, you can define the document date as the date when the order actually arrives at your offices. Alternatively, you could define it as the date when the order was written up by a field sales representative.The system proposes the current date. You can change it manually in the sales document.
salesOrderDate
- public void setTotalNetAmount(@Nullable BigDecimal totalNetAmount)
totalNetAmount
- public void setTransactionCurrency(@Nullable String transactionCurrency)
The system proposes the document currency from the customer master record of the sold-to party. You can change the currency manually in the document. If you change the currency, the system recalculates prices for the entire document.
transactionCurrency
- public void setSDDocumentReason(@Nullable String sDDocumentReason)
You can freely define order reasons according to the needs of your organization. When you generate sales statistics, you can use the order reason as one of the selection criteria.Enter one of the values predefined for your system. If you are creating a credit or debit memo request, you must enter an order reason.If the order reason specifies, for example, that a customer placed a sales order as a result of contact at a trade fair, you can later generate statistics for all sales orders that were placed at trade fairs.
sDDocumentReason
- public void setPricingDate(@Nullable Calendar pricingDate)
You can use the pricing date as a selection criterion when you process billing documents collectively.The system proposes the current date. You can change it manually in the document. If you change the pricing date, the system recalculates pricing for the entire document. If the date is in the past, you receive a warning before you can continue.Determining the ProposalIn the order: You can customize the order type to determine a proposal, such as the current date or the requested delivery date as the pricing date.In the billing document: The billing date is proposed as the pricing date.
pricingDate
- public void setRequestedDeliveryDate(@Nullable Calendar requestedDeliveryDate)
As a rule, the system suggests the current date. However, if you change the requested delivery date in the header (for example, to a future date), and then create a new item, the system proposes the new date for any schedule lines you create. If you change the date of an existing schedule line, the system advises you that it will only apply the new date to further schedule lines you create and will not change the dates of other existing schedule lines.
requestedDeliveryDate
- public void setShippingCondition(@Nullable String shippingCondition)
You can define shipping conditions in your system which correspond to the requirements of your company. You can specify a shipping condition in the customer master and in the vendor master.Shipping point determination (outbound delivery):The loading group, the plant and the shipping condition determine the shipping point that will be proposed by the system.Route determination (outbound delivery):Apart from the country and the geographical region of the shipping point, the ship-to party and the transportation group, the shipping condition determines the route that the system proposes in the order for the delivery of the goods. In the delivery, the route proposal also takes the weight group into account.A particular customer always requires immediate delivery. You enter the appropriate shipping condition into the customer master record. This means that when you process orders for this customer, the system automatically proposes the express mail room as a shipping point and the quickest way to the airport as a route.If a shipping condition has been assigned to a sales document type in Customizing, this condition will be proposed by the system in the corresponding sales document. If there is no assignment, the system copies the relevant data from the corresponding customer master record of the sold-to party. You cannot change this value during delivery processing. The shipping condition will not be copied from the delivery into the shipment. The shipping condition is one of several criteria for selecting deliveries when you create a shipment. You can enter a shipping condition manually in the shipment where it only serves as a characteristic for grouping shipments.
shippingCondition
- public void setCompleteDeliveryIsDefined(@Nullable Boolean completeDeliveryIsDefined)
completeDeliveryIsDefined
- public void setShippingType(@Nullable String shippingType)
During automatic shipment leg determination, all legs created or only the main, direct, or return legs are assigned to this shipping type, depending on the type of leg determination.You can enter the shipment type for the main, direct or return legs in the shipping header. The value is proposed depending on the requirement in the shipment type.By setting the status "planned", you have the shipping type copied from the respective deliveries into the shipment header, provided:The shipping type is identical in all the deliveries.The shipping type in the shipment header is not already filled.See also: Leg determination
shippingType
- public void setHeaderBillingBlockReason(@Nullable String headerBillingBlockReason)
The system can propose the billing block according to the type of sales document. The billing block applies to the entire document. You can block or unblock the entire document manually in the header. If you want to block only a particular item, enter a value at the item level.You may want to apply a billing block to certain documents so that prices can be checked before further processing.
headerBillingBlockReason
- public void setDeliveryBlockReason(@Nullable String deliveryBlockReason)
The system can propose the delivery block indicator according to sales document type. You can also enter a block manually in the header. A block in the header applies to the entire document. If you want to block one or more specific items, you can enter the block at item level.You can block delivery automatically for certain sales document types (for example, free of charge deliveries) where it is important that someone checks the details before shipping takes place.If you use a credit limit check, the system can automatically block delivery. You can change this block. However, as soon as you change any of the values in the sales document, the system automatically reapplies the delivery block.
deliveryBlockReason
- public void setIncotermsClassification(@Nullable String incotermsClassification)
Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example.
incotermsClassification
- public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
incotermsTransferLocation
- public void setIncotermsLocation1(@Nullable String incotermsLocation1)
1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston.
incotermsLocation1
- public void setIncotermsLocation2(@Nullable String incotermsLocation2)
No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
incotermsLocation2
- public void setIncotermsVersion(@Nullable String incotermsVersion)
incotermsVersion
- public void setCustomerPaymentTerms(@Nullable String customerPaymentTerms)
It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record.
customerPaymentTerms
- public void setPaymentMethod(@Nullable String paymentMethod)
If you enter a payment method, then only this payment method can be used in automatic payment transactions. Unless you enter a payment method, one of the payment methods that was allowed in the master record is selected in the payment program according to specified rules.For document entry or document changes, you only enter a payment method if you want to switch off the automatic payment method selection of the payment program.
paymentMethod
- public void setOverallSDProcessStatus(@Nullable String overallSDProcessStatus)
The system determines the status of the entire sales document by taking into account the status of all header-related information and the status of all individual items. The status message tells you whether processing of the sales document is open, in progress, or complete.
overallSDProcessStatus
- public void setTotalCreditCheckStatus(@Nullable String totalCreditCheckStatus)
totalCreditCheckStatus
- public void setOverallTotalDeliveryStatus(@Nullable String overallTotalDeliveryStatus)
overallTotalDeliveryStatus
- public void setOverallSDDocumentRejectionSts(@Nullable String overallSDDocumentRejectionSts)
The system determines the total status from the status of all individual items in the sales document. The status message tells you whether the sales document has been partially or completely rejected or whether nothing has been rejected.
overallSDDocumentRejectionSts
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<SalesOrder>
public boolean equals(Object o)
equals
in class VdmObject<SalesOrder>
public int hashCode()
hashCode
in class VdmObject<SalesOrder>
Copyright © 2018 SAP SE. All rights reserved.