public class ServiceContract extends VdmEntity<ServiceContract>
Original entity name from the Odata EDM: A_ServiceContractType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceContract.ServiceContractBuilder
Helper class to allow for fluent creation of ServiceContract instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceContractSelectable |
ALL_FIELDS
Selector for all available fields of ServiceContract.
|
static ServiceContractField<String> |
BILL_TO_PARTY
Use with available fluent helpers to apply the BillToParty field to query operations.
|
static ServiceContractField<String> |
CONTACT_PERSON
Use with available fluent helpers to apply the ContactPerson field to query operations.
|
static ServiceContractField<LocalDateTime> |
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
|
static ServiceContractField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static ServiceContractField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static ServiceContractField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ServiceContractField<String> |
PAYER_PARTY
Use with available fluent helpers to apply the PayerParty field to query operations.
|
static ServiceContractField<String> |
PERSON_RESPONSIBLE
Use with available fluent helpers to apply the PersonResponsible field to query operations.
|
static ServiceContractField<String> |
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
|
static ServiceContractField<String> |
REFERENCE_SERVICE_CONTRACT
Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.
|
static ServiceContractField<String> |
REFERENCE_SERVICE_QTAN
Use with available fluent helpers to apply the ReferenceServiceQtan field to query operations.
|
static ServiceContractField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static ServiceContractField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static ServiceContractField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTR_CANCELLATION_REASON
Use with available fluent helpers to apply the ServiceContrCancellationReason field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT
Use with available fluent helpers to apply the ServiceContract field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_CANCLN_PARTY
Use with available fluent helpers to apply the ServiceContractCanclnParty field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_DESCRIPTION
Use with available fluent helpers to apply the ServiceContractDescription field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_CONTRACT_END_DATE_TIME
Use with available fluent helpers to apply the ServiceContractEndDateTime field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_IS_COMPLETED
Use with available fluent helpers to apply the ServiceContractIsCompleted field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_IS_RELEASED
Use with available fluent helpers to apply the ServiceContractIsReleased field to query operations.
|
static ServiceContractField<BigDecimal> |
SERVICE_CONTRACT_START_DATE_TIME
Use with available fluent helpers to apply the ServiceContractStartDateTime field to query operations.
|
static ServiceContractField<String> |
SERVICE_CONTRACT_TYPE
Use with available fluent helpers to apply the ServiceContractType field to query operations.
|
static ServiceContractField<String> |
SHIP_TO_PARTY
Use with available fluent helpers to apply the ShipToParty field to query operations.
|
static ServiceContractField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static ServiceContractField<BigDecimal> |
SRVC_CONTR_CANCELLATION_DATE_TIME
Use with available fluent helpers to apply the SrvcContrCancellationDateTime field to query operations.
|
static ServiceContractLink<ServiceContractItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static ServiceContractLink<ServiceContractText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceContract() |
ServiceContract(String serviceContract,
String serviceContractType,
String serviceContractDescription,
String language,
BigDecimal serviceContractStartDateTime,
BigDecimal serviceContractEndDateTime,
String purchaseOrderByCustomer,
LocalDateTime customerPurchaseOrderDate,
String serviceContractIsReleased,
String serviceContractIsCompleted,
String salesOrganization,
String distributionChannel,
String division,
String salesOffice,
String salesGroup,
String soldToParty,
String shipToParty,
String billToParty,
String payerParty,
String contactPerson,
String personResponsible,
String serviceContractCanclnParty,
String serviceContrCancellationReason,
BigDecimal srvcContrCancellationDateTime,
String referenceServiceContract,
String referenceServiceQtan,
List<ServiceContractItem> toItem,
List<ServiceContractText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(ServiceContractItem... entity)
Adds elements to the list of associated ServiceContractItem entities.
|
void |
addText(ServiceContractText... entity)
Adds elements to the list of associated ServiceContractText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceContract.ServiceContractBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceContractItem> |
fetchItem()
Fetches the ServiceContractItem entities (one to many) associated with this entity.
|
List<ServiceContractText> |
fetchText()
Fetches the ServiceContractText entities (one to many) associated with this entity.
|
static <T> ServiceContractField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBillToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
getCustomerPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<List<ServiceContractItem>> |
getItemIfPresent()
Retrieval of associated ServiceContractItem entities (one to many).
|
List<ServiceContractItem> |
getItemOrFetch()
Retrieval of associated ServiceContractItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getPayerParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getPersonResponsible()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseOrderByCustomer()
Constraints: Not nullable, Maximum length: 35
|
String |
getReferenceServiceContract()
Constraints: Not nullable, Maximum length: 80
|
String |
getReferenceServiceQtan()
Constraints: Not nullable, Maximum length: 80
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getServiceContractCanclnParty()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContractDescription()
Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getServiceContractEndDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getServiceContractIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceContractIsReleased()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getServiceContractStartDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
String |
getServiceContractType()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceContrCancellationReason()
Constraints: Not nullable, Maximum length: 4
|
String |
getShipToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getSrvcContrCancellationDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
io.vavr.control.Option<List<ServiceContractText>> |
getTextIfPresent()
Retrieval of associated ServiceContractText entities (one to many).
|
List<ServiceContractText> |
getTextOrFetch()
Retrieval of associated ServiceContractText entities (one to many).
|
Class<ServiceContract> |
getType() |
int |
hashCode() |
void |
setBillToParty(String billToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<ServiceContractItem> value)
Overwrites the list of associated ServiceContractItem entities for the loaded navigation property
to_Item.
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setPayerParty(String payerParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setPersonResponsible(String personResponsible)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseOrderByCustomer(String purchaseOrderByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setReferenceServiceContract(String referenceServiceContract)
Constraints: Not nullable, Maximum length: 80
|
void |
setReferenceServiceQtan(String referenceServiceQtan)
Constraints: Not nullable, Maximum length: 80
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContract(String serviceContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceContractCanclnParty(String serviceContractCanclnParty)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContractDescription(String serviceContractDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceContractEndDateTime(BigDecimal serviceContractEndDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setServiceContractIsCompleted(String serviceContractIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceContractIsReleased(String serviceContractIsReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceContractStartDateTime(BigDecimal serviceContractStartDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setServiceContractType(String serviceContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceContrCancellationReason(String serviceContrCancellationReason)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShipToParty(String shipToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSrvcContrCancellationDateTime(BigDecimal srvcContrCancellationDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setText(List<ServiceContractText> value)
Overwrites the list of associated ServiceContractText entities for the loaded navigation property
to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ServiceContractSelectable ALL_FIELDS
public static final ServiceContractField<String> SERVICE_CONTRACT
public static final ServiceContractField<String> SERVICE_CONTRACT_TYPE
public static final ServiceContractField<String> SERVICE_CONTRACT_DESCRIPTION
public static final ServiceContractField<String> LANGUAGE
public static final ServiceContractField<BigDecimal> SERVICE_CONTRACT_START_DATE_TIME
public static final ServiceContractField<BigDecimal> SERVICE_CONTRACT_END_DATE_TIME
public static final ServiceContractField<String> PURCHASE_ORDER_BY_CUSTOMER
public static final ServiceContractField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
public static final ServiceContractField<String> SERVICE_CONTRACT_IS_RELEASED
public static final ServiceContractField<String> SERVICE_CONTRACT_IS_COMPLETED
public static final ServiceContractField<String> SALES_ORGANIZATION
public static final ServiceContractField<String> DISTRIBUTION_CHANNEL
public static final ServiceContractField<String> DIVISION
public static final ServiceContractField<String> SALES_OFFICE
public static final ServiceContractField<String> SALES_GROUP
public static final ServiceContractField<String> SOLD_TO_PARTY
public static final ServiceContractField<String> SHIP_TO_PARTY
public static final ServiceContractField<String> BILL_TO_PARTY
public static final ServiceContractField<String> PAYER_PARTY
public static final ServiceContractField<String> CONTACT_PERSON
public static final ServiceContractField<String> PERSON_RESPONSIBLE
public static final ServiceContractField<String> SERVICE_CONTRACT_CANCLN_PARTY
public static final ServiceContractField<String> SERVICE_CONTR_CANCELLATION_REASON
public static final ServiceContractField<BigDecimal> SRVC_CONTR_CANCELLATION_DATE_TIME
public static final ServiceContractField<String> REFERENCE_SERVICE_CONTRACT
public static final ServiceContractField<String> REFERENCE_SERVICE_QTAN
public static final ServiceContractLink<ServiceContractItem> TO_ITEM
public static final ServiceContractLink<ServiceContractText> TO_TEXT
public ServiceContract()
public ServiceContract(@Nullable String serviceContract, @Nullable String serviceContractType, @Nullable String serviceContractDescription, @Nullable String language, @Nullable BigDecimal serviceContractStartDateTime, @Nullable BigDecimal serviceContractEndDateTime, @Nullable String purchaseOrderByCustomer, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable String serviceContractIsReleased, @Nullable String serviceContractIsCompleted, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String soldToParty, @Nullable String shipToParty, @Nullable String billToParty, @Nullable String payerParty, @Nullable String contactPerson, @Nullable String personResponsible, @Nullable String serviceContractCanclnParty, @Nullable String serviceContrCancellationReason, @Nullable BigDecimal srvcContrCancellationDateTime, @Nullable String referenceServiceContract, @Nullable String referenceServiceQtan, List<ServiceContractItem> toItem, List<ServiceContractText> toText)
@Nonnull public Class<ServiceContract> getType()
getType
in class VdmObject<ServiceContract>
public void setServiceContract(@Nullable String serviceContract)
Original property name from the Odata EDM: ServiceContract
serviceContract
- Number that identifies the transaction document. It is unique for each business transaction category.public void setServiceContractType(@Nullable String serviceContractType)
Original property name from the Odata EDM: ServiceContractType
A transaction type defines the characteristics and attributes of a business transaction (for example, sales order, service request, visit), and determines the controlling attributes (for example, text determination procedure, partner determination procedure, status profile, organizational data profile). A transaction type controls the processing of a specific business transaction.
serviceContractType
- Key that identifies a transaction type.public void setServiceContractDescription(@Nullable String serviceContractDescription)
Original property name from the Odata EDM: ServiceContractDescription
The description can be used during a search for the transaction.
serviceContractDescription
- Short description for a transaction.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language in which the transaction short text was entered.public void setServiceContractStartDateTime(@Nullable BigDecimal serviceContractStartDateTime)
Original property name from the Odata EDM: ServiceContractStartDateTime
serviceContractStartDateTime
- Contract Start datepublic void setServiceContractEndDateTime(@Nullable BigDecimal serviceContractEndDateTime)
Original property name from the Odata EDM: ServiceContractEndDateTime
serviceContractEndDateTime
- Contract End Datepublic void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
Original property name from the Odata EDM: PurchaseOrderByCustomer
The number represents the connection between the order from the sold-to party and the sales document generated. Customers can use these numbers in correspondence to help determine specific document information. If a number is used for an order, then you can also print out this number on documents sent to customers (such as the delivery note).
purchaseOrderByCustomer
- Number used by the sold-to party to uniquely identify their sales document (such as an order).public void setCustomerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
Original property name from the Odata EDM: CustomerPurchaseOrderDate
customerPurchaseOrderDate
- Date which appears on the customer purchase order. For example, it can describe the day on which the
customer created the purchase order.public void setServiceContractIsReleased(@Nullable String serviceContractIsReleased)
Original property name from the Odata EDM: ServiceContractIsReleased
serviceContractIsReleased
- Release Statuspublic void setServiceContractIsCompleted(@Nullable String serviceContractIsCompleted)
Original property name from the Odata EDM: ServiceContractIsCompleted
serviceContractIsCompleted
- The serviceContractIsCompleted to set.public void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
salesOrganization
- An organizational unit responsible for the sale of certain products or services. The responsibility of
a sales organization may include legal liability for products and customer claims.public void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
You can define data for business partners and products per sales organization and distribution channel. In a sales organization you can deliver to a specific customer through several distribution channels.You can assign a specific distribution channel as an attribute to one or more organizational units. These can be sales organizations or subordinate organizational units for a sales organization such as sales offices.If you work with a selection of sales offices from one sales organization, each of these sales offices can be responsible for a specific distribution channel (for example, wholesale trade, retail trade, direct sales). The attribute "distribution channel" is then assigned to each sales office.When determining the sales area, the system reads for which sales organization an office with a specific distribution channel is assigned and uses this to determine the combination of sales organization and distribution channel.
distributionChannel
- Channel through which the goods or services reach the customer. Typical examples of distribution
channels are wholesale trade, retail trade, or direct sales.public void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
A division can be used, for example, to display a specific product group.
division
- Option of grouping products.public void setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
When you create sales statistics, you can use a sales office as one of the selection criteria. When you print out order confirmations, you can include the address of the sales office.You can assign each customer to a sales office in the customer master record.Within a sales office you can establish sales groups (for example, departments) with specific sales responsibilities. Each person who works in the sales office can be assigned to a sales group in his or her user master record. Each customer can also be assigned to a particular sales group in the customer master record.
salesOffice
- A physical location (for example, a branch office) that has responsibility for the sale of certain
products or services within a given geographical area.public void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
By using sales groups you can designate different areas of responsibility within a sales office. When you generate sales statistics, you can use the sales group as one of the selection criteria.If sales office personnel service both retail and wholesale markets, you can assign a sales group to each market.You assign each salesperson to a sales group in his or her user master record. You assign each customer to a particular sales group in the customer's master record.
salesGroup
- A group of sales people who are responsible for processing sales of certain products or services.public void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- The 32-digit GUID used to identify the sold-to party.public void setShipToParty(@Nullable String shipToParty)
Original property name from the Odata EDM: ShipToParty
shipToParty
- Specifies the ship-to party as a 32-digit GUID.public void setBillToParty(@Nullable String billToParty)
Original property name from the Odata EDM: BillToParty
billToParty
- The 32 digit GUID for the bill-to party.public void setPayerParty(@Nullable String payerParty)
Original property name from the Odata EDM: PayerParty
payerParty
- The 32-digit GUID that specifies the payer.public void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Customer Contact Personpublic void setPersonResponsible(@Nullable String personResponsible)
Original property name from the Odata EDM: PersonResponsible
personResponsible
- Employee Responsiblepublic void setServiceContractCanclnParty(@Nullable String serviceContractCanclnParty)
Original property name from the Odata EDM: ServiceContractCanclnParty
serviceContractCanclnParty
- A person or group of people who can announce a cancellation.public void setServiceContrCancellationReason(@Nullable String serviceContrCancellationReason)
Original property name from the Odata EDM: ServiceContrCancellationReason
The code can be uniquely identified only with the catalog type and code group.
serviceContrCancellationReason
- Represents the lowest level within the hierarchy of catalog type, code group and code. A code refers
to the actual coding for the attribute. For example, in a code group of colors, the code BL can
represent the color blue, GR can represent the color green, and so forth.public void setSrvcContrCancellationDateTime(@Nullable BigDecimal srvcContrCancellationDateTime)
Original property name from the Odata EDM: SrvcContrCancellationDateTime
srvcContrCancellationDateTime
- Contract End Datepublic void setReferenceServiceContract(@Nullable String referenceServiceContract)
Original property name from the Odata EDM: ReferenceServiceContract
referenceServiceContract
- External Reference Numberpublic void setReferenceServiceQtan(@Nullable String referenceServiceQtan)
Original property name from the Odata EDM: ReferenceServiceQtan
referenceServiceQtan
- External Reference Numberprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ServiceContract>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceContract>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceContract>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceContract>
@Nonnull public static <T> ServiceContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ServiceContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ServiceContract>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ServiceContract>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ServiceContract>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ServiceContract>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceContract>
@Nonnull public List<ServiceContractItem> fetchItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<ServiceContractItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<ServiceContractItem>> getItemIfPresent()
If the navigation property for an entity ServiceContract has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is returned.public void setItem(@Nonnull List<ServiceContractItem> value)
If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of ServiceContractItem entities.public void addItem(ServiceContractItem... entity)
If the navigation property to_Item of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of ServiceContractItem entities.@Nonnull public List<ServiceContractText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<ServiceContractText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<ServiceContractText>> getTextIfPresent()
If the navigation property for an entity ServiceContract has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is returned.public void setText(@Nonnull List<ServiceContractText> value)
If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of ServiceContractText entities.public void addText(ServiceContractText... entity)
If the navigation property to_Text of a queried ServiceContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of ServiceContractText entities.@Nonnull public static ServiceContract.ServiceContractBuilder builder()
@Nullable public String getServiceContract()
Original property name from the Odata EDM: ServiceContract
@Nullable public String getServiceContractType()
Original property name from the Odata EDM: ServiceContractType
A transaction type defines the characteristics and attributes of a business transaction (for example, sales order, service request, visit), and determines the controlling attributes (for example, text determination procedure, partner determination procedure, status profile, organizational data profile). A transaction type controls the processing of a specific business transaction.
@Nullable public String getServiceContractDescription()
Original property name from the Odata EDM: ServiceContractDescription
The description can be used during a search for the transaction.
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public BigDecimal getServiceContractStartDateTime()
Original property name from the Odata EDM: ServiceContractStartDateTime
@Nullable public BigDecimal getServiceContractEndDateTime()
Original property name from the Odata EDM: ServiceContractEndDateTime
@Nullable public String getPurchaseOrderByCustomer()
Original property name from the Odata EDM: PurchaseOrderByCustomer
The number represents the connection between the order from the sold-to party and the sales document generated. Customers can use these numbers in correspondence to help determine specific document information. If a number is used for an order, then you can also print out this number on documents sent to customers (such as the delivery note).
@Nullable public LocalDateTime getCustomerPurchaseOrderDate()
Original property name from the Odata EDM: CustomerPurchaseOrderDate
@Nullable public String getServiceContractIsReleased()
Original property name from the Odata EDM: ServiceContractIsReleased
@Nullable public String getServiceContractIsCompleted()
Original property name from the Odata EDM: ServiceContractIsCompleted
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area.
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
You can define data for business partners and products per sales organization and distribution channel. In a sales organization you can deliver to a specific customer through several distribution channels.You can assign a specific distribution channel as an attribute to one or more organizational units. These can be sales organizations or subordinate organizational units for a sales organization such as sales offices.If you work with a selection of sales offices from one sales organization, each of these sales offices can be responsible for a specific distribution channel (for example, wholesale trade, retail trade, direct sales). The attribute "distribution channel" is then assigned to each sales office.When determining the sales area, the system reads for which sales organization an office with a specific distribution channel is assigned and uses this to determine the combination of sales organization and distribution channel.
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
A division can be used, for example, to display a specific product group.
@Nullable public String getSalesOffice()
Original property name from the Odata EDM: SalesOffice
When you create sales statistics, you can use a sales office as one of the selection criteria. When you print out order confirmations, you can include the address of the sales office.You can assign each customer to a sales office in the customer master record.Within a sales office you can establish sales groups (for example, departments) with specific sales responsibilities. Each person who works in the sales office can be assigned to a sales group in his or her user master record. Each customer can also be assigned to a particular sales group in the customer master record.
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
By using sales groups you can designate different areas of responsibility within a sales office. When you generate sales statistics, you can use the sales group as one of the selection criteria.If sales office personnel service both retail and wholesale markets, you can assign a sales group to each market.You assign each salesperson to a sales group in his or her user master record. You assign each customer to a particular sales group in the customer's master record.
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getShipToParty()
Original property name from the Odata EDM: ShipToParty
@Nullable public String getBillToParty()
Original property name from the Odata EDM: BillToParty
@Nullable public String getPayerParty()
Original property name from the Odata EDM: PayerParty
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getPersonResponsible()
Original property name from the Odata EDM: PersonResponsible
@Nullable public String getServiceContractCanclnParty()
Original property name from the Odata EDM: ServiceContractCanclnParty
@Nullable public String getServiceContrCancellationReason()
Original property name from the Odata EDM: ServiceContrCancellationReason
The code can be uniquely identified only with the catalog type and code group.
@Nullable public BigDecimal getSrvcContrCancellationDateTime()
Original property name from the Odata EDM: SrvcContrCancellationDateTime
@Nullable public String getReferenceServiceContract()
Original property name from the Odata EDM: ReferenceServiceContract
@Nullable public String getReferenceServiceQtan()
Original property name from the Odata EDM: ReferenceServiceQtan
@Nonnull public String toString()
toString
in class VdmObject<ServiceContract>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ServiceContract>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ServiceContract>
public int hashCode()
hashCode
in class VdmObject<ServiceContract>
Copyright © 2021 SAP SE. All rights reserved.