public class MaterialDocumentHeader extends Entity<MaterialDocumentHeader>
Modifier and Type | Class and Description |
---|---|
static class |
MaterialDocumentHeader.MaterialDocumentHeaderBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<MaterialDocumentHeader,String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
DOCUMENT_DATE
Use with available fluent helpers to apply the DocumentDate field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
GOODS_MOVEMENT_CODE
Use with available fluent helpers to apply the GoodsMovementCode field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
INVENTORY_TRANSACTION_TYPE
Use with available fluent helpers to apply the InventoryTransactionType field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT
Use with available fluent helpers to apply the MaterialDocument field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT_HEADER_TEXT
Use with available fluent helpers to apply the MaterialDocumentHeaderText field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT_YEAR
Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
REFERENCE_DOCUMENT
Use with available fluent helpers to apply the ReferenceDocument field to query operations.
|
Constructor and Description |
---|
MaterialDocumentHeader() |
MaterialDocumentHeader(String materialDocumentYear,
String materialDocument,
String inventoryTransactionType,
Calendar documentDate,
Calendar postingDate,
Calendar creationDate,
Calendar creationTime,
String createdByUser,
String materialDocumentHeaderText,
String referenceDocument,
String goodsMovementCode,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static MaterialDocumentHeader.MaterialDocumentHeaderBuilder |
builder() |
boolean |
equals(Object o) |
List<MaterialDocumentItem> |
fetchMaterialDocumentItem()
Fetches the MaterialDocumentItem entities (one to many) associated with this entity.
|
static <T> EntityField<MaterialDocumentHeader,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 |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getCreationTime()
Constraints: Not nullable, Precision: 0
|
Calendar |
getDocumentDate()
Constraints: Not nullable, Precision: 0
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getGoodsMovementCode()
Constraints: Not nullable, Maximum length: 2
|
String |
getInventoryTransactionType()
Constraints: Not nullable, Maximum length: 2
|
String |
getMaterialDocument()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getMaterialDocumentHeaderText()
Constraints: Not nullable, Maximum length: 25
|
String |
getMaterialDocumentYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Calendar |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
String |
getReferenceDocument()
Constraints: Not nullable, Maximum length: 16
|
Class<MaterialDocumentHeader> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(Calendar creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCreationTime(Calendar creationTime)
Constraints: Not nullable, Precision: 0
|
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 |
setGoodsMovementCode(String goodsMovementCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setInventoryTransactionType(String inventoryTransactionType)
Constraints: Not nullable, Maximum length: 2
|
void |
setMaterialDocument(String materialDocument)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setMaterialDocumentHeaderText(String materialDocumentHeaderText)
Constraints: Not nullable, Maximum length: 25
|
void |
setMaterialDocumentYear(String materialDocumentYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPostingDate(Calendar postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setReferenceDocument(String referenceDocument)
Constraints: Not nullable, Maximum length: 16
|
String |
toString() |
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT_YEAR
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT
public static final EntityField<MaterialDocumentHeader,String> INVENTORY_TRANSACTION_TYPE
public static final EntityField<MaterialDocumentHeader,Calendar> DOCUMENT_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> POSTING_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> CREATION_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> CREATION_TIME
public static final EntityField<MaterialDocumentHeader,String> CREATED_BY_USER
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT_HEADER_TEXT
public static final EntityField<MaterialDocumentHeader,String> REFERENCE_DOCUMENT
public static final EntityField<MaterialDocumentHeader,String> GOODS_MOVEMENT_CODE
@Generated(value="lombok") public MaterialDocumentHeader()
@ConstructorProperties(value={"materialDocumentYear","materialDocument","inventoryTransactionType","documentDate","postingDate","creationDate","creationTime","createdByUser","materialDocumentHeaderText","referenceDocument","goodsMovementCode","erpConfigContext"}) @Generated(value="lombok") public MaterialDocumentHeader(@Nullable String materialDocumentYear, @Nullable String materialDocument, @Nullable String inventoryTransactionType, @Nullable Calendar documentDate, @Nullable Calendar postingDate, @Nullable Calendar creationDate, @Nullable Calendar creationTime, @Nullable String createdByUser, @Nullable String materialDocumentHeaderText, @Nullable String referenceDocument, @Nullable String goodsMovementCode, ErpConfigContext erpConfigContext)
public Class<MaterialDocumentHeader> getType()
getType
in class Entity<MaterialDocumentHeader>
public static <T> EntityField<MaterialDocumentHeader,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<MaterialDocumentItem> fetchMaterialDocumentItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static MaterialDocumentHeader.MaterialDocumentHeaderBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterialDocumentYear()
@Nullable @Generated(value="lombok") public String getMaterialDocument()
Number of the material document with which a goods movement was posted. Together with the material document year, the document number constitutes the key via which a material document is accessed.
@Nullable @Generated(value="lombok") public String getInventoryTransactionType()
@Nullable @Generated(value="lombok") public Calendar getDocumentDate()
@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 Calendar getCreationDate()
Note The posting date can differ from the entry date (date of entry in the system) and the document date.
@Nullable @Generated(value="lombok") public Calendar getCreationTime()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public String getMaterialDocumentHeaderText()
@Nullable @Generated(value="lombok") public String getReferenceDocument()
The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number. Enter the number specified by the business partner. If the document was created in-house and you do not know the business partner document number, you can copy the document number into the reference number field by entering "*".
@Nullable @Generated(value="lombok") public String getGoodsMovementCode()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterialDocumentYear(@Nullable String materialDocumentYear)
materialDocumentYear
- @Generated(value="lombok") public void setMaterialDocument(@Nullable String materialDocument)
Number of the material document with which a goods movement was posted. Together with the material document year, the document number constitutes the key via which a material document is accessed.
materialDocument
- @Generated(value="lombok") public void setInventoryTransactionType(@Nullable String inventoryTransactionType)
inventoryTransactionType
- @Generated(value="lombok") public void setDocumentDate(@Nullable Calendar documentDate)
documentDate
- @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 setCreationDate(@Nullable Calendar creationDate)
Note The posting date can differ from the entry date (date of entry in the system) and the document date.
creationDate
- @Generated(value="lombok") public void setCreationTime(@Nullable Calendar creationTime)
creationTime
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setMaterialDocumentHeaderText(@Nullable String materialDocumentHeaderText)
materialDocumentHeaderText
- @Generated(value="lombok") public void setReferenceDocument(@Nullable String referenceDocument)
The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number. Enter the number specified by the business partner. If the document was created in-house and you do not know the business partner document number, you can copy the document number into the reference number field by entering "*".
referenceDocument
- @Generated(value="lombok") public void setGoodsMovementCode(@Nullable String goodsMovementCode)
goodsMovementCode
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<MaterialDocumentHeader>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<MaterialDocumentHeader>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<MaterialDocumentHeader>
Copyright © 2017 SAP SE. All rights reserved.