public class PhysInventoryDocHeader extends VdmEntity<PhysInventoryDocHeader>
Modifier and Type | Class and Description |
---|---|
static class |
PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder |
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<Calendar> |
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<Calendar> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static PhysInventoryDocHeaderField<Calendar> |
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<Calendar> |
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<Calendar> |
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.
|
Constructor and Description |
---|
PhysInventoryDocHeader() |
PhysInventoryDocHeader(String fiscalYear,
String physicalInventoryDocument,
String inventoryTransactionType,
String plant,
String storageLocation,
String inventorySpecialStockType,
Calendar documentDate,
Calendar physInventoryPlannedCountDate,
Calendar physicalInventoryLastCountDate,
Calendar 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,
Calendar lastChangeDateTime,
ErpConfigContext erpConfigContext,
List<PhysInventoryDocItem> toPhysicalInventoryDocumentItem) |
Modifier and Type | Method and Description |
---|---|
void |
addPhysicalInventoryDocumentItem(PhysInventoryDocItem... entity)
Adds elements to the list of associated PhysInventoryDocItem entities.
|
static PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder |
builder() |
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.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getDocumentDate()
Constraints: Not nullable, Precision: 0
|
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
|
Calendar |
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
|
List<PhysInventoryDocItem> |
getPhysicalInventoryDocumentItemOrFetch()
Retrieval of associated PhysInventoryDocItem entities (one to many).
|
com.google.common.base.Optional<List<PhysInventoryDocItem>> |
getPhysicalInventoryDocumentItemOrNull()
Retrieval of associated PhysInventoryDocItem entities (one to many).
|
String |
getPhysicalInventoryGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getPhysicalInventoryGroupType()
Constraints: Not nullable, Maximum length: 2
|
Calendar |
getPhysicalInventoryLastCountDate()
Constraints: Not nullable, Precision: 0
|
String |
getPhysicalInventoryNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getPhysicalInventoryType()
Constraints: Not nullable, Maximum length: 1
|
Calendar |
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
|
Calendar |
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(Calendar documentDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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(Calendar 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(Calendar 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(Calendar 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(Calendar postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setPostingIsBlockedForPhysInvtry(Boolean postingIsBlockedForPhysInvtry)
Constraints: none
|
void |
setStorageLocation(String storageLocation)
Constraints: Not nullable, Maximum length: 4
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
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<Calendar> DOCUMENT_DATE
public static final PhysInventoryDocHeaderField<Calendar> PHYS_INVENTORY_PLANNED_COUNT_DATE
public static final PhysInventoryDocHeaderField<Calendar> PHYSICAL_INVENTORY_LAST_COUNT_DATE
public static final PhysInventoryDocHeaderField<Calendar> 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<Calendar> LAST_CHANGE_DATE_TIME
public static final PhysInventoryDocHeaderLink<PhysInventoryDocItem> TO_PHYSICAL_INVENTORY_DOCUMENT_ITEM
@Generated(value="lombok") public PhysInventoryDocHeader()
@ConstructorProperties(value={"fiscalYear","physicalInventoryDocument","inventoryTransactionType","plant","storageLocation","inventorySpecialStockType","documentDate","physInventoryPlannedCountDate","physicalInventoryLastCountDate","postingDate","fiscalPeriod","createdByUser","postingIsBlockedForPhysInvtry","physicalInventoryCountStatus","physInvtryAdjustmentPostingSts","physInvtryDeletionStatus","physInvtryDocHasQtySnapshot","physicalInventoryGroupType","physicalInventoryGroup","physicalInventoryNumber","physInventoryReferenceNumber","physicalInventoryDocumentDesc","physicalInventoryType","lastChangeDateTime","erpConfigContext","toPhysicalInventoryDocumentItem"}) @Generated(value="lombok") public PhysInventoryDocHeader(@Nullable String fiscalYear, @Nullable String physicalInventoryDocument, @Nullable String inventoryTransactionType, @Nullable String plant, @Nullable String storageLocation, @Nullable String inventorySpecialStockType, @Nullable Calendar documentDate, @Nullable Calendar physInventoryPlannedCountDate, @Nullable Calendar physicalInventoryLastCountDate, @Nullable Calendar 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 Calendar lastChangeDateTime, @Nullable ErpConfigContext erpConfigContext, List<PhysInventoryDocItem> toPhysicalInventoryDocumentItem)
public Class<PhysInventoryDocHeader> getType()
getType
in class VdmObject<PhysInventoryDocHeader>
public static <T> PhysInventoryDocHeaderField<T> field(String fieldName, Class<T> fieldType)
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.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.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.public com.google.common.base.Optional<List<PhysInventoryDocItem>> getPhysicalInventoryDocumentItemOrNull()
If the navigation property to_PhysicalInventoryDocumentItem for an entity PhysInventoryDocHeader has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.@Generated(value="lombok") public static PhysInventoryDocHeader.PhysInventoryDocHeaderBuilder builder()
@Nullable @Generated(value="lombok") public String getFiscalYear()
@Nullable @Generated(value="lombok") public String getPhysicalInventoryDocument()
The physical inventory document is the central element of physical inventory management. It is used to plan and carry out physical inventory enter count-related information post any differences After all items in the physical inventory document are counted and posted, the document can be archived.
@Nullable @Generated(value="lombok") public String getInventoryTransactionType()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getStorageLocation()
@Nullable @Generated(value="lombok") public String getInventorySpecialStockType()
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 @Generated(value="lombok") public Calendar getDocumentDate()
@Nullable @Generated(value="lombok") public Calendar getPhysInventoryPlannedCountDate()
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 @Generated(value="lombok") public Calendar getPhysicalInventoryLastCountDate()
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 @Generated(value="lombok") public Calendar getPostingDate()
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 @Generated(value="lombok") public String getFiscalPeriod()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public Boolean getPostingIsBlockedForPhysInvtry()
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 @Generated(value="lombok") public String getPhysicalInventoryCountStatus()
Status A means that only some items have been counted. Status X means that all items have been counted.
@Nullable @Generated(value="lombok") public String getPhysInvtryAdjustmentPostingSts()
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 @Generated(value="lombok") public String getPhysInvtryDeletionStatus()
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 @Generated(value="lombok") public Boolean getPhysInvtryDocHasQtySnapshot()
@Nullable @Generated(value="lombok") public String getPhysicalInventoryGroupType()
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 @Generated(value="lombok") public String getPhysicalInventoryGroup()
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 @Generated(value="lombok") public String getPhysicalInventoryNumber()
@Nullable @Generated(value="lombok") public String getPhysInventoryReferenceNumber()
@Nullable @Generated(value="lombok") public String getPhysicalInventoryDocumentDesc()
@Nullable @Generated(value="lombok") public String getPhysicalInventoryType()
@Nullable @Generated(value="lombok") public Calendar getLastChangeDateTime()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setFiscalYear(@Nullable String fiscalYear)
fiscalYear
- @Generated(value="lombok") public void setPhysicalInventoryDocument(@Nullable String physicalInventoryDocument)
The physical inventory document is the central element of physical inventory management. It is used to plan and carry out physical inventory enter count-related information post any differences After all items in the physical inventory document are counted and posted, the document can be archived.
physicalInventoryDocument
- @Generated(value="lombok") public void setInventoryTransactionType(@Nullable String inventoryTransactionType)
inventoryTransactionType
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setStorageLocation(@Nullable String storageLocation)
storageLocation
- @Generated(value="lombok") public void setInventorySpecialStockType(@Nullable String 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
- @Generated(value="lombok") public void setDocumentDate(@Nullable Calendar documentDate)
documentDate
- @Generated(value="lombok") public void setPhysInventoryPlannedCountDate(@Nullable Calendar 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
- @Generated(value="lombok") public void setPhysicalInventoryLastCountDate(@Nullable Calendar 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
- @Generated(value="lombok") public void setPostingDate(@Nullable Calendar 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
- @Generated(value="lombok") public void setFiscalPeriod(@Nullable String fiscalPeriod)
fiscalPeriod
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setPostingIsBlockedForPhysInvtry(@Nullable Boolean 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
- @Generated(value="lombok") public void setPhysicalInventoryCountStatus(@Nullable String physicalInventoryCountStatus)
Status A means that only some items have been counted. Status X means that all items have been counted.
physicalInventoryCountStatus
- @Generated(value="lombok") public void setPhysInvtryAdjustmentPostingSts(@Nullable String 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
- @Generated(value="lombok") public void setPhysInvtryDeletionStatus(@Nullable String 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
- @Generated(value="lombok") public void setPhysInvtryDocHasQtySnapshot(@Nullable Boolean physInvtryDocHasQtySnapshot)
physInvtryDocHasQtySnapshot
- @Generated(value="lombok") public void setPhysicalInventoryGroupType(@Nullable String 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
- @Generated(value="lombok") public void setPhysicalInventoryGroup(@Nullable String 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
- @Generated(value="lombok") public void setPhysicalInventoryNumber(@Nullable String physicalInventoryNumber)
physicalInventoryNumber
- @Generated(value="lombok") public void setPhysInventoryReferenceNumber(@Nullable String physInventoryReferenceNumber)
physInventoryReferenceNumber
- @Generated(value="lombok") public void setPhysicalInventoryDocumentDesc(@Nullable String physicalInventoryDocumentDesc)
physicalInventoryDocumentDesc
- @Generated(value="lombok") public void setPhysicalInventoryType(@Nullable String physicalInventoryType)
physicalInventoryType
- @Generated(value="lombok") public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
lastChangeDateTime
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<PhysInventoryDocHeader>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<PhysInventoryDocHeader>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<PhysInventoryDocHeader>
Copyright © 2018 SAP SE. All rights reserved.