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,
ErpConfigContext configContext)
Sets the service path and ERP configuration context 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() |
LocalDateTime |
getDocumentDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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
|
Optional<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 |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
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() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, 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
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.public 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
- Key uniquely identifying a plant.public void setStorageLocation(@Nullable String storageLocation)
Original property name from the Odata EDM: StorageLocation
storageLocation
- Number of the storage location in which the material is stored. A plant may contain one or more
storage locations.public void setInventorySpecialStockType(@Nullable String inventorySpecialStockType)
Original property name from the Odata EDM: InventorySpecialStockType
If you need to separately manage certain stock (for example, consignment stock) of a material, the stock type in question is defined using this indicator.
inventorySpecialStockType
- Specifies the special stock type.public void setDocumentDate(@Nullable LocalDateTime documentDate)
Original property name from the Odata EDM: DocumentDate
documentDate
- The document date is the date on which the original document was issued.public void setPhysInventoryPlannedCountDate(@Nullable LocalDateTime physInventoryPlannedCountDate)
Original property name from the Odata EDM: PhysInventoryPlannedCountDate
The planned count date determines the fiscal year in which the physical inventory document is posted. All other postings involving this document must be effected during this fiscal year.
physInventoryPlannedCountDate
- Indicates the date on which the physical inventory count is to take place.public void setPhysicalInventoryLastCountDate(@Nullable LocalDateTime physicalInventoryLastCountDate)
Original property name from the Odata EDM: PhysicalInventoryLastCountDate
The actual count date must be in the same year as the planned count date.The date of the first entry of count results for a physical inventory document determines the posting period in which all further count results as well as the inventory differences relating to this physical inventory document must be posted.
physicalInventoryLastCountDate
- Specifies the date of the last physical inventory count.public void setPostingDate(@Nullable LocalDateTime postingDate)
Original property name from the Odata EDM: PostingDate
The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from the posting date.When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.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 which is used when entering the document in Financial Accounting or Controlling.public 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
The indicator is set for the affected stocks in each case (storage location stock, batch stock, or special stock) for all associated stock types and is not cancelled until the count results are posted.The indicator remains in the physical document header even if the stock is unblocked through the posting of inventory differences. It then only indicates that a posting block was set for the documents.The blocking indicator can be set in one of two ways:Directly upon entry of the physical inventory document (if the count is to take place immediately)Shortly before the count (if the count is to take place later)You can set the indicator by choosing Physical inventory document -> Change in the header data of the physical inventory document or via batch input.
postingIsBlockedForPhysInvtry
- Indicates that no goods movements involving the materials listed in the physical inventory document
can be posted for the duration of a physical inventory count.public void setPhysicalInventoryCountStatus(@Nullable String physicalInventoryCountStatus)
Original property name from the Odata EDM: PhysicalInventoryCountStatus
Status A means that only some items have been counted.Status X means that all items have been counted.
physicalInventoryCountStatus
- Indicates that items from this physical inventory document have been counted.public void setPhysInvtryAdjustmentPostingSts(@Nullable String physInvtryAdjustmentPostingSts)
Original property name from the Odata EDM: PhysInvtryAdjustmentPostingSts
Status A means that inventory differences have been posted for some of the items of the physical inventory document only. For these items, the physical inventory has been completed.Status X means that differences have been posted for all items of the physical inventory document. The document can now be archived.
physInvtryAdjustmentPostingSts
- Indicates that differences have been posted for this physical inventory document.public void setPhysInvtryDeletionStatus(@Nullable String physInvtryDeletionStatus)
Original property name from the Odata EDM: PhysInvtryDeletionStatus
Status A means that only some items have been deleted.Status X means that all items of the document have been deleted. However, physical deletion of the document is not possible, because inventory differences have been posted for at least one item.The delete status (in conjunction with the adjustment status) is relevant to the archiving of the documents: A document can only be archived after all items have been deleted or all inventory differences have been posted.If an already counted item is still open, you must process this item before you can archive or delete the document.
physInvtryDeletionStatus
- Indicates that items of this physical inventory document have been deleted.public 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
Physical inventory documents can be created so that all items in the document have one common characteristic. The field defines which characteristic this is.One of the values of this indicator defines that the materials of all items in a physical inventory document belong to the same material group.
physicalInventoryGroupType
- Specifies the grouping type for the physical inventory document items.public void setPhysicalInventoryGroup(@Nullable String physicalInventoryGroup)
Original property name from the Odata EDM: PhysicalInventoryGroup
Physical inventory documents can be created so that all items in a document have one common characteristic.The materials of all items in a document belong to material group '001'. The grouping characteristic stored in the document header then has the value '001'.
physicalInventoryGroup
- Indicates the grouping criterion of the items in a physical inventory document.public 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()
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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<PhysInventoryDocHeader>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<PhysInventoryDocHeader>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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, @Nullable ErpConfigContext configContext)
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<PhysInventoryDocHeader>
@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 Optional<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 Optional
result state will be
empty
.
Optional
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.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
If you need to separately manage certain stock (for example, consignment stock) of a material, the stock type in question is defined using this indicator.
@Nullable public LocalDateTime getDocumentDate()
Original property name from the Odata EDM: DocumentDate
@Nullable public LocalDateTime getPhysInventoryPlannedCountDate()
Original property name from the Odata EDM: PhysInventoryPlannedCountDate
The planned count date determines the fiscal year in which the physical inventory document is posted. All other postings involving this document must be effected during this fiscal year.
@Nullable public LocalDateTime getPhysicalInventoryLastCountDate()
Original property name from the Odata EDM: PhysicalInventoryLastCountDate
The actual count date must be in the same year as the planned count date.The date of the first entry of count results for a physical inventory document determines the posting period in which all further count results as well as the inventory differences relating to this physical inventory document must be posted.
@Nullable public LocalDateTime getPostingDate()
Original property name from the Odata EDM: PostingDate
The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from the posting date.When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.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).
@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
The indicator is set for the affected stocks in each case (storage location stock, batch stock, or special stock) for all associated stock types and is not cancelled until the count results are posted.The indicator remains in the physical document header even if the stock is unblocked through the posting of inventory differences. It then only indicates that a posting block was set for the documents.The blocking indicator can be set in one of two ways:Directly upon entry of the physical inventory document (if the count is to take place immediately)Shortly before the count (if the count is to take place later)You can set the indicator by choosing Physical inventory document -> Change in the header data of the physical inventory document or via batch input.
@Nullable public String getPhysicalInventoryCountStatus()
Original property name from the Odata EDM: PhysicalInventoryCountStatus
Status A means that only some items have been counted.Status X means that all items have been counted.
@Nullable public String getPhysInvtryAdjustmentPostingSts()
Original property name from the Odata EDM: PhysInvtryAdjustmentPostingSts
Status A means that inventory differences have been posted for some of the items of the physical inventory document only. For these items, the physical inventory has been completed.Status X means that differences have been posted for all items of the physical inventory document. The document can now be archived.
@Nullable public String getPhysInvtryDeletionStatus()
Original property name from the Odata EDM: PhysInvtryDeletionStatus
Status A means that only some items have been deleted.Status X means that all items of the document have been deleted. However, physical deletion of the document is not possible, because inventory differences have been posted for at least one item.The delete status (in conjunction with the adjustment status) is relevant to the archiving of the documents: A document can only be archived after all items have been deleted or all inventory differences have been posted.If an already counted item is still open, you must process this item before you can archive or delete the document.
@Nullable public Boolean getPhysInvtryDocHasQtySnapshot()
Original property name from the Odata EDM: PhysInvtryDocHasQtySnapshot
@Nullable public String getPhysicalInventoryGroupType()
Original property name from the Odata EDM: PhysicalInventoryGroupType
Physical inventory documents can be created so that all items in the document have one common characteristic. The field defines which characteristic this is.One of the values of this indicator defines that the materials of all items in a physical inventory document belong to the same material group.
@Nullable public String getPhysicalInventoryGroup()
Original property name from the Odata EDM: PhysicalInventoryGroup
Physical inventory documents can be created so that all items in a document have one common characteristic.The materials of all items in a document belong to material group '001'. The grouping characteristic stored in the document header then has the value '001'.
@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
public String toString()
toString
in class VdmObject<PhysInventoryDocHeader>
public boolean equals(Object o)
equals
in class VdmObject<PhysInventoryDocHeader>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PhysInventoryDocHeader>
public int hashCode()
hashCode
in class VdmObject<PhysInventoryDocHeader>
Copyright © 2019 SAP SE. All rights reserved.