Class CustProjSlsOrd
Original entity name from the Odata EDM: A_CustProjSlsOrdType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CustProjSlsOrd instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustProjSlsOrdSelectableSelector for all available fields of CustProjSlsOrd.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the CustomerAccountAssignmentGroup field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the CustomerPaymentTerms field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the CustomerProject field to query operations.static final CustProjSlsOrdField<LocalDateTime>Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the DistributionChannel field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the HeaderBillingBlockReason field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the OrganizationDivision field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the PaymentMethod field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the SalesGroup field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the SalesOffice field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the SalesOrder field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the SalesOrganization field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the SoldToParty field to query operations.static final CustProjSlsOrdLink<CustProjSlsOrdItem>Use with available fluent helpers to apply the to_CustProjSlsOrdItem navigation property to query operations.static final CustProjSlsOrdLink<CustProjSlsOrdPartner>Use with available fluent helpers to apply the to_CustProjSlsOrdPartner navigation property to query operations.static final CustProjSlsOrdLink<CustProjSlsOrdText>Use with available fluent helpers to apply the to_CustProjSlsOrdText navigation property to query operations.static final CustProjSlsOrdField<BigDecimal>Use with available fluent helpers to apply the TotalNetAmount field to query operations.static final CustProjSlsOrdField<String>Use with available fluent helpers to apply the TransactionCurrency field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCustProjSlsOrd(String customerProject, String salesOrder, String soldToParty, BigDecimal totalNetAmount, String transactionCurrency, String purchaseOrderByCustomer, LocalDateTime customerPurchaseOrderDate, String salesOffice, String salesGroup, String customerPaymentTerms, String paymentMethod, String customerAccountAssignmentGroup, String headerBillingBlockReason, String salesOrganization, String distributionChannel, String organizationDivision, List<CustProjSlsOrdItem> toCustProjSlsOrdItem, List<CustProjSlsOrdPartner> toCustProjSlsOrdPartner, List<CustProjSlsOrdText> toCustProjSlsOrdText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustProjSlsOrdItem(CustProjSlsOrdItem... entity) Adds elements to the list of associated CustProjSlsOrdItem entities.voidaddCustProjSlsOrdPartner(CustProjSlsOrdPartner... entity) Adds elements to the list of associated CustProjSlsOrdPartner entities.voidaddCustProjSlsOrdText(CustProjSlsOrdText... entity) Adds elements to the list of associated CustProjSlsOrdText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CustProjSlsOrdItem entities (one to many) associated with this entity.Fetches the CustProjSlsOrdPartner entities (one to many) associated with this entity.Fetches the CustProjSlsOrdText entities (one to many) associated with this entity.static <T,DomainT>
CustProjSlsOrdField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CustProjSlsOrdField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 0io.vavr.control.Option<List<CustProjSlsOrdItem>>Retrieval of associated CustProjSlsOrdItem entities (one to many).Retrieval of associated CustProjSlsOrdItem entities (one to many).io.vavr.control.Option<List<CustProjSlsOrdPartner>>Retrieval of associated CustProjSlsOrdPartner entities (one to many).Retrieval of associated CustProjSlsOrdPartner entities (one to many).io.vavr.control.Option<List<CustProjSlsOrdText>>Retrieval of associated CustProjSlsOrdText entities (one to many).Retrieval of associated CustProjSlsOrdText entities (one to many).protected StringConstraints: Not nullable, Maximum length: 2protected StringConstraints: Not nullable, Maximum length: 2getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Maximum length: 5getType()inthashCode()voidsetCustomerAccountAssignmentGroup(String customerAccountAssignmentGroup) Constraints: Not nullable, Maximum length: 2voidsetCustomerPaymentTerms(String customerPaymentTerms) Constraints: Not nullable, Maximum length: 4voidsetCustomerProject(String customerProject) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate) Constraints: Not nullable, Precision: 0voidOverwrites the list of associated CustProjSlsOrdItem entities for the loaded navigation property to_CustProjSlsOrdItem.voidOverwrites the list of associated CustProjSlsOrdPartner entities for the loaded navigation property to_CustProjSlsOrdPartner.voidOverwrites the list of associated CustProjSlsOrdText entities for the loaded navigation property to_CustProjSlsOrdText.voidsetDistributionChannel(String distributionChannel) Constraints: Not nullable, Maximum length: 2voidsetHeaderBillingBlockReason(String headerBillingBlockReason) Constraints: Not nullable, Maximum length: 2voidsetOrganizationDivision(String organizationDivision) Constraints: Not nullable, Maximum length: 2voidsetPaymentMethod(String paymentMethod) Constraints: Not nullable, Maximum length: 1voidsetPurchaseOrderByCustomer(String purchaseOrderByCustomer) Constraints: Not nullable, Maximum length: 35voidsetSalesGroup(String salesGroup) Constraints: Not nullable, Maximum length: 3voidsetSalesOffice(String salesOffice) Constraints: Not nullable, Maximum length: 4voidsetSalesOrder(String salesOrder) Constraints: Not nullable, Maximum length: 10voidsetSalesOrganization(String salesOrganization) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSoldToParty(String soldToParty) Constraints: Not nullable, Maximum length: 10voidsetTotalNetAmount(BigDecimal totalNetAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 5toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CustProjSlsOrd. -
CUSTOMER_PROJECT
Use with available fluent helpers to apply the CustomerProject field to query operations. -
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations. -
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations. -
TOTAL_NET_AMOUNT
Use with available fluent helpers to apply the TotalNetAmount field to query operations. -
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations. -
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations. -
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations. -
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations. -
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations. -
CUSTOMER_PAYMENT_TERMS
Use with available fluent helpers to apply the CustomerPaymentTerms field to query operations. -
PAYMENT_METHOD
Use with available fluent helpers to apply the PaymentMethod field to query operations. -
CUSTOMER_ACCOUNT_ASSIGNMENT_GROUP
Use with available fluent helpers to apply the CustomerAccountAssignmentGroup field to query operations. -
HEADER_BILLING_BLOCK_REASON
Use with available fluent helpers to apply the HeaderBillingBlockReason field to query operations. -
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations. -
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations. -
ORGANIZATION_DIVISION
Use with available fluent helpers to apply the OrganizationDivision field to query operations. -
TO_CUST_PROJ_SLS_ORD_ITEM
Use with available fluent helpers to apply the to_CustProjSlsOrdItem navigation property to query operations. -
TO_CUST_PROJ_SLS_ORD_PARTNER
Use with available fluent helpers to apply the to_CustProjSlsOrdPartner navigation property to query operations. -
TO_CUST_PROJ_SLS_ORD_TEXT
Use with available fluent helpers to apply the to_CustProjSlsOrdText navigation property to query operations.
-
-
Constructor Details
-
CustProjSlsOrd
public CustProjSlsOrd() -
CustProjSlsOrd
public CustProjSlsOrd(@Nullable String customerProject, @Nullable String salesOrder, @Nullable String soldToParty, @Nullable BigDecimal totalNetAmount, @Nullable String transactionCurrency, @Nullable String purchaseOrderByCustomer, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String customerPaymentTerms, @Nullable String paymentMethod, @Nullable String customerAccountAssignmentGroup, @Nullable String headerBillingBlockReason, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, List<CustProjSlsOrdItem> toCustProjSlsOrdItem, List<CustProjSlsOrdPartner> toCustProjSlsOrdPartner, List<CustProjSlsOrdText> toCustProjSlsOrdText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CustProjSlsOrd>
-
setCustomerProject
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CustomerProject
- Parameters:
customerProject- Commercial Project ID
-
setSalesOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Parameters:
salesOrder- Sales Order
-
setSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Parameters:
soldToParty- Sold-to Party
-
setTotalNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: TotalNetAmount
- Parameters:
totalNetAmount- Net Value of the Sales Order in Document Currency
-
setTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- SD Document Currency
-
setPurchaseOrderByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: PurchaseOrderByCustomer
- Parameters:
purchaseOrderByCustomer- Customer Reference
-
setCustomerPurchaseOrderDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CustomerPurchaseOrderDate
- Parameters:
customerPurchaseOrderDate- Customer Reference Date
-
setSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Parameters:
salesOffice- Sales Office
-
setSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Parameters:
salesGroup- Sales Group
-
setCustomerPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustomerPaymentTerms
- Parameters:
customerPaymentTerms- Terms of Payment Key
-
setPaymentMethod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PaymentMethod
- Parameters:
paymentMethod- Payment Method
-
setCustomerAccountAssignmentGroup
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CustomerAccountAssignmentGroup
- Parameters:
customerAccountAssignmentGroup- Account Assignment Group for Customer
-
setHeaderBillingBlockReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: HeaderBillingBlockReason
- Parameters:
headerBillingBlockReason- Billing Block in SD Document
-
setSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Sales Organization
-
setDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setOrganizationDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OrganizationDivision
- Parameters:
organizationDivision- Division
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CustProjSlsOrd>
-
getKey
- Overrides:
getKeyin classVdmObject<CustProjSlsOrd>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CustProjSlsOrd>
-
fromMap
- Overrides:
fromMapin classVdmObject<CustProjSlsOrd>
-
field
@Nonnull public static <T> CustProjSlsOrdField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CustProjSlsOrdField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CustProjSlsOrd>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CustProjSlsOrd>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CustProjSlsOrd>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CustProjSlsOrd>
-
fetchCustProjSlsOrdItem
Fetches the CustProjSlsOrdItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CustProjSlsOrdItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdItemOrFetch
Retrieval of associated CustProjSlsOrdItem entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItem.If the navigation property to_CustProjSlsOrdItem of a queried CustProjSlsOrd 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.
- Returns:
- List of associated CustProjSlsOrdItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdItemIfPresent
Retrieval of associated CustProjSlsOrdItem entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItem.If the navigation property for an entity CustProjSlsOrd has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CustProjSlsOrdItem is already loaded, the result
will contain the CustProjSlsOrdItem entities. If not, an
Optionwith result stateemptyis returned.
-
setCustProjSlsOrdItem
Overwrites the list of associated CustProjSlsOrdItem entities for the loaded navigation property to_CustProjSlsOrdItem.If the navigation property to_CustProjSlsOrdItem of a queried CustProjSlsOrd 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.
- Parameters:
value- List of CustProjSlsOrdItem entities.
-
addCustProjSlsOrdItem
Adds elements to the list of associated CustProjSlsOrdItem entities. This corresponds to the OData navigation property to_CustProjSlsOrdItem.If the navigation property to_CustProjSlsOrdItem of a queried CustProjSlsOrd 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.
- Parameters:
entity- Array of CustProjSlsOrdItem entities.
-
fetchCustProjSlsOrdPartner
Fetches the CustProjSlsOrdPartner entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdPartner.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CustProjSlsOrdPartner entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdPartnerOrFetch
Retrieval of associated CustProjSlsOrdPartner entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdPartner.If the navigation property to_CustProjSlsOrdPartner of a queried CustProjSlsOrd 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.
- Returns:
- List of associated CustProjSlsOrdPartner entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdPartnerIfPresent
@Nonnull public io.vavr.control.Option<List<CustProjSlsOrdPartner>> getCustProjSlsOrdPartnerIfPresent()Retrieval of associated CustProjSlsOrdPartner entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdPartner.If the navigation property for an entity CustProjSlsOrd has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CustProjSlsOrdPartner is already loaded, the result
will contain the CustProjSlsOrdPartner entities. If not, an
Optionwith result stateemptyis returned.
-
setCustProjSlsOrdPartner
Overwrites the list of associated CustProjSlsOrdPartner entities for the loaded navigation property to_CustProjSlsOrdPartner.If the navigation property to_CustProjSlsOrdPartner of a queried CustProjSlsOrd 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.
- Parameters:
value- List of CustProjSlsOrdPartner entities.
-
addCustProjSlsOrdPartner
Adds elements to the list of associated CustProjSlsOrdPartner entities. This corresponds to the OData navigation property to_CustProjSlsOrdPartner.If the navigation property to_CustProjSlsOrdPartner of a queried CustProjSlsOrd 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.
- Parameters:
entity- Array of CustProjSlsOrdPartner entities.
-
fetchCustProjSlsOrdText
Fetches the CustProjSlsOrdText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdText.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CustProjSlsOrdText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdTextOrFetch
Retrieval of associated CustProjSlsOrdText entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdText.If the navigation property to_CustProjSlsOrdText of a queried CustProjSlsOrd 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.
- Returns:
- List of associated CustProjSlsOrdText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCustProjSlsOrdTextIfPresent
Retrieval of associated CustProjSlsOrdText entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdText.If the navigation property for an entity CustProjSlsOrd has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CustProjSlsOrdText is already loaded, the result
will contain the CustProjSlsOrdText entities. If not, an
Optionwith result stateemptyis returned.
-
setCustProjSlsOrdText
Overwrites the list of associated CustProjSlsOrdText entities for the loaded navigation property to_CustProjSlsOrdText.If the navigation property to_CustProjSlsOrdText of a queried CustProjSlsOrd 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.
- Parameters:
value- List of CustProjSlsOrdText entities.
-
addCustProjSlsOrdText
Adds elements to the list of associated CustProjSlsOrdText entities. This corresponds to the OData navigation property to_CustProjSlsOrdText.If the navigation property to_CustProjSlsOrdText of a queried CustProjSlsOrd 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.
- Parameters:
entity- Array of CustProjSlsOrdText entities.
-
builder
-
getCustomerProject
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CustomerProject
- Returns:
- Commercial Project ID
-
getSalesOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Returns:
- Sales Order
-
getSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Returns:
- Sold-to Party
-
getTotalNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: TotalNetAmount
- Returns:
- Net Value of the Sales Order in Document Currency
-
getTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Returns:
- SD Document Currency
-
getPurchaseOrderByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: PurchaseOrderByCustomer
- Returns:
- Customer Reference
-
getCustomerPurchaseOrderDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CustomerPurchaseOrderDate
- Returns:
- Customer Reference Date
-
getSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Returns:
- Sales Office
-
getSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Returns:
- Sales Group
-
getCustomerPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustomerPaymentTerms
- Returns:
- Terms of Payment Key
-
getPaymentMethod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PaymentMethod
- Returns:
- Payment Method
-
getCustomerAccountAssignmentGroup
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CustomerAccountAssignmentGroup
- Returns:
- Account Assignment Group for Customer
-
getHeaderBillingBlockReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: HeaderBillingBlockReason
- Returns:
- Billing Block in SD Document
-
getSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Sales Organization
-
getDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getOrganizationDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OrganizationDivision
- Returns:
- Division
-
toString
- Overrides:
toStringin classVdmObject<CustProjSlsOrd>
-
equals
- Overrides:
equalsin classVdmEntity<CustProjSlsOrd>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CustProjSlsOrd>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CustProjSlsOrd>
-