public class PhysInventoryDocHeader extends VdmEntity<PhysInventoryDocHeader>
Original entity name from the Odata EDM: A_PhysInventoryDocHeaderType
Modifier and Type | Class and Description |
---|---|
static class |
PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder
Helper class to allow for fluent creation of PhysInventoryDocHeader instances.
|
Modifier and Type | Field and Description |
---|---|
static PhysInventoryDocHeaderSelectable |
ALL_FIELDS
Selector for all available fields of PhysInventoryDocHeader.
|
static PhysInventoryDocHeaderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static PhysInventoryDocHeaderField<LocalDateTime> |
DOCUMENT_DATE
Use with available fluent helpers to apply the DocumentDate field to query operations.
|
static PhysInventoryDocHeaderField<String> |
FISCAL_PERIOD
Use with available fluent helpers to apply the FiscalPeriod field to query operations.
|
static PhysInventoryDocHeaderField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static PhysInventoryDocHeaderField<String> |
INVENTORY_SPECIAL_STOCK_TYPE
Use with available fluent helpers to apply the InventorySpecialStockType field to query operations.
|
static PhysInventoryDocHeaderField<String> |
INVENTORY_TRANSACTION_TYPE
Use with available fluent helpers to apply the InventoryTransactionType field to query operations.
|
static PhysInventoryDocHeaderField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static PhysInventoryDocHeaderField<LocalDateTime> |
PHYS_INVENTORY_PLANNED_COUNT_DATE
Use with available fluent helpers to apply the PhysInventoryPlannedCountDate field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYS_INVENTORY_REFERENCE_NUMBER
Use with available fluent helpers to apply the PhysInventoryReferenceNumber field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYS_INVTRY_ADJUSTMENT_POSTING_STS
Use with available fluent helpers to apply the PhysInvtryAdjustmentPostingSts field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYS_INVTRY_DELETION_STATUS
Use with available fluent helpers to apply the PhysInvtryDeletionStatus field to query operations.
|
static PhysInventoryDocHeaderField<Boolean> |
PHYS_INVTRY_DOC_HAS_QTY_SNAPSHOT
Use with available fluent helpers to apply the PhysInvtryDocHasQtySnapshot field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_COUNT_STATUS
Use with available fluent helpers to apply the PhysicalInventoryCountStatus field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_DOCUMENT
Use with available fluent helpers to apply the PhysicalInventoryDocument field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_DOCUMENT_DESC
Use with available fluent helpers to apply the PhysicalInventoryDocumentDesc field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_GROUP
Use with available fluent helpers to apply the PhysicalInventoryGroup field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_GROUP_TYPE
Use with available fluent helpers to apply the PhysicalInventoryGroupType field to query operations.
|
static PhysInventoryDocHeaderField<LocalDateTime> |
PHYSICAL_INVENTORY_LAST_COUNT_DATE
Use with available fluent helpers to apply the PhysicalInventoryLastCountDate field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_NUMBER
Use with available fluent helpers to apply the PhysicalInventoryNumber field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PHYSICAL_INVENTORY_TYPE
Use with available fluent helpers to apply the PhysicalInventoryType field to query operations.
|
static PhysInventoryDocHeaderField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static PhysInventoryDocHeaderField<LocalDateTime> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static PhysInventoryDocHeaderField<Boolean> |
POSTING_IS_BLOCKED_FOR_PHYS_INVTRY
Use with available fluent helpers to apply the PostingIsBlockedForPhysInvtry field to query operations.
|
static PhysInventoryDocHeaderField<String> |
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations.
|
static PhysInventoryDocHeaderLink<PhysInventoryDocItem> |
TO_PHYSICAL_INVENTORY_DOCUMENT_ITEM
Use with available fluent helpers to apply the to_PhysicalInventoryDocumentItem navigation property to
query operations.
|
changedOriginalFields
Constructor and Description |
---|
PhysInventoryDocHeader() |
PhysInventoryDocHeader(String fiscalYear,
String physicalInventoryDocument,
String inventoryTransactionType,
String plant,
String storageLocation,
String inventorySpecialStockType,
LocalDateTime documentDate,
LocalDateTime physInventoryPlannedCountDate,
LocalDateTime physicalInventoryLastCountDate,
LocalDateTime postingDate,
String fiscalPeriod,
String createdByUser,
Boolean postingIsBlockedForPhysInvtry,
String physicalInventoryCountStatus,
String physInvtryAdjustmentPostingSts,
String physInvtryDeletionStatus,
Boolean physInvtryDocHasQtySnapshot,
String physicalInventoryGroupType,
String physicalInventoryGroup,
String physicalInventoryNumber,
String physInventoryReferenceNumber,
String physicalInventoryDocumentDesc,
String physicalInventoryType,
ZonedDateTime lastChangeDateTime,
List<PhysInventoryDocItem> toPhysicalInventoryDocumentItem) |
Modifier and Type | Method and Description |
---|---|
void |
addPhysicalInventoryDocumentItem(PhysInventoryDocItem... entity)
Adds elements to the list of associated PhysInventoryDocItem entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PhysInventoryDocItem> |
fetchPhysicalInventoryDocumentItem()
Fetches the PhysInventoryDocItem entities (one to many) associated with this entity.
|
static <T> PhysInventoryDocHeaderField<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 |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
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.
|
LocalDateTime |
getDocumentDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFiscalPeriod()
Constraints: Not nullable, Maximum length: 2
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getInventorySpecialStockType()
Constraints: Not nullable, Maximum length: 1
|
String |
getInventoryTransactionType()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getPhysicalInventoryCountStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getPhysicalInventoryDocument()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPhysicalInventoryDocumentDesc()
Constraints: Not nullable, Maximum length: 40
|
io.vavr.control.Option<List<PhysInventoryDocItem>> |
getPhysicalInventoryDocumentItemIfPresent()
Retrieval of associated PhysInventoryDocItem entities (one to many).
|
List<PhysInventoryDocItem> |
getPhysicalInventoryDocumentItemOrFetch()
Retrieval of associated PhysInventoryDocItem entities (one to many).
|
String |
getPhysicalInventoryGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getPhysicalInventoryGroupType()
Constraints: Not nullable, Maximum length: 2
|
LocalDateTime |
getPhysicalInventoryLastCountDate()
Constraints: Not nullable, Precision: 0
|
String |
getPhysicalInventoryNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getPhysicalInventoryType()
Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getPhysInventoryPlannedCountDate()
Constraints: Not nullable, Precision: 0
|
String |
getPhysInventoryReferenceNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getPhysInvtryAdjustmentPostingSts()
Constraints: Not nullable, Maximum length: 1
|
String |
getPhysInvtryDeletionStatus()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getPhysInvtryDocHasQtySnapshot()
Constraints: none
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getPostingIsBlockedForPhysInvtry()
Constraints: none
|
String |
getStorageLocation()
Constraints: Not nullable, Maximum length: 4
|
Class<PhysInventoryDocHeader> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setDocumentDate(LocalDateTime documentDate)
Constraints: Not nullable, Precision: 0
|
void |
setFiscalPeriod(String fiscalPeriod)
Constraints: Not nullable, Maximum length: 2
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setInventorySpecialStockType(String inventorySpecialStockType)
Constraints: Not nullable, Maximum length: 1
|
void |
setInventoryTransactionType(String inventoryTransactionType)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setPhysicalInventoryCountStatus(String physicalInventoryCountStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPhysicalInventoryDocument(String physicalInventoryDocument)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPhysicalInventoryDocumentDesc(String physicalInventoryDocumentDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setPhysicalInventoryDocumentItem(List<PhysInventoryDocItem> value)
Overwrites the list of associated PhysInventoryDocItem entities for the loaded navigation property
to_PhysicalInventoryDocumentItem.
|
void |
setPhysicalInventoryGroup(String physicalInventoryGroup)
Constraints: Not nullable, Maximum length: 10
|
void |
setPhysicalInventoryGroupType(String physicalInventoryGroupType)
Constraints: Not nullable, Maximum length: 2
|
void |
setPhysicalInventoryLastCountDate(LocalDateTime physicalInventoryLastCountDate)
Constraints: Not nullable, Precision: 0
|
void |
setPhysicalInventoryNumber(String physicalInventoryNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setPhysicalInventoryType(String physicalInventoryType)
Constraints: Not nullable, Maximum length: 1
|
void |
setPhysInventoryPlannedCountDate(LocalDateTime physInventoryPlannedCountDate)
Constraints: Not nullable, Precision: 0
|
void |
setPhysInventoryReferenceNumber(String physInventoryReferenceNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setPhysInvtryAdjustmentPostingSts(String physInvtryAdjustmentPostingSts)
Constraints: Not nullable, Maximum length: 1
|
void |
setPhysInvtryDeletionStatus(String physInvtryDeletionStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPhysInvtryDocHasQtySnapshot(Boolean physInvtryDocHasQtySnapshot)
Constraints: none
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setPostingDate(LocalDateTime postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setPostingIsBlockedForPhysInvtry(Boolean postingIsBlockedForPhysInvtry)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStorageLocation(String storageLocation)
Constraints: Not nullable, Maximum length: 4
|
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 PhysInventoryDocHeaderSelectable ALL_FIELDS
public static final PhysInventoryDocHeaderField<String> FISCAL_YEAR
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_DOCUMENT
public static final PhysInventoryDocHeaderField<String> INVENTORY_TRANSACTION_TYPE
public static final PhysInventoryDocHeaderField<String> PLANT
public static final PhysInventoryDocHeaderField<String> STORAGE_LOCATION
public static final PhysInventoryDocHeaderField<String> INVENTORY_SPECIAL_STOCK_TYPE
public static final PhysInventoryDocHeaderField<LocalDateTime> DOCUMENT_DATE
public static final PhysInventoryDocHeaderField<LocalDateTime> PHYS_INVENTORY_PLANNED_COUNT_DATE
public static final PhysInventoryDocHeaderField<LocalDateTime> PHYSICAL_INVENTORY_LAST_COUNT_DATE
public static final PhysInventoryDocHeaderField<LocalDateTime> POSTING_DATE
public static final PhysInventoryDocHeaderField<String> FISCAL_PERIOD
public static final PhysInventoryDocHeaderField<String> CREATED_BY_USER
public static final PhysInventoryDocHeaderField<Boolean> POSTING_IS_BLOCKED_FOR_PHYS_INVTRY
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_COUNT_STATUS
public static final PhysInventoryDocHeaderField<String> PHYS_INVTRY_ADJUSTMENT_POSTING_STS
public static final PhysInventoryDocHeaderField<String> PHYS_INVTRY_DELETION_STATUS
public static final PhysInventoryDocHeaderField<Boolean> PHYS_INVTRY_DOC_HAS_QTY_SNAPSHOT
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_GROUP_TYPE
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_GROUP
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_NUMBER
public static final PhysInventoryDocHeaderField<String> PHYS_INVENTORY_REFERENCE_NUMBER
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_DOCUMENT_DESC
public static final PhysInventoryDocHeaderField<String> PHYSICAL_INVENTORY_TYPE
public static final PhysInventoryDocHeaderField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final PhysInventoryDocHeaderLink<PhysInventoryDocItem> TO_PHYSICAL_INVENTORY_DOCUMENT_ITEM
public PhysInventoryDocHeader()
public PhysInventoryDocHeader(@Nullable String fiscalYear, @Nullable String physicalInventoryDocument, @Nullable String inventoryTransactionType, @Nullable String plant, @Nullable String storageLocation, @Nullable String inventorySpecialStockType, @Nullable LocalDateTime documentDate, @Nullable LocalDateTime physInventoryPlannedCountDate, @Nullable LocalDateTime physicalInventoryLastCountDate, @Nullable LocalDateTime postingDate, @Nullable String fiscalPeriod, @Nullable String createdByUser, @Nullable Boolean postingIsBlockedForPhysInvtry, @Nullable String physicalInventoryCountStatus, @Nullable String physInvtryAdjustmentPostingSts, @Nullable String physInvtryDeletionStatus, @Nullable Boolean physInvtryDocHasQtySnapshot, @Nullable String physicalInventoryGroupType, @Nullable String physicalInventoryGroup, @Nullable String physicalInventoryNumber, @Nullable String physInventoryReferenceNumber, @Nullable String physicalInventoryDocumentDesc, @Nullable String physicalInventoryType, @Nullable ZonedDateTime lastChangeDateTime, List<PhysInventoryDocItem> toPhysicalInventoryDocumentItem)
@Nonnull public Class<PhysInventoryDocHeader> getType()
getType
in class VdmObject<PhysInventoryDocHeader>
public void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- Fiscal Yearpublic void setPhysicalInventoryDocument(@Nullable String physicalInventoryDocument)
Original property name from the Odata EDM: PhysicalInventoryDocument
physicalInventoryDocument
- Physical Inventory Documentpublic void setInventoryTransactionType(@Nullable String inventoryTransactionType)
Original property name from the Odata EDM: InventoryTransactionType
inventoryTransactionType
- Inventory Transaction Typepublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setStorageLocation(@Nullable String storageLocation)
Original property name from the Odata EDM: StorageLocation
storageLocation
- Storage locationpublic void setInventorySpecialStockType(@Nullable String inventorySpecialStockType)
Original property name from the Odata EDM: InventorySpecialStockType
inventorySpecialStockType
- Special Stock Indicatorpublic void setDocumentDate(@Nullable LocalDateTime documentDate)
Original property name from the Odata EDM: DocumentDate
documentDate
- Document Date in Documentpublic void setPhysInventoryPlannedCountDate(@Nullable LocalDateTime physInventoryPlannedCountDate)
Original property name from the Odata EDM: PhysInventoryPlannedCountDate
physInventoryPlannedCountDate
- Planned Date of Inventory Countpublic void setPhysicalInventoryLastCountDate(@Nullable LocalDateTime physicalInventoryLastCountDate)
Original property name from the Odata EDM: PhysicalInventoryLastCountDate
physicalInventoryLastCountDate
- Date of Last Countpublic void setPostingDate(@Nullable LocalDateTime postingDate)
Original property name from the Odata EDM: PostingDate
postingDate
- Posting Date in the Documentpublic void setFiscalPeriod(@Nullable String fiscalPeriod)
Original property name from the Odata EDM: FiscalPeriod
fiscalPeriod
- Posting Periodpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Physical Inventory Created by Userpublic void setPostingIsBlockedForPhysInvtry(@Nullable Boolean postingIsBlockedForPhysInvtry)
Original property name from the Odata EDM: PostingIsBlockedForPhysInvtry
postingIsBlockedForPhysInvtry
- Posting Block Due to Physical Inventorypublic void setPhysicalInventoryCountStatus(@Nullable String physicalInventoryCountStatus)
Original property name from the Odata EDM: PhysicalInventoryCountStatus
physicalInventoryCountStatus
- Count Statuspublic void setPhysInvtryAdjustmentPostingSts(@Nullable String physInvtryAdjustmentPostingSts)
Original property name from the Odata EDM: PhysInvtryAdjustmentPostingSts
physInvtryAdjustmentPostingSts
- Status of Adjustment Posting (Inventory Differences)public void setPhysInvtryDeletionStatus(@Nullable String physInvtryDeletionStatus)
Original property name from the Odata EDM: PhysInvtryDeletionStatus
physInvtryDeletionStatus
- Status of Deletionpublic void setPhysInvtryDocHasQtySnapshot(@Nullable Boolean physInvtryDocHasQtySnapshot)
Original property name from the Odata EDM: PhysInvtryDocHasQtySnapshot
physInvtryDocHasQtySnapshot
- Book Inventory Freezepublic void setPhysicalInventoryGroupType(@Nullable String physicalInventoryGroupType)
Original property name from the Odata EDM: PhysicalInventoryGroupType
physicalInventoryGroupType
- Type of Grouping Criterionpublic void setPhysicalInventoryGroup(@Nullable String physicalInventoryGroup)
Original property name from the Odata EDM: PhysicalInventoryGroup
physicalInventoryGroup
- Grouping Criterion of Physical Inventory Document Itempublic void setPhysicalInventoryNumber(@Nullable String physicalInventoryNumber)
Original property name from the Odata EDM: PhysicalInventoryNumber
physicalInventoryNumber
- Physical Inventory Numberpublic void setPhysInventoryReferenceNumber(@Nullable String physInventoryReferenceNumber)
Original property name from the Odata EDM: PhysInventoryReferenceNumber
physInventoryReferenceNumber
- Physical Inventory Referencepublic void setPhysicalInventoryDocumentDesc(@Nullable String physicalInventoryDocumentDesc)
Original property name from the Odata EDM: PhysicalInventoryDocumentDesc
physicalInventoryDocumentDesc
- Description of Physical Inventory Documentpublic void setPhysicalInventoryType(@Nullable String physicalInventoryType)
Original property name from the Odata EDM: PhysicalInventoryType
physicalInventoryType
- Physical Inventory Typepublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Change Timestampprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<PhysInventoryDocHeader>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PhysInventoryDocHeader>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PhysInventoryDocHeader>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PhysInventoryDocHeader>
@Nonnull public static <T> PhysInventoryDocHeaderField<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> PhysInventoryDocHeaderField<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<PhysInventoryDocHeader>
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<PhysInventoryDocHeader>
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<PhysInventoryDocHeader>
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<PhysInventoryDocHeader>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PhysInventoryDocHeader>
@Nonnull public List<PhysInventoryDocItem> fetchPhysicalInventoryDocumentItem() 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<PhysInventoryDocItem> getPhysicalInventoryDocumentItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PhysicalInventoryDocumentItem of a queried PhysInventoryDocHeader 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<PhysInventoryDocItem>> getPhysicalInventoryDocumentItemIfPresent()
If the navigation property for an entity PhysInventoryDocHeader 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 setPhysicalInventoryDocumentItem(@Nonnull List<PhysInventoryDocItem> value)
If the navigation property to_PhysicalInventoryDocumentItem of a queried PhysInventoryDocHeader 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 PhysInventoryDocItem entities.public void addPhysicalInventoryDocumentItem(PhysInventoryDocItem... entity)
If the navigation property to_PhysicalInventoryDocumentItem of a queried PhysInventoryDocHeader 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 PhysInventoryDocItem entities.@Nonnull public static PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder builder()
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@Nullable public String getPhysicalInventoryDocument()
Original property name from the Odata EDM: PhysicalInventoryDocument
@Nullable public String getInventoryTransactionType()
Original property name from the Odata EDM: InventoryTransactionType
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getStorageLocation()
Original property name from the Odata EDM: StorageLocation
@Nullable public String getInventorySpecialStockType()
Original property name from the Odata EDM: InventorySpecialStockType
@Nullable public LocalDateTime getDocumentDate()
Original property name from the Odata EDM: DocumentDate
@Nullable public LocalDateTime getPhysInventoryPlannedCountDate()
Original property name from the Odata EDM: PhysInventoryPlannedCountDate
@Nullable public LocalDateTime getPhysicalInventoryLastCountDate()
Original property name from the Odata EDM: PhysicalInventoryLastCountDate
@Nullable public LocalDateTime getPostingDate()
Original property name from the Odata EDM: PostingDate
@Nullable public String getFiscalPeriod()
Original property name from the Odata EDM: FiscalPeriod
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public Boolean getPostingIsBlockedForPhysInvtry()
Original property name from the Odata EDM: PostingIsBlockedForPhysInvtry
@Nullable public String getPhysicalInventoryCountStatus()
Original property name from the Odata EDM: PhysicalInventoryCountStatus
@Nullable public String getPhysInvtryAdjustmentPostingSts()
Original property name from the Odata EDM: PhysInvtryAdjustmentPostingSts
@Nullable public String getPhysInvtryDeletionStatus()
Original property name from the Odata EDM: PhysInvtryDeletionStatus
@Nullable public Boolean getPhysInvtryDocHasQtySnapshot()
Original property name from the Odata EDM: PhysInvtryDocHasQtySnapshot
@Nullable public String getPhysicalInventoryGroupType()
Original property name from the Odata EDM: PhysicalInventoryGroupType
@Nullable public String getPhysicalInventoryGroup()
Original property name from the Odata EDM: PhysicalInventoryGroup
@Nullable public String getPhysicalInventoryNumber()
Original property name from the Odata EDM: PhysicalInventoryNumber
@Nullable public String getPhysInventoryReferenceNumber()
Original property name from the Odata EDM: PhysInventoryReferenceNumber
@Nullable public String getPhysicalInventoryDocumentDesc()
Original property name from the Odata EDM: PhysicalInventoryDocumentDesc
@Nullable public String getPhysicalInventoryType()
Original property name from the Odata EDM: PhysicalInventoryType
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<PhysInventoryDocHeader>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<PhysInventoryDocHeader>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<PhysInventoryDocHeader>
public int hashCode()
hashCode
in class VdmObject<PhysInventoryDocHeader>
Copyright © 2021 SAP SE. All rights reserved.