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

public class ServiceQuotation extends VdmEntity<ServiceQuotation>
Service Quotation

Original entity name from the Odata EDM: A_ServiceQuotationType

  • Field Details

    • ALL_FIELDS

      public static final ServiceQuotationSelectable ALL_FIELDS
      Selector for all available fields of ServiceQuotation.
    • SERVICE_QUOTATION

      public static final ServiceQuotationField<String> SERVICE_QUOTATION
      Use with available fluent helpers to apply the ServiceQuotation field to query operations.
    • SERVICE_QUOTATION_TYPE

      public static final ServiceQuotationField<String> SERVICE_QUOTATION_TYPE
      Use with available fluent helpers to apply the ServiceQuotationType field to query operations.
    • SERVICE_QUOTATION_UUID

      public static final ServiceQuotationField<UUID> SERVICE_QUOTATION_UUID
      Use with available fluent helpers to apply the ServiceQuotationUUID field to query operations.
    • SERVICE_QUOTATION_DESCRIPTION

      public static final ServiceQuotationField<String> SERVICE_QUOTATION_DESCRIPTION
      Use with available fluent helpers to apply the ServiceQuotationDescription field to query operations.
    • LANGUAGE

      public static final ServiceQuotationField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • REQUESTED_SERVICE_START_DATE_TIME

      public static final ServiceQuotationField<ZonedDateTime> REQUESTED_SERVICE_START_DATE_TIME
      Use with available fluent helpers to apply the RequestedServiceStartDateTime field to query operations.
    • REQUESTED_SERVICE_END_DATE_TIME

      public static final ServiceQuotationField<ZonedDateTime> REQUESTED_SERVICE_END_DATE_TIME
      Use with available fluent helpers to apply the RequestedServiceEndDateTime field to query operations.
    • SRVC_QTAN_VALIDITY_START_DATE_TIME

      public static final ServiceQuotationField<BigDecimal> SRVC_QTAN_VALIDITY_START_DATE_TIME
      Use with available fluent helpers to apply the SrvcQtanValidityStartDateTime field to query operations.
    • SRVC_QTAN_VALIDITY_END_DATE_TIME

      public static final ServiceQuotationField<BigDecimal> SRVC_QTAN_VALIDITY_END_DATE_TIME
      Use with available fluent helpers to apply the SrvcQtanValidityEndDateTime field to query operations.
    • SERVICE_QTAN_EXT_REFERENCE

      public static final ServiceQuotationField<String> SERVICE_QTAN_EXT_REFERENCE
      Use with available fluent helpers to apply the ServiceQtanExtReference field to query operations.
    • SERVICE_QUOTATION_IS_RELEASED

      public static final ServiceQuotationField<String> SERVICE_QUOTATION_IS_RELEASED
      Use with available fluent helpers to apply the ServiceQuotationIsReleased field to query operations.
    • SERVICE_QUOTATION_IS_ACCEPTED

      public static final ServiceQuotationField<String> SERVICE_QUOTATION_IS_ACCEPTED
      Use with available fluent helpers to apply the ServiceQuotationIsAccepted field to query operations.
    • SERVICE_QUOTATION_IS_REJECTED

      public static final ServiceQuotationField<String> SERVICE_QUOTATION_IS_REJECTED
      Use with available fluent helpers to apply the ServiceQuotationIsRejected field to query operations.
    • SRVC_QUOTATION_REJECTION_REASON

      public static final ServiceQuotationField<String> SRVC_QUOTATION_REJECTION_REASON
      Use with available fluent helpers to apply the SrvcQuotationRejectionReason field to query operations.
    • SALES_ORGANIZATION

      public static final ServiceQuotationField<String> SALES_ORGANIZATION
      Use with available fluent helpers to apply the SalesOrganization field to query operations.
    • DISTRIBUTION_CHANNEL

      public static final ServiceQuotationField<String> DISTRIBUTION_CHANNEL
      Use with available fluent helpers to apply the DistributionChannel field to query operations.
    • DIVISION

      public static final ServiceQuotationField<String> DIVISION
      Use with available fluent helpers to apply the Division field to query operations.
    • SALES_OFFICE

      public static final ServiceQuotationField<String> SALES_OFFICE
      Use with available fluent helpers to apply the SalesOffice field to query operations.
    • SALES_GROUP

      public static final ServiceQuotationField<String> SALES_GROUP
      Use with available fluent helpers to apply the SalesGroup field to query operations.
    • SOLD_TO_PARTY

      public static final ServiceQuotationField<String> SOLD_TO_PARTY
      Use with available fluent helpers to apply the SoldToParty field to query operations.
    • SHIP_TO_PARTY

      public static final ServiceQuotationField<String> SHIP_TO_PARTY
      Use with available fluent helpers to apply the ShipToParty field to query operations.
    • CONTACT_PERSON

      public static final ServiceQuotationField<String> CONTACT_PERSON
      Use with available fluent helpers to apply the ContactPerson field to query operations.
    • SERVICE_QTAN_SUCCESSOR_ORDER

      public static final ServiceQuotationField<String> SERVICE_QTAN_SUCCESSOR_ORDER
      Use with available fluent helpers to apply the ServiceQtanSuccessorOrder field to query operations.
    • RESPY_MGMT_SERVICE_TEAM

      public static final ServiceQuotationField<String> RESPY_MGMT_SERVICE_TEAM
      Use with available fluent helpers to apply the RespyMgmtServiceTeam field to query operations.
    • RESPY_MGMT_SERVICE_TEAM_NAME

      public static final ServiceQuotationField<String> RESPY_MGMT_SERVICE_TEAM_NAME
      Use with available fluent helpers to apply the RespyMgmtServiceTeamName field to query operations.
    • RESPY_MGMT_GLOBAL_TEAM_ID

      public static final ServiceQuotationField<String> RESPY_MGMT_GLOBAL_TEAM_ID
      Use with available fluent helpers to apply the RespyMgmtGlobalTeamID field to query operations.
    • PAYMENT_TERMS

      public static final ServiceQuotationField<String> PAYMENT_TERMS
      Use with available fluent helpers to apply the PaymentTerms field to query operations.
    • TRANSACTION_CURRENCY

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

      public static final ServiceQuotationField<BigDecimal> SERVICE_DOC_GROSS_AMOUNT
      Use with available fluent helpers to apply the ServiceDocGrossAmount field to query operations.
    • SERVICE_DOC_NET_AMOUNT

      public static final ServiceQuotationField<BigDecimal> SERVICE_DOC_NET_AMOUNT
      Use with available fluent helpers to apply the ServiceDocNetAmount field to query operations.
    • SERVICE_DOC_TAX_AMOUNT

      public static final ServiceQuotationField<BigDecimal> SERVICE_DOC_TAX_AMOUNT
      Use with available fluent helpers to apply the ServiceDocTaxAmount field to query operations.
    • REFERENCE_IN_HOUSE_REPAIR

      public static final ServiceQuotationField<String> REFERENCE_IN_HOUSE_REPAIR
      Use with available fluent helpers to apply the ReferenceInHouseRepair field to query operations.
    • TO_ITEM

      public static final ServiceQuotationLink<ServiceQuotationItem> TO_ITEM
      Use with available fluent helpers to apply the to_Item navigation property to query operations.
    • TO_PERSON_RESPONSIBLE

      public static final ServiceQuotationLink<ServiceQtanPersonResp> TO_PERSON_RESPONSIBLE
      Use with available fluent helpers to apply the to_PersonResponsible navigation property to query operations.
    • TO_PRICING_ELEMENT

      public static final ServiceQuotationLink<ServiceQtanPriceElement> TO_PRICING_ELEMENT
      Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
    • TO_REFERENCE_OBJECT

      public static final ServiceQuotationLink<ServiceQtanRefObject> TO_REFERENCE_OBJECT
      Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
    • TO_TEXT

      public static final ServiceQuotationLink<ServiceQuotationText> TO_TEXT
      Use with available fluent helpers to apply the to_Text navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

      public void setServiceQuotation(@Nullable String serviceQuotation)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQuotation

      Parameters:
      serviceQuotation - Transaction ID
    • setServiceQuotationType

      public void setServiceQuotationType(@Nullable String serviceQuotationType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceQuotationType

      Parameters:
      serviceQuotationType - Business Transaction Type
    • setServiceQuotationUUID

      public void setServiceQuotationUUID(@Nullable UUID serviceQuotationUUID)
      Constraints: none

      Original property name from the Odata EDM: ServiceQuotationUUID

      Parameters:
      serviceQuotationUUID - GUID of a CRM Order Object
    • setServiceQuotationDescription

      public void setServiceQuotationDescription(@Nullable String serviceQuotationDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceQuotationDescription

      Parameters:
      serviceQuotationDescription - Transaction Description
    • setLanguage

      public void setLanguage(@Nullable String language)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key of Description
    • setRequestedServiceStartDateTime

      public void setRequestedServiceStartDateTime(@Nullable ZonedDateTime requestedServiceStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceStartDateTime

      Parameters:
      requestedServiceStartDateTime - Service Request Start Date
    • setRequestedServiceEndDateTime

      public void setRequestedServiceEndDateTime(@Nullable ZonedDateTime requestedServiceEndDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceEndDateTime

      Parameters:
      requestedServiceEndDateTime - Service Request Due Date
    • setSrvcQtanValidityStartDateTime

      public void setSrvcQtanValidityStartDateTime(@Nullable BigDecimal srvcQtanValidityStartDateTime)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: SrvcQtanValidityStartDateTime

      Parameters:
      srvcQtanValidityStartDateTime - Contract Start date
    • setSrvcQtanValidityEndDateTime

      public void setSrvcQtanValidityEndDateTime(@Nullable BigDecimal srvcQtanValidityEndDateTime)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: SrvcQtanValidityEndDateTime

      Parameters:
      srvcQtanValidityEndDateTime - Contract End Date
    • setServiceQtanExtReference

      public void setServiceQtanExtReference(@Nullable String serviceQtanExtReference)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ServiceQtanExtReference

      Parameters:
      serviceQtanExtReference - External Reference Number
    • setServiceQuotationIsReleased

      public void setServiceQuotationIsReleased(@Nullable String serviceQuotationIsReleased)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationIsReleased

      Parameters:
      serviceQuotationIsReleased - Release Status
    • setServiceQuotationIsAccepted

      public void setServiceQuotationIsAccepted(@Nullable String serviceQuotationIsAccepted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationIsAccepted

      Parameters:
      serviceQuotationIsAccepted - The serviceQuotationIsAccepted to set.
    • setServiceQuotationIsRejected

      public void setServiceQuotationIsRejected(@Nullable String serviceQuotationIsRejected)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ServiceQuotationIsRejected

      Parameters:
      serviceQuotationIsRejected - Cancellation Status
    • setSrvcQuotationRejectionReason

      public void setSrvcQuotationRejectionReason(@Nullable String srvcQuotationRejectionReason)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrvcQuotationRejectionReason

      Parameters:
      srvcQuotationRejectionReason - Cancellation Reason Code
    • setSalesOrganization

      public void setSalesOrganization(@Nullable String salesOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Parameters:
      salesOrganization - Sales Organization
    • setDistributionChannel

      public void setDistributionChannel(@Nullable String distributionChannel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Parameters:
      distributionChannel - Distribution Channel
    • setDivision

      public void setDivision(@Nullable String division)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Division

      Parameters:
      division - Division
    • setSalesOffice

      public void setSalesOffice(@Nullable String salesOffice)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Parameters:
      salesOffice - Sales Office
    • setSalesGroup

      public void setSalesGroup(@Nullable String salesGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Parameters:
      salesGroup - Sales Group
    • setSoldToParty

      public void setSoldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Parameters:
      soldToParty - Sold-To Party
    • setShipToParty

      public void setShipToParty(@Nullable String shipToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipToParty

      Parameters:
      shipToParty - Ship-To Party
    • setContactPerson

      public void setContactPerson(@Nullable String contactPerson)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ContactPerson

      Parameters:
      contactPerson - Customer Contact Person
    • setServiceQtanSuccessorOrder

      public void setServiceQtanSuccessorOrder(@Nullable String serviceQtanSuccessorOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQtanSuccessorOrder

      Parameters:
      serviceQtanSuccessorOrder - Transaction ID
    • setRespyMgmtServiceTeam

      public void setRespyMgmtServiceTeam(@Nullable String respyMgmtServiceTeam)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: RespyMgmtServiceTeam

      Parameters:
      respyMgmtServiceTeam - Service Team (Responsibility Management)
    • setRespyMgmtServiceTeamName

      public void setRespyMgmtServiceTeamName(@Nullable String respyMgmtServiceTeamName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtServiceTeamName

      Parameters:
      respyMgmtServiceTeamName - Name
    • setRespyMgmtGlobalTeamID

      public void setRespyMgmtGlobalTeamID(@Nullable String respyMgmtGlobalTeamID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Parameters:
      respyMgmtGlobalTeamID - Global Team ID in Responsibility Mgmt.
    • setPaymentTerms

      public void setPaymentTerms(@Nullable String paymentTerms)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PaymentTerms

      Parameters:
      paymentTerms - Terms of Payment
    • setTransactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Currency
    • setServiceDocGrossAmount

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

      Original property name from the Odata EDM: ServiceDocGrossAmount

      Parameters:
      serviceDocGrossAmount - Total Gross Value of Document in Document Currency
    • setServiceDocNetAmount

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

      Original property name from the Odata EDM: ServiceDocNetAmount

      Parameters:
      serviceDocNetAmount - Total Net Value of Document in Document Currency
    • setServiceDocTaxAmount

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

      Original property name from the Odata EDM: ServiceDocTaxAmount

      Parameters:
      serviceDocTaxAmount - Total Tax Amount in Document Currency
    • setReferenceInHouseRepair

      public void setReferenceInHouseRepair(@Nullable String referenceInHouseRepair)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceInHouseRepair

      Parameters:
      referenceInHouseRepair - Reference In-House Repair
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceQuotationField<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> ServiceQuotationField<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<ServiceQuotation>
    • setServicePathForFetch

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

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

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

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

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

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

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

      @Nonnull public List<ServiceQuotationItem> getItemOrFetch()
      Retrieval of associated ServiceQuotationItem entities (one to many). This corresponds to the OData navigation property to_Item.

      If the navigation property to_Item of a queried ServiceQuotation 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 ServiceQuotationItem 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.
    • getItemIfPresent

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

      If the navigation property for an entity ServiceQuotation 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_Item is already loaded, the result will contain the ServiceQuotationItem entities. If not, an Option with result state empty is returned.
    • setItem

      public void setItem(@Nonnull List<ServiceQuotationItem> value)
      Overwrites the list of associated ServiceQuotationItem entities for the loaded navigation property to_Item.

      If the navigation property to_Item of a queried ServiceQuotation 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 ServiceQuotationItem entities.
    • addItem

      public void addItem(ServiceQuotationItem... entity)
      Adds elements to the list of associated ServiceQuotationItem entities. This corresponds to the OData navigation property to_Item.

      If the navigation property to_Item of a queried ServiceQuotation 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 ServiceQuotationItem entities.
    • fetchPersonResponsible

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

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

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

      @Nonnull public List<ServiceQtanPersonResp> getPersonResponsibleOrFetch()
      Retrieval of associated ServiceQtanPersonResp entities (one to many). This corresponds to the OData navigation property to_PersonResponsible.

      If the navigation property to_PersonResponsible of a queried ServiceQuotation 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 ServiceQtanPersonResp 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.
    • getPersonResponsibleIfPresent

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

      If the navigation property for an entity ServiceQuotation 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_PersonResponsible is already loaded, the result will contain the ServiceQtanPersonResp entities. If not, an Option with result state empty is returned.
    • setPersonResponsible

      public void setPersonResponsible(@Nonnull List<ServiceQtanPersonResp> value)
      Overwrites the list of associated ServiceQtanPersonResp entities for the loaded navigation property to_PersonResponsible.

      If the navigation property to_PersonResponsible of a queried ServiceQuotation 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 ServiceQtanPersonResp entities.
    • addPersonResponsible

      public void addPersonResponsible(ServiceQtanPersonResp... entity)
      Adds elements to the list of associated ServiceQtanPersonResp entities. This corresponds to the OData navigation property to_PersonResponsible.

      If the navigation property to_PersonResponsible of a queried ServiceQuotation 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 ServiceQtanPersonResp entities.
    • fetchPricingElement

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

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

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

      @Nonnull public List<ServiceQtanPriceElement> getPricingElementOrFetch()
      Retrieval of associated ServiceQtanPriceElement entities (one to many). This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotation 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 ServiceQtanPriceElement 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.
    • getPricingElementIfPresent

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

      If the navigation property for an entity ServiceQuotation 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_PricingElement is already loaded, the result will contain the ServiceQtanPriceElement entities. If not, an Option with result state empty is returned.
    • setPricingElement

      public void setPricingElement(@Nonnull List<ServiceQtanPriceElement> value)
      Overwrites the list of associated ServiceQtanPriceElement entities for the loaded navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotation 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 ServiceQtanPriceElement entities.
    • addPricingElement

      public void addPricingElement(ServiceQtanPriceElement... entity)
      Adds elements to the list of associated ServiceQtanPriceElement entities. This corresponds to the OData navigation property to_PricingElement.

      If the navigation property to_PricingElement of a queried ServiceQuotation 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 ServiceQtanPriceElement entities.
    • fetchReferenceObject

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

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

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

      @Nonnull public List<ServiceQtanRefObject> getReferenceObjectOrFetch()
      Retrieval of associated ServiceQtanRefObject entities (one to many). This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotation 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 ServiceQtanRefObject 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.
    • getReferenceObjectIfPresent

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

      If the navigation property for an entity ServiceQuotation 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_ReferenceObject is already loaded, the result will contain the ServiceQtanRefObject entities. If not, an Option with result state empty is returned.
    • setReferenceObject

      public void setReferenceObject(@Nonnull List<ServiceQtanRefObject> value)
      Overwrites the list of associated ServiceQtanRefObject entities for the loaded navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotation 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 ServiceQtanRefObject entities.
    • addReferenceObject

      public void addReferenceObject(ServiceQtanRefObject... entity)
      Adds elements to the list of associated ServiceQtanRefObject entities. This corresponds to the OData navigation property to_ReferenceObject.

      If the navigation property to_ReferenceObject of a queried ServiceQuotation 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 ServiceQtanRefObject entities.
    • fetchText

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

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

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

      @Nonnull public List<ServiceQuotationText> getTextOrFetch()
      Retrieval of associated ServiceQuotationText entities (one to many). This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotation 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 ServiceQuotationText 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.
    • getTextIfPresent

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

      If the navigation property for an entity ServiceQuotation 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_Text is already loaded, the result will contain the ServiceQuotationText entities. If not, an Option with result state empty is returned.
    • setText

      public void setText(@Nonnull List<ServiceQuotationText> value)
      Overwrites the list of associated ServiceQuotationText entities for the loaded navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotation 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 ServiceQuotationText entities.
    • addText

      public void addText(ServiceQuotationText... entity)
      Adds elements to the list of associated ServiceQuotationText entities. This corresponds to the OData navigation property to_Text.

      If the navigation property to_Text of a queried ServiceQuotation 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 ServiceQuotationText entities.
    • builder

      @Nonnull public static ServiceQuotation.ServiceQuotationBuilder builder()
    • getServiceQuotation

      @Nullable public String getServiceQuotation()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQuotation

      Returns:
      Transaction ID
    • getServiceQuotationType

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

      Original property name from the Odata EDM: ServiceQuotationType

      Returns:
      Business Transaction Type
    • getServiceQuotationUUID

      @Nullable public UUID getServiceQuotationUUID()
      Constraints: none

      Original property name from the Odata EDM: ServiceQuotationUUID

      Returns:
      GUID of a CRM Order Object
    • getServiceQuotationDescription

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

      Original property name from the Odata EDM: ServiceQuotationDescription

      Returns:
      Transaction Description
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key of Description
    • getRequestedServiceStartDateTime

      @Nullable public ZonedDateTime getRequestedServiceStartDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceStartDateTime

      Returns:
      Service Request Start Date
    • getRequestedServiceEndDateTime

      @Nullable public ZonedDateTime getRequestedServiceEndDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequestedServiceEndDateTime

      Returns:
      Service Request Due Date
    • getSrvcQtanValidityStartDateTime

      @Nullable public BigDecimal getSrvcQtanValidityStartDateTime()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: SrvcQtanValidityStartDateTime

      Returns:
      Contract Start date
    • getSrvcQtanValidityEndDateTime

      @Nullable public BigDecimal getSrvcQtanValidityEndDateTime()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: SrvcQtanValidityEndDateTime

      Returns:
      Contract End Date
    • getServiceQtanExtReference

      @Nullable public String getServiceQtanExtReference()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ServiceQtanExtReference

      Returns:
      External Reference Number
    • getServiceQuotationIsReleased

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

      Original property name from the Odata EDM: ServiceQuotationIsReleased

      Returns:
      Release Status
    • getServiceQuotationIsAccepted

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

      Original property name from the Odata EDM: ServiceQuotationIsAccepted

      Returns:
      The serviceQuotationIsAccepted contained in this entity.
    • getServiceQuotationIsRejected

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

      Original property name from the Odata EDM: ServiceQuotationIsRejected

      Returns:
      Cancellation Status
    • getSrvcQuotationRejectionReason

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

      Original property name from the Odata EDM: SrvcQuotationRejectionReason

      Returns:
      Cancellation Reason Code
    • getSalesOrganization

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

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      Sales Organization
    • getDistributionChannel

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

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      Distribution Channel
    • getDivision

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

      Original property name from the Odata EDM: Division

      Returns:
      Division
    • getSalesOffice

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

      Original property name from the Odata EDM: SalesOffice

      Returns:
      Sales Office
    • getSalesGroup

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

      Original property name from the Odata EDM: SalesGroup

      Returns:
      Sales Group
    • getSoldToParty

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

      Original property name from the Odata EDM: SoldToParty

      Returns:
      Sold-To Party
    • getShipToParty

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

      Original property name from the Odata EDM: ShipToParty

      Returns:
      Ship-To Party
    • getContactPerson

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

      Original property name from the Odata EDM: ContactPerson

      Returns:
      Customer Contact Person
    • getServiceQtanSuccessorOrder

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

      Original property name from the Odata EDM: ServiceQtanSuccessorOrder

      Returns:
      Transaction ID
    • getRespyMgmtServiceTeam

      @Nullable public String getRespyMgmtServiceTeam()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: RespyMgmtServiceTeam

      Returns:
      Service Team (Responsibility Management)
    • getRespyMgmtServiceTeamName

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

      Original property name from the Odata EDM: RespyMgmtServiceTeamName

      Returns:
      Name
    • getRespyMgmtGlobalTeamID

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

      Original property name from the Odata EDM: RespyMgmtGlobalTeamID

      Returns:
      Global Team ID in Responsibility Mgmt.
    • getPaymentTerms

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

      Original property name from the Odata EDM: PaymentTerms

      Returns:
      Terms of Payment
    • getTransactionCurrency

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

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Currency
    • getServiceDocGrossAmount

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

      Original property name from the Odata EDM: ServiceDocGrossAmount

      Returns:
      Total Gross Value of Document in Document Currency
    • getServiceDocNetAmount

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

      Original property name from the Odata EDM: ServiceDocNetAmount

      Returns:
      Total Net Value of Document in Document Currency
    • getServiceDocTaxAmount

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

      Original property name from the Odata EDM: ServiceDocTaxAmount

      Returns:
      Total Tax Amount in Document Currency
    • getReferenceInHouseRepair

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

      Original property name from the Odata EDM: ReferenceInHouseRepair

      Returns:
      Reference In-House Repair
    • toString

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

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

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

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