public class ServiceOrderTemplate extends VdmEntity<ServiceOrderTemplate>
Original entity name from the Odata EDM: A_ServiceOrderTemplateType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceOrderTemplate.ServiceOrderTemplateBuilder
Helper class to allow for fluent creation of ServiceOrderTemplate instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceOrderTemplateSelectable |
ALL_FIELDS
Selector for all available fields of ServiceOrderTemplate.
|
static ServiceOrderTemplateField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static ServiceOrderTemplateField<String> |
DIVISION
Use with available fluent helpers to apply the Division field to query operations.
|
static ServiceOrderTemplateField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ServiceOrderTemplateField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static ServiceOrderTemplateField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static ServiceOrderTemplateField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static ServiceOrderTemplateField<String> |
SERVICE_DOCUMENT_PRIORITY
Use with available fluent helpers to apply the ServiceDocumentPriority field to query operations.
|
static ServiceOrderTemplateField<String> |
SERVICE_DOCUMENT_TEMPLATE_TYPE
Use with available fluent helpers to apply the ServiceDocumentTemplateType field to query operations.
|
static ServiceOrderTemplateField<String> |
SERVICE_DOCUMENT_TYPE
Use with available fluent helpers to apply the ServiceDocumentType field to query operations.
|
static ServiceOrderTemplateField<String> |
SERVICE_ORDER_TEMPLATE
Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.
|
static ServiceOrderTemplateField<UUID> |
SERVICE_ORDER_TEMPLATE_UUID
Use with available fluent helpers to apply the ServiceOrderTemplateUUID field to query operations.
|
static ServiceOrderTemplateField<String> |
SERVICE_ORDER_TYPE
Use with available fluent helpers to apply the ServiceOrderType field to query operations.
|
static ServiceOrderTemplateField<String> |
SRVC_DOC_TEMPLATE_SEARCH_TERM_TEXT
Use with available fluent helpers to apply the SrvcDocTemplateSearchTermText field to query operations.
|
static ServiceOrderTemplateField<ZonedDateTime> |
SRVC_DOC_TMPL_VALDTY_END_DATE_TIME
Use with available fluent helpers to apply the SrvcDocTmplValdtyEndDateTime field to query operations.
|
static ServiceOrderTemplateField<ZonedDateTime> |
SRVC_DOC_TMPL_VALDTY_START_DATE_TIME
Use with available fluent helpers to apply the SrvcDocTmplValdtyStartDateTime field to query operations.
|
static ServiceOrderTemplateField<String> |
SRVC_ORD_TMPL_DESCRIPTION
Use with available fluent helpers to apply the SrvcOrdTmplDescription field to query operations.
|
static ServiceOrderTemplateField<String> |
SRVC_ORD_TMPL_IS_COMPLETED
Use with available fluent helpers to apply the SrvcOrdTmplIsCompleted field to query operations.
|
static ServiceOrderTemplateField<String> |
SRVC_ORD_TMPL_IS_REJECTED
Use with available fluent helpers to apply the SrvcOrdTmplIsRejected field to query operations.
|
static ServiceOrderTemplateField<String> |
SRVC_ORD_TMPL_IS_RELEASED
Use with available fluent helpers to apply the SrvcOrdTmplIsReleased field to query operations.
|
static ServiceOrderTemplateLink<ServiceOrderTemplateItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static ServiceOrderTemplateLink<ServiceOrderTmplPersonResp> |
TO_PERSON_RESPONSIBLE
Use with available fluent helpers to apply the to_PersonResponsible navigation property to query
operations.
|
static ServiceOrderTemplateLink<ServiceOrderTmplRefObject> |
TO_REFERENCE_OBJECT
Use with available fluent helpers to apply the to_ReferenceObject navigation property to query operations.
|
static ServiceOrderTemplateLink<ServiceOrderTmplText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceOrderTemplate() |
ServiceOrderTemplate(String serviceOrderTemplate,
UUID serviceOrderTemplateUUID,
String serviceOrderType,
String srvcOrdTmplDescription,
String serviceDocumentTemplateType,
String srvcDocTemplateSearchTermText,
String serviceDocumentType,
String language,
String serviceDocumentPriority,
ZonedDateTime srvcDocTmplValdtyStartDateTime,
ZonedDateTime srvcDocTmplValdtyEndDateTime,
String srvcOrdTmplIsReleased,
String srvcOrdTmplIsCompleted,
String srvcOrdTmplIsRejected,
String salesOrganization,
String distributionChannel,
String division,
String salesOffice,
String salesGroup,
List<ServiceOrderTemplateItem> toItem,
List<ServiceOrderTmplPersonResp> toPersonResponsible,
List<ServiceOrderTmplRefObject> toReferenceObject,
List<ServiceOrderTmplText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(ServiceOrderTemplateItem... entity)
Adds elements to the list of associated ServiceOrderTemplateItem entities.
|
void |
addPersonResponsible(ServiceOrderTmplPersonResp... entity)
Adds elements to the list of associated ServiceOrderTmplPersonResp entities.
|
void |
addReferenceObject(ServiceOrderTmplRefObject... entity)
Adds elements to the list of associated ServiceOrderTmplRefObject entities.
|
void |
addText(ServiceOrderTmplText... entity)
Adds elements to the list of associated ServiceOrderTmplText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceOrderTemplate.ServiceOrderTemplateBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceOrderTemplateItem> |
fetchItem()
Fetches the ServiceOrderTemplateItem entities (one to many) associated with this entity.
|
List<ServiceOrderTmplPersonResp> |
fetchPersonResponsible()
Fetches the ServiceOrderTmplPersonResp entities (one to many) associated with this entity.
|
List<ServiceOrderTmplRefObject> |
fetchReferenceObject()
Fetches the ServiceOrderTmplRefObject entities (one to many) associated with this entity.
|
List<ServiceOrderTmplText> |
fetchText()
Fetches the ServiceOrderTmplText entities (one to many) associated with this entity.
|
static <T> ServiceOrderTemplateField<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) |
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<ServiceOrderTemplateItem>> |
getItemIfPresent()
Retrieval of associated ServiceOrderTemplateItem entities (one to many).
|
List<ServiceOrderTemplateItem> |
getItemOrFetch()
Retrieval of associated ServiceOrderTemplateItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<List<ServiceOrderTmplPersonResp>> |
getPersonResponsibleIfPresent()
Retrieval of associated ServiceOrderTmplPersonResp entities (one to many).
|
List<ServiceOrderTmplPersonResp> |
getPersonResponsibleOrFetch()
Retrieval of associated ServiceOrderTmplPersonResp entities (one to many).
|
io.vavr.control.Option<List<ServiceOrderTmplRefObject>> |
getReferenceObjectIfPresent()
Retrieval of associated ServiceOrderTmplRefObject entities (one to many).
|
List<ServiceOrderTmplRefObject> |
getReferenceObjectOrFetch()
Retrieval of associated ServiceOrderTmplRefObject entities (one to many).
|
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 |
getServiceDocumentPriority()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceDocumentTemplateType()
Constraints: Not nullable, Maximum length: 1
|
String |
getServiceDocumentType()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceOrderTemplate()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
UUID |
getServiceOrderTemplateUUID()
Constraints: none
|
String |
getServiceOrderType()
Constraints: Not nullable, Maximum length: 10
|
String |
getSrvcDocTemplateSearchTermText()
Constraints: Not nullable, Maximum length: 54
|
ZonedDateTime |
getSrvcDocTmplValdtyEndDateTime()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getSrvcDocTmplValdtyStartDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getSrvcOrdTmplDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getSrvcOrdTmplIsCompleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getSrvcOrdTmplIsRejected()
Constraints: Not nullable, Maximum length: 1
|
String |
getSrvcOrdTmplIsReleased()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<ServiceOrderTmplText>> |
getTextIfPresent()
Retrieval of associated ServiceOrderTmplText entities (one to many).
|
List<ServiceOrderTmplText> |
getTextOrFetch()
Retrieval of associated ServiceOrderTmplText entities (one to many).
|
Class<ServiceOrderTemplate> |
getType() |
int |
hashCode() |
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setItem(List<ServiceOrderTemplateItem> value)
Overwrites the list of associated ServiceOrderTemplateItem entities for the loaded navigation property
to_Item.
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setPersonResponsible(List<ServiceOrderTmplPersonResp> value)
Overwrites the list of associated ServiceOrderTmplPersonResp entities for the loaded navigation property
to_PersonResponsible.
|
void |
setReferenceObject(List<ServiceOrderTmplRefObject> value)
Overwrites the list of associated ServiceOrderTmplRefObject entities for the loaded navigation property
to_ReferenceObject.
|
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 |
setServiceDocumentPriority(String serviceDocumentPriority)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceDocumentTemplateType(String serviceDocumentTemplateType)
Constraints: Not nullable, Maximum length: 1
|
void |
setServiceDocumentType(String serviceDocumentType)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceOrderTemplate(String serviceOrderTemplate)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceOrderTemplateUUID(UUID serviceOrderTemplateUUID)
Constraints: none
|
void |
setServiceOrderType(String serviceOrderType)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSrvcDocTemplateSearchTermText(String srvcDocTemplateSearchTermText)
Constraints: Not nullable, Maximum length: 54
|
void |
setSrvcDocTmplValdtyEndDateTime(ZonedDateTime srvcDocTmplValdtyEndDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setSrvcDocTmplValdtyStartDateTime(ZonedDateTime srvcDocTmplValdtyStartDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setSrvcOrdTmplDescription(String srvcOrdTmplDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setSrvcOrdTmplIsCompleted(String srvcOrdTmplIsCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setSrvcOrdTmplIsRejected(String srvcOrdTmplIsRejected)
Constraints: Not nullable, Maximum length: 1
|
void |
setSrvcOrdTmplIsReleased(String srvcOrdTmplIsReleased)
Constraints: Not nullable, Maximum length: 1
|
void |
setText(List<ServiceOrderTmplText> value)
Overwrites the list of associated ServiceOrderTmplText 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 ServiceOrderTemplateSelectable ALL_FIELDS
public static final ServiceOrderTemplateField<String> SERVICE_ORDER_TEMPLATE
public static final ServiceOrderTemplateField<UUID> SERVICE_ORDER_TEMPLATE_UUID
public static final ServiceOrderTemplateField<String> SERVICE_ORDER_TYPE
public static final ServiceOrderTemplateField<String> SRVC_ORD_TMPL_DESCRIPTION
public static final ServiceOrderTemplateField<String> SERVICE_DOCUMENT_TEMPLATE_TYPE
public static final ServiceOrderTemplateField<String> SRVC_DOC_TEMPLATE_SEARCH_TERM_TEXT
public static final ServiceOrderTemplateField<String> SERVICE_DOCUMENT_TYPE
public static final ServiceOrderTemplateField<String> LANGUAGE
public static final ServiceOrderTemplateField<String> SERVICE_DOCUMENT_PRIORITY
public static final ServiceOrderTemplateField<ZonedDateTime> SRVC_DOC_TMPL_VALDTY_START_DATE_TIME
public static final ServiceOrderTemplateField<ZonedDateTime> SRVC_DOC_TMPL_VALDTY_END_DATE_TIME
public static final ServiceOrderTemplateField<String> SRVC_ORD_TMPL_IS_RELEASED
public static final ServiceOrderTemplateField<String> SRVC_ORD_TMPL_IS_COMPLETED
public static final ServiceOrderTemplateField<String> SRVC_ORD_TMPL_IS_REJECTED
public static final ServiceOrderTemplateField<String> SALES_ORGANIZATION
public static final ServiceOrderTemplateField<String> DISTRIBUTION_CHANNEL
public static final ServiceOrderTemplateField<String> DIVISION
public static final ServiceOrderTemplateField<String> SALES_OFFICE
public static final ServiceOrderTemplateField<String> SALES_GROUP
public static final ServiceOrderTemplateLink<ServiceOrderTemplateItem> TO_ITEM
public static final ServiceOrderTemplateLink<ServiceOrderTmplPersonResp> TO_PERSON_RESPONSIBLE
public static final ServiceOrderTemplateLink<ServiceOrderTmplRefObject> TO_REFERENCE_OBJECT
public static final ServiceOrderTemplateLink<ServiceOrderTmplText> TO_TEXT
public ServiceOrderTemplate()
public ServiceOrderTemplate(@Nullable String serviceOrderTemplate, @Nullable UUID serviceOrderTemplateUUID, @Nullable String serviceOrderType, @Nullable String srvcOrdTmplDescription, @Nullable String serviceDocumentTemplateType, @Nullable String srvcDocTemplateSearchTermText, @Nullable String serviceDocumentType, @Nullable String language, @Nullable String serviceDocumentPriority, @Nullable ZonedDateTime srvcDocTmplValdtyStartDateTime, @Nullable ZonedDateTime srvcDocTmplValdtyEndDateTime, @Nullable String srvcOrdTmplIsReleased, @Nullable String srvcOrdTmplIsCompleted, @Nullable String srvcOrdTmplIsRejected, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, List<ServiceOrderTemplateItem> toItem, List<ServiceOrderTmplPersonResp> toPersonResponsible, List<ServiceOrderTmplRefObject> toReferenceObject, List<ServiceOrderTmplText> toText)
@Nonnull public Class<ServiceOrderTemplate> getType()
getType
in class VdmObject<ServiceOrderTemplate>
public void setServiceOrderTemplate(@Nullable String serviceOrderTemplate)
Original property name from the Odata EDM: ServiceOrderTemplate
serviceOrderTemplate
- Number that identifies the transaction document. It is unique for each business transaction category.public void setServiceOrderTemplateUUID(@Nullable UUID serviceOrderTemplateUUID)
Original property name from the Odata EDM: ServiceOrderTemplateUUID
This key is only used internally, and the operation number is always displayed on the interface. However, the operation number is not necessarily unique.
serviceOrderTemplateUUID
- The unique ID for an operation is a technical key by which the operation can be uniquely identified.public void setServiceOrderType(@Nullable String serviceOrderType)
Original property name from the Odata EDM: ServiceOrderType
You assign one or more business transaction categories to a transaction type.Depending on the leading business transaction category, only specific combinations are possible with other business transaction categories. The business transaction category Sales can only be combined with Activities, for example.
serviceOrderType
- Determines the business context in which a transaction type or item category can be used (for example,
Service, Sales, Activity).public void setSrvcOrdTmplDescription(@Nullable String srvcOrdTmplDescription)
Original property name from the Odata EDM: SrvcOrdTmplDescription
The description can be used during a search for the transaction.
srvcOrdTmplDescription
- Short description for a transaction.public void setServiceDocumentTemplateType(@Nullable String serviceDocumentTemplateType)
Original property name from the Odata EDM: ServiceDocumentTemplateType
If you leave this field blank, the business transaction is not flagged as a template, and can be used as a document for operative business processes.If you enter a template category in the field, the transaction is a business transaction template. You can use templates to save data for complex, but frequently occurring business processes. You can then use the templates as copy templates when creating new business transactions, or include them in existing transactions.During this, depending on the template category, linking data is copied between the template and transactions that are created from it:Template Category B: The link for header and item data between template and transaction is copied.Template Category C: Only the link for item data between template and transaction is copied.Template Category D: No linking data is copied between the template and transaction.
serviceDocumentTemplateType
- Specifies whether a business transaction is used as a template, and if linking data to a subsequent
transaction should also be copied.public void setSrvcDocTemplateSearchTermText(@Nullable String srvcDocTemplateSearchTermText)
Original property name from the Odata EDM: SrvcDocTemplateSearchTermText
srvcDocTemplateSearchTermText
- Template Search Termpublic void setServiceDocumentType(@Nullable String serviceDocumentType)
Original property name from the Odata EDM: ServiceDocumentType
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.
serviceDocumentType
- Key that identifies a transaction type.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 setServiceDocumentPriority(@Nullable String serviceDocumentPriority)
Original property name from the Odata EDM: ServiceDocumentPriority
serviceDocumentPriority
- Enter the priority of the document, for example, high or low.public void setSrvcDocTmplValdtyStartDateTime(@Nullable ZonedDateTime srvcDocTmplValdtyStartDateTime)
Original property name from the Odata EDM: SrvcDocTmplValdtyStartDateTime
srvcDocTmplValdtyStartDateTime
- Template Start Datepublic void setSrvcDocTmplValdtyEndDateTime(@Nullable ZonedDateTime srvcDocTmplValdtyEndDateTime)
Original property name from the Odata EDM: SrvcDocTmplValdtyEndDateTime
srvcDocTmplValdtyEndDateTime
- Template End Datepublic void setSrvcOrdTmplIsReleased(@Nullable String srvcOrdTmplIsReleased)
Original property name from the Odata EDM: SrvcOrdTmplIsReleased
srvcOrdTmplIsReleased
- Release Statuspublic void setSrvcOrdTmplIsCompleted(@Nullable String srvcOrdTmplIsCompleted)
Original property name from the Odata EDM: SrvcOrdTmplIsCompleted
srvcOrdTmplIsCompleted
- The srvcOrdTmplIsCompleted to set.public void setSrvcOrdTmplIsRejected(@Nullable String srvcOrdTmplIsRejected)
Original property name from the Odata EDM: SrvcOrdTmplIsRejected
srvcOrdTmplIsRejected
- Cancellation Statuspublic 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.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ServiceOrderTemplate>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceOrderTemplate>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceOrderTemplate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceOrderTemplate>
@Nonnull public static <T> ServiceOrderTemplateField<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> ServiceOrderTemplateField<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<ServiceOrderTemplate>
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<ServiceOrderTemplate>
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<ServiceOrderTemplate>
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<ServiceOrderTemplate>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceOrderTemplate>
@Nonnull public List<ServiceOrderTemplateItem> 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<ServiceOrderTemplateItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried ServiceOrderTemplate 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<ServiceOrderTemplateItem>> getItemIfPresent()
If the navigation property for an entity ServiceOrderTemplate 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<ServiceOrderTemplateItem> value)
If the navigation property to_Item of a queried ServiceOrderTemplate 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 ServiceOrderTemplateItem entities.public void addItem(ServiceOrderTemplateItem... entity)
If the navigation property to_Item of a queried ServiceOrderTemplate 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 ServiceOrderTemplateItem entities.@Nonnull public List<ServiceOrderTmplPersonResp> fetchPersonResponsible() 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<ServiceOrderTmplPersonResp> getPersonResponsibleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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<ServiceOrderTmplPersonResp>> getPersonResponsibleIfPresent()
If the navigation property for an entity ServiceOrderTemplate 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 setPersonResponsible(@Nonnull List<ServiceOrderTmplPersonResp> value)
If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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 ServiceOrderTmplPersonResp entities.public void addPersonResponsible(ServiceOrderTmplPersonResp... entity)
If the navigation property to_PersonResponsible of a queried ServiceOrderTemplate 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 ServiceOrderTmplPersonResp entities.@Nonnull public List<ServiceOrderTmplRefObject> fetchReferenceObject() 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<ServiceOrderTmplRefObject> getReferenceObjectOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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<ServiceOrderTmplRefObject>> getReferenceObjectIfPresent()
If the navigation property for an entity ServiceOrderTemplate 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 setReferenceObject(@Nonnull List<ServiceOrderTmplRefObject> value)
If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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 ServiceOrderTmplRefObject entities.public void addReferenceObject(ServiceOrderTmplRefObject... entity)
If the navigation property to_ReferenceObject of a queried ServiceOrderTemplate 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 ServiceOrderTmplRefObject entities.@Nonnull public List<ServiceOrderTmplText> 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<ServiceOrderTmplText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried ServiceOrderTemplate 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<ServiceOrderTmplText>> getTextIfPresent()
If the navigation property for an entity ServiceOrderTemplate 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<ServiceOrderTmplText> value)
If the navigation property to_Text of a queried ServiceOrderTemplate 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 ServiceOrderTmplText entities.public void addText(ServiceOrderTmplText... entity)
If the navigation property to_Text of a queried ServiceOrderTemplate 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 ServiceOrderTmplText entities.@Nonnull public static ServiceOrderTemplate.ServiceOrderTemplateBuilder builder()
@Nullable public String getServiceOrderTemplate()
Original property name from the Odata EDM: ServiceOrderTemplate
@Nullable public UUID getServiceOrderTemplateUUID()
Original property name from the Odata EDM: ServiceOrderTemplateUUID
This key is only used internally, and the operation number is always displayed on the interface. However, the operation number is not necessarily unique.
@Nullable public String getServiceOrderType()
Original property name from the Odata EDM: ServiceOrderType
You assign one or more business transaction categories to a transaction type.Depending on the leading business transaction category, only specific combinations are possible with other business transaction categories. The business transaction category Sales can only be combined with Activities, for example.
@Nullable public String getSrvcOrdTmplDescription()
Original property name from the Odata EDM: SrvcOrdTmplDescription
The description can be used during a search for the transaction.
@Nullable public String getServiceDocumentTemplateType()
Original property name from the Odata EDM: ServiceDocumentTemplateType
If you leave this field blank, the business transaction is not flagged as a template, and can be used as a document for operative business processes.If you enter a template category in the field, the transaction is a business transaction template. You can use templates to save data for complex, but frequently occurring business processes. You can then use the templates as copy templates when creating new business transactions, or include them in existing transactions.During this, depending on the template category, linking data is copied between the template and transactions that are created from it:Template Category B: The link for header and item data between template and transaction is copied.Template Category C: Only the link for item data between template and transaction is copied.Template Category D: No linking data is copied between the template and transaction.
@Nullable public String getSrvcDocTemplateSearchTermText()
Original property name from the Odata EDM: SrvcDocTemplateSearchTermText
@Nullable public String getServiceDocumentType()
Original property name from the Odata EDM: ServiceDocumentType
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 getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getServiceDocumentPriority()
Original property name from the Odata EDM: ServiceDocumentPriority
@Nullable public ZonedDateTime getSrvcDocTmplValdtyStartDateTime()
Original property name from the Odata EDM: SrvcDocTmplValdtyStartDateTime
@Nullable public ZonedDateTime getSrvcDocTmplValdtyEndDateTime()
Original property name from the Odata EDM: SrvcDocTmplValdtyEndDateTime
@Nullable public String getSrvcOrdTmplIsReleased()
Original property name from the Odata EDM: SrvcOrdTmplIsReleased
@Nullable public String getSrvcOrdTmplIsCompleted()
Original property name from the Odata EDM: SrvcOrdTmplIsCompleted
@Nullable public String getSrvcOrdTmplIsRejected()
Original property name from the Odata EDM: SrvcOrdTmplIsRejected
@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.
@Nonnull public String toString()
toString
in class VdmObject<ServiceOrderTemplate>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ServiceOrderTemplate>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ServiceOrderTemplate>
public int hashCode()
hashCode
in class VdmObject<ServiceOrderTemplate>
Copyright © 2021 SAP SE. All rights reserved.