java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CustProjSlsOrdItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.CustProjSlsOrdItem

public class CustProjSlsOrdItem extends VdmEntity<CustProjSlsOrdItem>
Sales Order Item

Original entity name from the Odata EDM: A_CustProjSlsOrdItemType

  • Field Details

    • ALL_FIELDS

      public static final CustProjSlsOrdItemSelectable ALL_FIELDS
      Selector for all available fields of CustProjSlsOrdItem.
    • CUSTOMER_PROJECT

      public static final CustProjSlsOrdItemField<String> CUSTOMER_PROJECT
      Use with available fluent helpers to apply the CustomerProject field to query operations.
    • SALES_ORDER_ITEM

      public static final CustProjSlsOrdItemField<String> SALES_ORDER_ITEM
      Use with available fluent helpers to apply the SalesOrderItem field to query operations.
    • SALES_ORDER

      public static final CustProjSlsOrdItemField<String> SALES_ORDER
      Use with available fluent helpers to apply the SalesOrder field to query operations.
    • SALES_ORDER_ITEM_CATEGORY

      public static final CustProjSlsOrdItemField<String> SALES_ORDER_ITEM_CATEGORY
      Use with available fluent helpers to apply the SalesOrderItemCategory field to query operations.
    • MATERIAL

      public static final CustProjSlsOrdItemField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • SALES_ORDER_ITEM_TEXT

      public static final CustProjSlsOrdItemField<String> SALES_ORDER_ITEM_TEXT
      Use with available fluent helpers to apply the SalesOrderItemText field to query operations.
    • PROFIT_CENTER

      public static final CustProjSlsOrdItemField<String> PROFIT_CENTER
      Use with available fluent helpers to apply the ProfitCenter field to query operations.
    • CAPPED_NET_AMOUNT

      public static final CustProjSlsOrdItemField<BigDecimal> CAPPED_NET_AMOUNT
      Use with available fluent helpers to apply the CappedNetAmount field to query operations.
    • CAPPED_NET_AMT_ALERT_THLD_IN_PCT

      public static final CustProjSlsOrdItemField<String> CAPPED_NET_AMT_ALERT_THLD_IN_PCT
      Use with available fluent helpers to apply the CappedNetAmtAlertThldInPct field to query operations.
    • MATERIAL_BY_CUSTOMER

      public static final CustProjSlsOrdItemField<String> MATERIAL_BY_CUSTOMER
      Use with available fluent helpers to apply the MaterialByCustomer field to query operations.
    • NET_AMOUNT

      public static final CustProjSlsOrdItemField<BigDecimal> NET_AMOUNT
      Use with available fluent helpers to apply the NetAmount field to query operations.
    • EXPECTED_NET_AMOUNT

      public static final CustProjSlsOrdItemField<BigDecimal> EXPECTED_NET_AMOUNT
      Use with available fluent helpers to apply the ExpectedNetAmount field to query operations.
    • TOTAL_STAND_ALONE_SELLING_PRICE

      public static final CustProjSlsOrdItemField<BigDecimal> TOTAL_STAND_ALONE_SELLING_PRICE
      Use with available fluent helpers to apply the TotalStandAloneSellingPrice field to query operations.
    • TRANSACTION_CURRENCY

      public static final CustProjSlsOrdItemField<String> TRANSACTION_CURRENCY
      Use with available fluent helpers to apply the TransactionCurrency field to query operations.
    • WBS_ELEMENT

      public static final CustProjSlsOrdItemField<String> WBS_ELEMENT
      Use with available fluent helpers to apply the WBSElement field to query operations.
    • PURCHASE_ORDER_BY_CUSTOMER

      public static final CustProjSlsOrdItemField<String> PURCHASE_ORDER_BY_CUSTOMER
      Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
    • UNDERLYING_PURCHASE_ORDER_ITEM

      public static final CustProjSlsOrdItemField<String> UNDERLYING_PURCHASE_ORDER_ITEM
      Use with available fluent helpers to apply the UnderlyingPurchaseOrderItem field to query operations.
    • SALES_DOCUMENT_RJCN_REASON

      public static final CustProjSlsOrdItemField<String> SALES_DOCUMENT_RJCN_REASON
      Use with available fluent helpers to apply the SalesDocumentRjcnReason field to query operations.
    • SD_DOCUMENT_REJECTION_STATUS

      public static final CustProjSlsOrdItemField<String> SD_DOCUMENT_REJECTION_STATUS
      Use with available fluent helpers to apply the SDDocumentRejectionStatus field to query operations.
    • SD_PROCESS_STATUS

      public static final CustProjSlsOrdItemField<String> SD_PROCESS_STATUS
      Use with available fluent helpers to apply the SDProcessStatus field to query operations.
    • ITEM_BILLING_BLOCK_REASON

      public static final CustProjSlsOrdItemField<String> ITEM_BILLING_BLOCK_REASON
      Use with available fluent helpers to apply the ItemBillingBlockReason field to query operations.
    • TO_CUST_PROJ_SLS_ORD_ITEM_PARTNER

      public static final CustProjSlsOrdItemLink<CustProjSlsOrdItemPartner> TO_CUST_PROJ_SLS_ORD_ITEM_PARTNER
      Use with available fluent helpers to apply the to_CustProjSlsOrdItemPartner navigation property to query operations.
    • TO_CUST_PROJ_SLS_ORD_ITEM_TEXT

      public static final CustProjSlsOrdItemLink<CustProjSlsOrdItemText> TO_CUST_PROJ_SLS_ORD_ITEM_TEXT
      Use with available fluent helpers to apply the to_CustProjSlsOrdItemText navigation property to query operations.
    • TO_CUST_PROJ_SLS_ORD_ITEM_WORK_PCKG

      public static final CustProjSlsOrdItemLink<CustProjSlsOrdItemWorkPckg> TO_CUST_PROJ_SLS_ORD_ITEM_WORK_PCKG
      Use with available fluent helpers to apply the to_CustProjSlsOrdItemWorkPckg navigation property to query operations.
    • TO_CUST_PROJ_SLS_ORD_ITM_PRCG_ELEMENT

      public static final CustProjSlsOrdItemLink<CustProjSlsOrdItmPrcgElement> TO_CUST_PROJ_SLS_ORD_ITM_PRCG_ELEMENT
      Use with available fluent helpers to apply the to_CustProjSlsOrdItmPrcgElement navigation property to query operations.
    • TO_CUST_PROJ_SOI_BILLG_PLN_ITM

      public static final CustProjSlsOrdItemLink<CustProjSlsOrdItmBillgPlnItm> TO_CUST_PROJ_SOI_BILLG_PLN_ITM
      Use with available fluent helpers to apply the to_CustProjSOIBillgPlnItm navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<CustProjSlsOrdItem> getType()
      Specified by:
      getType in class VdmObject<CustProjSlsOrdItem>
    • setCustomerProject

      public void setCustomerProject(@Nullable String customerProject)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CustomerProject

      Parameters:
      customerProject - Commercial Project ID
    • setSalesOrderItem

      public void setSalesOrderItem(@Nullable String salesOrderItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesOrderItem

      Parameters:
      salesOrderItem - Sales Order Item
    • setSalesOrder

      public void setSalesOrder(@Nullable String salesOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Parameters:
      salesOrder - Sales Order
    • setSalesOrderItemCategory

      public void setSalesOrderItemCategory(@Nullable String salesOrderItemCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrderItemCategory

      Parameters:
      salesOrderItemCategory - Sales Document Item Category
    • setMaterial

      public void setMaterial(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setSalesOrderItemText

      public void setSalesOrderItemText(@Nullable String salesOrderItemText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SalesOrderItemText

      Parameters:
      salesOrderItemText - Short Text for Sales Order Item
    • setProfitCenter

      public void setProfitCenter(@Nullable String profitCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

      Parameters:
      profitCenter - Profit Center
    • setCappedNetAmount

      public void setCappedNetAmount(@Nullable BigDecimal cappedNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: CappedNetAmount

      Parameters:
      cappedNetAmount - Net Amount Cap
    • setCappedNetAmtAlertThldInPct

      public void setCappedNetAmtAlertThldInPct(@Nullable String cappedNetAmtAlertThldInPct)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CappedNetAmtAlertThldInPct

      Parameters:
      cappedNetAmtAlertThldInPct - Notification Threshold (in Pct) for Exceeded Net Amount Cap
    • setMaterialByCustomer

      public void setMaterialByCustomer(@Nullable String materialByCustomer)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: MaterialByCustomer

      Parameters:
      materialByCustomer - Material Number Used by Customer
    • setNetAmount

      public void setNetAmount(@Nullable BigDecimal netAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: NetAmount

      Parameters:
      netAmount - Net Value of the Order Item in Document Currency
    • setExpectedNetAmount

      public void setExpectedNetAmount(@Nullable BigDecimal expectedNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ExpectedNetAmount

      Parameters:
      expectedNetAmount - Expected Net Amount
    • setTotalStandAloneSellingPrice

      public void setTotalStandAloneSellingPrice(@Nullable BigDecimal totalStandAloneSellingPrice)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalStandAloneSellingPrice

      Parameters:
      totalStandAloneSellingPrice - IFRS 15: Standalone Selling Price
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - SD Document Currency
    • setWBSElement

      public void setWBSElement(@Nullable String wBSElement)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Parameters:
      wBSElement - Work Breakdown Structure Element (WBS Element)
    • setPurchaseOrderByCustomer

      public void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Parameters:
      purchaseOrderByCustomer - Customer Reference
    • setUnderlyingPurchaseOrderItem

      public void setUnderlyingPurchaseOrderItem(@Nullable String underlyingPurchaseOrderItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: UnderlyingPurchaseOrderItem

      Parameters:
      underlyingPurchaseOrderItem - Item Number of the Underlying Purchase Order
    • setSalesDocumentRjcnReason

      public void setSalesDocumentRjcnReason(@Nullable String salesDocumentRjcnReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SalesDocumentRjcnReason

      Parameters:
      salesDocumentRjcnReason - Reason for Rejection of Sales Documents
    • setSDDocumentRejectionStatus

      public void setSDDocumentRejectionStatus(@Nullable String sDDocumentRejectionStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SDDocumentRejectionStatus

      Parameters:
      sDDocumentRejectionStatus - Rejection Status (Item)
    • setSDProcessStatus

      public void setSDProcessStatus(@Nullable String sDProcessStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SDProcessStatus

      Parameters:
      sDProcessStatus - Overall Processing Status (Item)
    • setItemBillingBlockReason

      public void setItemBillingBlockReason(@Nullable String itemBillingBlockReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ItemBillingBlockReason

      Parameters:
      itemBillingBlockReason - Billing Block for Item
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CustProjSlsOrdItem>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<CustProjSlsOrdItem>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<CustProjSlsOrdItem>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<CustProjSlsOrdItem>
    • field

      @Nonnull public static <T> CustProjSlsOrdItemField<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> CustProjSlsOrdItemField<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CustProjSlsOrdItem>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CustProjSlsOrdItem>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CustProjSlsOrdItem>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CustProjSlsOrdItem>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<CustProjSlsOrdItem>
    • fetchCustProjSlsOrdItemPartner

      @Nonnull public List<CustProjSlsOrdItemPartner> fetchCustProjSlsOrdItemPartner()
      Fetches the CustProjSlsOrdItemPartner entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdItemPartner.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustProjSlsOrdItemPartner 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.
    • getCustProjSlsOrdItemPartnerOrFetch

      @Nonnull public List<CustProjSlsOrdItemPartner> getCustProjSlsOrdItemPartnerOrFetch()
      Retrieval of associated CustProjSlsOrdItemPartner entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemPartner.

      If the navigation property to_CustProjSlsOrdItemPartner of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemPartner 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.
    • getCustProjSlsOrdItemPartnerIfPresent

      @Nonnull public io.vavr.control.Option<List<CustProjSlsOrdItemPartner>> getCustProjSlsOrdItemPartnerIfPresent()
      Retrieval of associated CustProjSlsOrdItemPartner entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemPartner.

      If the navigation property for an entity CustProjSlsOrdItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustProjSlsOrdItemPartner is already loaded, the result will contain the CustProjSlsOrdItemPartner entities. If not, an Option with result state empty is returned.
    • setCustProjSlsOrdItemPartner

      public void setCustProjSlsOrdItemPartner(@Nonnull List<CustProjSlsOrdItemPartner> value)
      Overwrites the list of associated CustProjSlsOrdItemPartner entities for the loaded navigation property to_CustProjSlsOrdItemPartner.

      If the navigation property to_CustProjSlsOrdItemPartner of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemPartner entities.
    • addCustProjSlsOrdItemPartner

      public void addCustProjSlsOrdItemPartner(CustProjSlsOrdItemPartner... entity)
      Adds elements to the list of associated CustProjSlsOrdItemPartner entities. This corresponds to the OData navigation property to_CustProjSlsOrdItemPartner.

      If the navigation property to_CustProjSlsOrdItemPartner of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemPartner entities.
    • fetchCustProjSlsOrdItemText

      @Nonnull public List<CustProjSlsOrdItemText> fetchCustProjSlsOrdItemText()
      Fetches the CustProjSlsOrdItemText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdItemText.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustProjSlsOrdItemText 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.
    • getCustProjSlsOrdItemTextOrFetch

      @Nonnull public List<CustProjSlsOrdItemText> getCustProjSlsOrdItemTextOrFetch()
      Retrieval of associated CustProjSlsOrdItemText entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemText.

      If the navigation property to_CustProjSlsOrdItemText of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemText 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.
    • getCustProjSlsOrdItemTextIfPresent

      @Nonnull public io.vavr.control.Option<List<CustProjSlsOrdItemText>> getCustProjSlsOrdItemTextIfPresent()
      Retrieval of associated CustProjSlsOrdItemText entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemText.

      If the navigation property for an entity CustProjSlsOrdItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustProjSlsOrdItemText is already loaded, the result will contain the CustProjSlsOrdItemText entities. If not, an Option with result state empty is returned.
    • setCustProjSlsOrdItemText

      public void setCustProjSlsOrdItemText(@Nonnull List<CustProjSlsOrdItemText> value)
      Overwrites the list of associated CustProjSlsOrdItemText entities for the loaded navigation property to_CustProjSlsOrdItemText.

      If the navigation property to_CustProjSlsOrdItemText of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemText entities.
    • addCustProjSlsOrdItemText

      public void addCustProjSlsOrdItemText(CustProjSlsOrdItemText... entity)
      Adds elements to the list of associated CustProjSlsOrdItemText entities. This corresponds to the OData navigation property to_CustProjSlsOrdItemText.

      If the navigation property to_CustProjSlsOrdItemText of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemText entities.
    • fetchCustProjSlsOrdItemWorkPckg

      @Nonnull public List<CustProjSlsOrdItemWorkPckg> fetchCustProjSlsOrdItemWorkPckg()
      Fetches the CustProjSlsOrdItemWorkPckg entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdItemWorkPckg.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustProjSlsOrdItemWorkPckg 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.
    • getCustProjSlsOrdItemWorkPckgOrFetch

      @Nonnull public List<CustProjSlsOrdItemWorkPckg> getCustProjSlsOrdItemWorkPckgOrFetch()
      Retrieval of associated CustProjSlsOrdItemWorkPckg entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemWorkPckg.

      If the navigation property to_CustProjSlsOrdItemWorkPckg of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemWorkPckg 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.
    • getCustProjSlsOrdItemWorkPckgIfPresent

      @Nonnull public io.vavr.control.Option<List<CustProjSlsOrdItemWorkPckg>> getCustProjSlsOrdItemWorkPckgIfPresent()
      Retrieval of associated CustProjSlsOrdItemWorkPckg entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItemWorkPckg.

      If the navigation property for an entity CustProjSlsOrdItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustProjSlsOrdItemWorkPckg is already loaded, the result will contain the CustProjSlsOrdItemWorkPckg entities. If not, an Option with result state empty is returned.
    • setCustProjSlsOrdItemWorkPckg

      public void setCustProjSlsOrdItemWorkPckg(@Nonnull List<CustProjSlsOrdItemWorkPckg> value)
      Overwrites the list of associated CustProjSlsOrdItemWorkPckg entities for the loaded navigation property to_CustProjSlsOrdItemWorkPckg.

      If the navigation property to_CustProjSlsOrdItemWorkPckg of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemWorkPckg entities.
    • addCustProjSlsOrdItemWorkPckg

      public void addCustProjSlsOrdItemWorkPckg(CustProjSlsOrdItemWorkPckg... entity)
      Adds elements to the list of associated CustProjSlsOrdItemWorkPckg entities. This corresponds to the OData navigation property to_CustProjSlsOrdItemWorkPckg.

      If the navigation property to_CustProjSlsOrdItemWorkPckg of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItemWorkPckg entities.
    • fetchCustProjSlsOrdItmPrcgElement

      @Nonnull public List<CustProjSlsOrdItmPrcgElement> fetchCustProjSlsOrdItmPrcgElement()
      Fetches the CustProjSlsOrdItmPrcgElement entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSlsOrdItmPrcgElement.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustProjSlsOrdItmPrcgElement 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.
    • getCustProjSlsOrdItmPrcgElementOrFetch

      @Nonnull public List<CustProjSlsOrdItmPrcgElement> getCustProjSlsOrdItmPrcgElementOrFetch()
      Retrieval of associated CustProjSlsOrdItmPrcgElement entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItmPrcgElement.

      If the navigation property to_CustProjSlsOrdItmPrcgElement of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmPrcgElement 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.
    • getCustProjSlsOrdItmPrcgElementIfPresent

      @Nonnull public io.vavr.control.Option<List<CustProjSlsOrdItmPrcgElement>> getCustProjSlsOrdItmPrcgElementIfPresent()
      Retrieval of associated CustProjSlsOrdItmPrcgElement entities (one to many). This corresponds to the OData navigation property to_CustProjSlsOrdItmPrcgElement.

      If the navigation property for an entity CustProjSlsOrdItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustProjSlsOrdItmPrcgElement is already loaded, the result will contain the CustProjSlsOrdItmPrcgElement entities. If not, an Option with result state empty is returned.
    • setCustProjSlsOrdItmPrcgElement

      public void setCustProjSlsOrdItmPrcgElement(@Nonnull List<CustProjSlsOrdItmPrcgElement> value)
      Overwrites the list of associated CustProjSlsOrdItmPrcgElement entities for the loaded navigation property to_CustProjSlsOrdItmPrcgElement.

      If the navigation property to_CustProjSlsOrdItmPrcgElement of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmPrcgElement entities.
    • addCustProjSlsOrdItmPrcgElement

      public void addCustProjSlsOrdItmPrcgElement(CustProjSlsOrdItmPrcgElement... entity)
      Adds elements to the list of associated CustProjSlsOrdItmPrcgElement entities. This corresponds to the OData navigation property to_CustProjSlsOrdItmPrcgElement.

      If the navigation property to_CustProjSlsOrdItmPrcgElement of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmPrcgElement entities.
    • fetchCustProjSOIBillgPlnItm

      @Nonnull public List<CustProjSlsOrdItmBillgPlnItm> fetchCustProjSOIBillgPlnItm()
      Fetches the CustProjSlsOrdItmBillgPlnItm entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CustProjSOIBillgPlnItm.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated CustProjSlsOrdItmBillgPlnItm 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.
    • getCustProjSOIBillgPlnItmOrFetch

      @Nonnull public List<CustProjSlsOrdItmBillgPlnItm> getCustProjSOIBillgPlnItmOrFetch()
      Retrieval of associated CustProjSlsOrdItmBillgPlnItm entities (one to many). This corresponds to the OData navigation property to_CustProjSOIBillgPlnItm.

      If the navigation property to_CustProjSOIBillgPlnItm of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmBillgPlnItm 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.
    • getCustProjSOIBillgPlnItmIfPresent

      @Nonnull public io.vavr.control.Option<List<CustProjSlsOrdItmBillgPlnItm>> getCustProjSOIBillgPlnItmIfPresent()
      Retrieval of associated CustProjSlsOrdItmBillgPlnItm entities (one to many). This corresponds to the OData navigation property to_CustProjSOIBillgPlnItm.

      If the navigation property for an entity CustProjSlsOrdItem has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_CustProjSOIBillgPlnItm is already loaded, the result will contain the CustProjSlsOrdItmBillgPlnItm entities. If not, an Option with result state empty is returned.
    • setCustProjSOIBillgPlnItm

      public void setCustProjSOIBillgPlnItm(@Nonnull List<CustProjSlsOrdItmBillgPlnItm> value)
      Overwrites the list of associated CustProjSlsOrdItmBillgPlnItm entities for the loaded navigation property to_CustProjSOIBillgPlnItm.

      If the navigation property to_CustProjSOIBillgPlnItm of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmBillgPlnItm entities.
    • addCustProjSOIBillgPlnItm

      public void addCustProjSOIBillgPlnItm(CustProjSlsOrdItmBillgPlnItm... entity)
      Adds elements to the list of associated CustProjSlsOrdItmBillgPlnItm entities. This corresponds to the OData navigation property to_CustProjSOIBillgPlnItm.

      If the navigation property to_CustProjSOIBillgPlnItm of a queried CustProjSlsOrdItem 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 CustProjSlsOrdItmBillgPlnItm entities.
    • builder

      @Nonnull public static CustProjSlsOrdItem.CustProjSlsOrdItemBuilder builder()
    • getCustomerProject

      @Nullable public String getCustomerProject()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CustomerProject

      Returns:
      Commercial Project ID
    • getSalesOrderItem

      @Nullable public String getSalesOrderItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SalesOrderItem

      Returns:
      Sales Order Item
    • getSalesOrder

      @Nullable public String getSalesOrder()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Returns:
      Sales Order
    • getSalesOrderItemCategory

      @Nullable public String getSalesOrderItemCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrderItemCategory

      Returns:
      Sales Document Item Category
    • getMaterial

      @Nullable public String getMaterial()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getSalesOrderItemText

      @Nullable public String getSalesOrderItemText()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SalesOrderItemText

      Returns:
      Short Text for Sales Order Item
    • getProfitCenter

      @Nullable public String getProfitCenter()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

      Returns:
      Profit Center
    • getCappedNetAmount

      @Nullable public BigDecimal getCappedNetAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: CappedNetAmount

      Returns:
      Net Amount Cap
    • getCappedNetAmtAlertThldInPct

      @Nullable public String getCappedNetAmtAlertThldInPct()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CappedNetAmtAlertThldInPct

      Returns:
      Notification Threshold (in Pct) for Exceeded Net Amount Cap
    • getMaterialByCustomer

      @Nullable public String getMaterialByCustomer()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: MaterialByCustomer

      Returns:
      Material Number Used by Customer
    • getNetAmount

      @Nullable public BigDecimal getNetAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: NetAmount

      Returns:
      Net Value of the Order Item in Document Currency
    • getExpectedNetAmount

      @Nullable public BigDecimal getExpectedNetAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ExpectedNetAmount

      Returns:
      Expected Net Amount
    • getTotalStandAloneSellingPrice

      @Nullable public BigDecimal getTotalStandAloneSellingPrice()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalStandAloneSellingPrice

      Returns:
      IFRS 15: Standalone Selling Price
    • getTransactionCurrency

      @Nullable public String getTransactionCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      SD Document Currency
    • getWBSElement

      @Nullable public String getWBSElement()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElement

      Returns:
      Work Breakdown Structure Element (WBS Element)
    • getPurchaseOrderByCustomer

      @Nullable public String getPurchaseOrderByCustomer()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: PurchaseOrderByCustomer

      Returns:
      Customer Reference
    • getUnderlyingPurchaseOrderItem

      @Nullable public String getUnderlyingPurchaseOrderItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: UnderlyingPurchaseOrderItem

      Returns:
      Item Number of the Underlying Purchase Order
    • getSalesDocumentRjcnReason

      @Nullable public String getSalesDocumentRjcnReason()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SalesDocumentRjcnReason

      Returns:
      Reason for Rejection of Sales Documents
    • getSDDocumentRejectionStatus

      @Nullable public String getSDDocumentRejectionStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SDDocumentRejectionStatus

      Returns:
      Rejection Status (Item)
    • getSDProcessStatus

      @Nullable public String getSDProcessStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SDProcessStatus

      Returns:
      Overall Processing Status (Item)
    • getItemBillingBlockReason

      @Nullable public String getItemBillingBlockReason()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ItemBillingBlockReason

      Returns:
      Billing Block for Item
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CustProjSlsOrdItem>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<CustProjSlsOrdItem>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<CustProjSlsOrdItem>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CustProjSlsOrdItem>