public class ServiceEntrySheet extends VdmEntity<ServiceEntrySheet>
Original entity name from the Odata EDM: A_ServiceEntrySheetType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceEntrySheet.ServiceEntrySheetBuilder
Helper class to allow for fluent creation of ServiceEntrySheet instances.
|
Modifier and Type | Field and Description |
---|---|
static ServiceEntrySheetSelectable |
ALL_FIELDS
Selector for all available fields of ServiceEntrySheet.
|
static ServiceEntrySheetField<ZonedDateTime> |
APPROVAL_DATE_TIME
Use with available fluent helpers to apply the ApprovalDateTime field to query operations.
|
static ServiceEntrySheetField<String> |
APPROVAL_STATUS
Use with available fluent helpers to apply the ApprovalStatus field to query operations.
|
static ServiceEntrySheetField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ServiceEntrySheetField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ServiceEntrySheetField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ServiceEntrySheetField<ZonedDateTime> |
EXTERNAL_REVISION_DATE_TIME
Use with available fluent helpers to apply the ExternalRevisionDateTime field to query operations.
|
static ServiceEntrySheetField<String> |
IS_DELETED
Use with available fluent helpers to apply the IsDeleted field to query operations.
|
static ServiceEntrySheetField<String> |
IS_END_OF_PURPOSE_BLOCKED
Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations.
|
static ServiceEntrySheetField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ServiceEntrySheetField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ServiceEntrySheetField<String> |
MATERIAL_DOCUMENT
Use with available fluent helpers to apply the MaterialDocument field to query operations.
|
static ServiceEntrySheetField<String> |
MATERIAL_DOCUMENT_YEAR
Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
|
static ServiceEntrySheetField<String> |
ORIGIN_OBJECT_TYPE
Use with available fluent helpers to apply the OriginObjectType field to query operations.
|
static ServiceEntrySheetField<LocalDateTime> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static ServiceEntrySheetField<String> |
PURCHASE_ORDER
Use with available fluent helpers to apply the PurchaseOrder field to query operations.
|
static ServiceEntrySheetField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static ServiceEntrySheetField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static ServiceEntrySheetField<String> |
PURG_DOC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the PurgDocExternalReference field to query operations.
|
static ServiceEntrySheetField<String> |
PURG_DOC_EXTERNAL_SYSTEM
Use with available fluent helpers to apply the PurgDocExternalSystem field to query operations.
|
static ServiceEntrySheetField<String> |
RESPONSIBLE_PERSON
Use with available fluent helpers to apply the ResponsiblePerson field to query operations.
|
static ServiceEntrySheetField<String> |
SERVICE_ENTRY_SHEET
Use with available fluent helpers to apply the ServiceEntrySheet field to query operations.
|
static ServiceEntrySheetField<String> |
SERVICE_ENTRY_SHEET_NAME
Use with available fluent helpers to apply the ServiceEntrySheetName field to query operations.
|
static ServiceEntrySheetField<UUID> |
SERVICE_ENTRY_SHEET_UUID
Use with available fluent helpers to apply the ServiceEntrySheetUUID field to query operations.
|
static ServiceEntrySheetField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static ServiceEntrySheetLink<ServiceEntrySheetItem> |
TO_SERVICE_ENTRY_SHEET_ITEM
Use with available fluent helpers to apply the to_ServiceEntrySheetItem navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceEntrySheet() |
ServiceEntrySheet(String serviceEntrySheet,
ZonedDateTime approvalDateTime,
String approvalStatus,
String createdByUser,
ZonedDateTime creationDateTime,
String purchasingOrganization,
String purchasingGroup,
String isEndOfPurposeBlocked,
String currency,
String isDeleted,
ZonedDateTime lastChangeDateTime,
String lastChangedByUser,
String materialDocument,
String materialDocumentYear,
String originObjectType,
String purchaseOrder,
String responsiblePerson,
String serviceEntrySheetName,
UUID serviceEntrySheetUUID,
String supplier,
String purgDocExternalSystem,
String purgDocExternalReference,
ZonedDateTime externalRevisionDateTime,
LocalDateTime postingDate,
List<ServiceEntrySheetItem> toServiceEntrySheetItem) |
Modifier and Type | Method and Description |
---|---|
void |
addServiceEntrySheetItem(ServiceEntrySheetItem... entity)
Adds elements to the list of associated ServiceEntrySheetItem entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceEntrySheet.ServiceEntrySheetBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ServiceEntrySheetItem> |
fetchServiceEntrySheetItem()
Fetches the ServiceEntrySheetItem entities (one to many) associated with this entity.
|
static <T> ServiceEntrySheetField<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) |
ZonedDateTime |
getApprovalDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getApprovalStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
ZonedDateTime |
getExternalRevisionDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getIsDeleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsEndOfPurposeBlocked()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterialDocument()
Constraints: Not nullable, Maximum length: 10
|
String |
getMaterialDocumentYear()
Constraints: Not nullable, Maximum length: 4
|
String |
getOriginObjectType()
Constraints: Not nullable, Maximum length: 2
|
LocalDateTime |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
String |
getPurchaseOrder()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurgDocExternalReference()
Constraints: Not nullable, Maximum length: 70
|
String |
getPurgDocExternalSystem()
Constraints: Not nullable, Maximum length: 60
|
String |
getResponsiblePerson()
Constraints: Not nullable, Maximum length: 8
|
String |
getServiceEntrySheet()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<ServiceEntrySheetItem>> |
getServiceEntrySheetItemIfPresent()
Retrieval of associated ServiceEntrySheetItem entities (one to many).
|
List<ServiceEntrySheetItem> |
getServiceEntrySheetItemOrFetch()
Retrieval of associated ServiceEntrySheetItem entities (one to many).
|
String |
getServiceEntrySheetName()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getServiceEntrySheetUUID()
Constraints: none
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<ServiceEntrySheet> |
getType() |
int |
hashCode() |
void |
setApprovalDateTime(ZonedDateTime approvalDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setApprovalStatus(String approvalStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setExternalRevisionDateTime(ZonedDateTime externalRevisionDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setIsDeleted(String isDeleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsEndOfPurposeBlocked(String isEndOfPurposeBlocked)
Constraints: Not nullable, Maximum length: 1
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterialDocument(String materialDocument)
Constraints: Not nullable, Maximum length: 10
|
void |
setMaterialDocumentYear(String materialDocumentYear)
Constraints: Not nullable, Maximum length: 4
|
void |
setOriginObjectType(String originObjectType)
Constraints: Not nullable, Maximum length: 2
|
void |
setPostingDate(LocalDateTime postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setPurchaseOrder(String purchaseOrder)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchasingGroup(String purchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurchasingOrganization(String purchasingOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurgDocExternalReference(String purgDocExternalReference)
Constraints: Not nullable, Maximum length: 70
|
void |
setPurgDocExternalSystem(String purgDocExternalSystem)
Constraints: Not nullable, Maximum length: 60
|
void |
setResponsiblePerson(String responsiblePerson)
Constraints: Not nullable, Maximum length: 8
|
void |
setServiceEntrySheet(String serviceEntrySheet)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setServiceEntrySheetItem(List<ServiceEntrySheetItem> value)
Overwrites the list of associated ServiceEntrySheetItem entities for the loaded navigation property
to_ServiceEntrySheetItem.
|
void |
setServiceEntrySheetName(String serviceEntrySheetName)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceEntrySheetUUID(UUID serviceEntrySheetUUID)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
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 ServiceEntrySheetSelectable ALL_FIELDS
public static final ServiceEntrySheetField<String> SERVICE_ENTRY_SHEET
public static final ServiceEntrySheetField<ZonedDateTime> APPROVAL_DATE_TIME
public static final ServiceEntrySheetField<String> APPROVAL_STATUS
public static final ServiceEntrySheetField<String> CREATED_BY_USER
public static final ServiceEntrySheetField<ZonedDateTime> CREATION_DATE_TIME
public static final ServiceEntrySheetField<String> PURCHASING_ORGANIZATION
public static final ServiceEntrySheetField<String> PURCHASING_GROUP
public static final ServiceEntrySheetField<String> IS_END_OF_PURPOSE_BLOCKED
public static final ServiceEntrySheetField<String> CURRENCY
public static final ServiceEntrySheetField<String> IS_DELETED
public static final ServiceEntrySheetField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final ServiceEntrySheetField<String> LAST_CHANGED_BY_USER
public static final ServiceEntrySheetField<String> MATERIAL_DOCUMENT
public static final ServiceEntrySheetField<String> MATERIAL_DOCUMENT_YEAR
public static final ServiceEntrySheetField<String> ORIGIN_OBJECT_TYPE
public static final ServiceEntrySheetField<String> PURCHASE_ORDER
public static final ServiceEntrySheetField<String> RESPONSIBLE_PERSON
public static final ServiceEntrySheetField<String> SERVICE_ENTRY_SHEET_NAME
public static final ServiceEntrySheetField<UUID> SERVICE_ENTRY_SHEET_UUID
public static final ServiceEntrySheetField<String> SUPPLIER
public static final ServiceEntrySheetField<String> PURG_DOC_EXTERNAL_SYSTEM
public static final ServiceEntrySheetField<String> PURG_DOC_EXTERNAL_REFERENCE
public static final ServiceEntrySheetField<ZonedDateTime> EXTERNAL_REVISION_DATE_TIME
public static final ServiceEntrySheetField<LocalDateTime> POSTING_DATE
public static final ServiceEntrySheetLink<ServiceEntrySheetItem> TO_SERVICE_ENTRY_SHEET_ITEM
public ServiceEntrySheet()
public ServiceEntrySheet(@Nullable String serviceEntrySheet, @Nullable ZonedDateTime approvalDateTime, @Nullable String approvalStatus, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String isEndOfPurposeBlocked, @Nullable String currency, @Nullable String isDeleted, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String originObjectType, @Nullable String purchaseOrder, @Nullable String responsiblePerson, @Nullable String serviceEntrySheetName, @Nullable UUID serviceEntrySheetUUID, @Nullable String supplier, @Nullable String purgDocExternalSystem, @Nullable String purgDocExternalReference, @Nullable ZonedDateTime externalRevisionDateTime, @Nullable LocalDateTime postingDate, List<ServiceEntrySheetItem> toServiceEntrySheetItem)
@Nonnull public Class<ServiceEntrySheet> getType()
getType
in class VdmObject<ServiceEntrySheet>
public void setServiceEntrySheet(@Nullable String serviceEntrySheet)
Original property name from the Odata EDM: ServiceEntrySheet
serviceEntrySheet
- Service Entry Sheetpublic void setApprovalDateTime(@Nullable ZonedDateTime approvalDateTime)
Original property name from the Odata EDM: ApprovalDateTime
approvalDateTime
- Date and Time of SES Approval (UTC)public void setApprovalStatus(@Nullable String approvalStatus)
Original property name from the Odata EDM: ApprovalStatus
approvalStatus
- Approval Status for Service Entry Sheetpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- User Namepublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
creationDateTime
- The UTC timestamp displays date and time according to UTC (Universal Coordinated Time).public void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Denotes the purchasing organization.public void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
purchasingGroup
- Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities.public void setIsEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked)
Original property name from the Odata EDM: IsEndOfPurposeBlocked
The EoP is the point in time for a data set when the processing of personal data is no longer required for the primary business purpose. After the EoP has been reached, the data is blocked and can only be accessed by users with special authorization
isEndOfPurposeBlocked
- Indicates whether the end of purpose (EoP) has been reached.public void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency key for amounts in the system.public void setIsDeleted(@Nullable String isDeleted)
Original property name from the Odata EDM: IsDeleted
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
isDeleted
- Determines whether the item in the purchasing document is deleted or blocked.public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
lastChangeDateTime
- The UTC timestamp displays date and time according to UTC (Universal Coordinated Time).public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- User Namepublic void setMaterialDocument(@Nullable String materialDocument)
Original property name from the Odata EDM: MaterialDocument
Number of the material document with which a goods movement was posted.Together with the material document year, the document number constitutes the key via which a material document is accessed.
materialDocument
- Alphanumeric key uniquely identifying the document.public void setMaterialDocumentYear(@Nullable String materialDocumentYear)
Original property name from the Odata EDM: MaterialDocumentYear
In conjunction with the document number, the material document year constitutes the key via which a material document is accessed.
materialDocumentYear
- Calendar year in which the material document was posted.public void setOriginObjectType(@Nullable String originObjectType)
Original property name from the Odata EDM: OriginObjectType
A service entry sheet can be created in one of the following ways:Externally using an interface (integration with another system)Manually in your SAP S/4HANA systemBased on a time sheet in your SAP S/4HANA system.Using the filter criterion “Origin”, you can decide which service entry sheets are to be displayed in the list.
originObjectType
- Specifies the origin of the data of the service entry sheets.public void setPurchaseOrder(@Nullable String purchaseOrder)
Original property name from the Odata EDM: PurchaseOrder
purchaseOrder
- Reference Purchase Orderpublic void setResponsiblePerson(@Nullable String responsiblePerson)
Original property name from the Odata EDM: ResponsiblePerson
responsiblePerson
- The personnel number is the only feature within a client which is unique to an employee. You have to
enter a personnel number before you can display and maintain an employee's master data and time data.public void setServiceEntrySheetName(@Nullable String serviceEntrySheetName)
Original property name from the Odata EDM: ServiceEntrySheetName
serviceEntrySheetName
- Name of Service Entry Sheetpublic void setServiceEntrySheetUUID(@Nullable UUID serviceEntrySheetUUID)
Original property name from the Odata EDM: ServiceEntrySheetUUID
serviceEntrySheetUUID
- UUID serving as key (parent key, root key)public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system.public void setPurgDocExternalSystem(@Nullable String purgDocExternalSystem)
Original property name from the Odata EDM: PurgDocExternalSystem
purgDocExternalSystem
- ID of External Reference Systempublic void setPurgDocExternalReference(@Nullable String purgDocExternalReference)
Original property name from the Odata EDM: PurgDocExternalReference
purgDocExternalReference
- Represents the node of an external document or of a subordinate entity. The ID can refer, for example,
to the external document, to the item, or to the condition line of the external document. In any case,
the ID must be unique.public void setExternalRevisionDateTime(@Nullable ZonedDateTime externalRevisionDateTime)
Original property name from the Odata EDM: ExternalRevisionDateTime
externalRevisionDateTime
- Timestamp for Revision of External Callspublic void setPostingDate(@Nullable LocalDateTime postingDate)
Original property name from the Odata EDM: PostingDate
In the service entry sheet, you can enter the date that is to be used by the system as posting date of the goods receipt document. When the service entry sheet is approved, the goods receipt document is automatically created and the posting date for the goods receipt is adopted.From the posting date, the system derives the fiscal year and the period for which an update of the accounts or cost elements specified in the document is made.The posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).
postingDate
- Date that is used as the posting date of the goods receipt document.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ServiceEntrySheet>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceEntrySheet>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceEntrySheet>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceEntrySheet>
@Nonnull public static <T> ServiceEntrySheetField<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> ServiceEntrySheetField<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<ServiceEntrySheet>
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<ServiceEntrySheet>
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<ServiceEntrySheet>
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()
getDefaultServicePath
in class VdmEntity<ServiceEntrySheet>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ServiceEntrySheet>
@Nonnull public List<ServiceEntrySheetItem> fetchServiceEntrySheetItem() 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<ServiceEntrySheetItem> getServiceEntrySheetItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ServiceEntrySheetItem of a queried ServiceEntrySheet 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<ServiceEntrySheetItem>> getServiceEntrySheetItemIfPresent()
If the navigation property for an entity ServiceEntrySheet 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 setServiceEntrySheetItem(@Nonnull List<ServiceEntrySheetItem> value)
If the navigation property to_ServiceEntrySheetItem of a queried ServiceEntrySheet 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 ServiceEntrySheetItem entities.public void addServiceEntrySheetItem(ServiceEntrySheetItem... entity)
If the navigation property to_ServiceEntrySheetItem of a queried ServiceEntrySheet 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 ServiceEntrySheetItem entities.public static ServiceEntrySheet.ServiceEntrySheetBuilder builder()
@Nullable public String getServiceEntrySheet()
Original property name from the Odata EDM: ServiceEntrySheet
@Nullable public ZonedDateTime getApprovalDateTime()
Original property name from the Odata EDM: ApprovalDateTime
@Nullable public String getApprovalStatus()
Original property name from the Odata EDM: ApprovalStatus
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
@Nullable public String getIsEndOfPurposeBlocked()
Original property name from the Odata EDM: IsEndOfPurposeBlocked
The EoP is the point in time for a data set when the processing of personal data is no longer required for the primary business purpose. After the EoP has been reached, the data is blocked and can only be accessed by users with special authorization
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public String getIsDeleted()
Original property name from the Odata EDM: IsDeleted
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public String getMaterialDocument()
Original property name from the Odata EDM: MaterialDocument
Number of the material document with which a goods movement was posted.Together with the material document year, the document number constitutes the key via which a material document is accessed.
@Nullable public String getMaterialDocumentYear()
Original property name from the Odata EDM: MaterialDocumentYear
In conjunction with the document number, the material document year constitutes the key via which a material document is accessed.
@Nullable public String getOriginObjectType()
Original property name from the Odata EDM: OriginObjectType
A service entry sheet can be created in one of the following ways:Externally using an interface (integration with another system)Manually in your SAP S/4HANA systemBased on a time sheet in your SAP S/4HANA system.Using the filter criterion “Origin”, you can decide which service entry sheets are to be displayed in the list.
@Nullable public String getPurchaseOrder()
Original property name from the Odata EDM: PurchaseOrder
@Nullable public String getResponsiblePerson()
Original property name from the Odata EDM: ResponsiblePerson
@Nullable public String getServiceEntrySheetName()
Original property name from the Odata EDM: ServiceEntrySheetName
@Nullable public UUID getServiceEntrySheetUUID()
Original property name from the Odata EDM: ServiceEntrySheetUUID
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getPurgDocExternalSystem()
Original property name from the Odata EDM: PurgDocExternalSystem
@Nullable public String getPurgDocExternalReference()
Original property name from the Odata EDM: PurgDocExternalReference
@Nullable public ZonedDateTime getExternalRevisionDateTime()
Original property name from the Odata EDM: ExternalRevisionDateTime
@Nullable public LocalDateTime getPostingDate()
Original property name from the Odata EDM: PostingDate
In the service entry sheet, you can enter the date that is to be used by the system as posting date of the goods receipt document. When the service entry sheet is approved, the goods receipt document is automatically created and the posting date for the goods receipt is adopted.From the posting date, the system derives the fiscal year and the period for which an update of the accounts or cost elements specified in the document is made.The posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).
public String toString()
toString
in class VdmObject<ServiceEntrySheet>
public boolean equals(Object o)
equals
in class VdmObject<ServiceEntrySheet>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ServiceEntrySheet>
public int hashCode()
hashCode
in class VdmObject<ServiceEntrySheet>
Copyright © 2019 SAP SE. All rights reserved.