public class DocumentInfoRecord extends Entity<DocumentInfoRecord>
Modifier and Type | Class and Description |
---|---|
static class |
DocumentInfoRecord.DocumentInfoRecordBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<DocumentInfoRecord,String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static EntityField<DocumentInfoRecord,Calendar> |
CHANGED_DATE_TIME
Use with available fluent helpers to apply the ChangedDateTime field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EntityField<DocumentInfoRecord,Calendar> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static EntityField<DocumentInfoRecord,Boolean> |
DOC_INFO_RECD_IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the DocInfoRecdIsMarkedForDeletion field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
DOCUMENT_INFO_RECORD_DOC_NUMBER
Use with available fluent helpers to apply the DocumentInfoRecordDocNumber field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
DOCUMENT_INFO_RECORD_DOC_PART
Use with available fluent helpers to apply the DocumentInfoRecordDocPart field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
DOCUMENT_INFO_RECORD_DOC_TYPE
Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
DOCUMENT_INFO_RECORD_DOC_VERSION
Use with available fluent helpers to apply the DocumentInfoRecordDocVersion field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
INTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.
|
static EntityField<DocumentInfoRecord,Boolean> |
IS_DOC_INFO_RECD_CREATED_FROM_C_A_D
Use with available fluent helpers to apply the IsDocInfoRecdCreatedFromCAD field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
IS_DOC_INFO_RECD_STRUCTURE
Use with available fluent helpers to apply the IsDocInfoRecdStructure field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
LABORATORY_OR_DESIGN_OFFICE
Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static EntityField<DocumentInfoRecord,String> |
RESPONSIBLE_PERSON_NAME
Use with available fluent helpers to apply the ResponsiblePersonName field to query operations.
|
Constructor and Description |
---|
DocumentInfoRecord() |
DocumentInfoRecord(String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart,
String internalDocumentStatus,
String laboratoryOrDesignOffice,
String authorizationGroup,
String changeNumber,
Boolean docInfoRecdIsMarkedForDeletion,
Boolean isDocInfoRecdCreatedFromCAD,
String isDocInfoRecdStructure,
String responsiblePersonName,
Calendar creationDateTime,
String createdByUser,
Calendar changedDateTime,
String lastChangedByUser,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static DocumentInfoRecord.DocumentInfoRecordBuilder |
builder() |
boolean |
equals(Object o) |
List<DocumentInfoRecordDesc> |
fetchDocDesc()
Fetches the DocumentInfoRecordDesc entities (one to many) associated with this entity.
|
DocumentInfoRecordDocStsVH |
fetchDocStatusVH()
Fetches the DocumentInfoRecordDocStsVH entity (one to one) associated with this entity.
|
List<DocInfoRecdObjLinkProduct> |
fetchProductObj()
Fetches the DocInfoRecdObjLinkProduct entities (one to many) associated with this entity.
|
static <T> EntityField<DocumentInfoRecord,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
Calendar |
getChangedDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
Boolean |
getDocInfoRecdIsMarkedForDeletion()
Constraints: none
|
String |
getDocumentInfoRecordDocNumber()
(Key Field) Constraints: Not nullable, Maximum length: 25
|
String |
getDocumentInfoRecordDocPart()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getInternalDocumentStatus()
Constraints: Not nullable, Maximum length: 2
|
Boolean |
getIsDocInfoRecdCreatedFromCAD()
Constraints: none
|
String |
getIsDocInfoRecdStructure()
Constraints: Not nullable, Maximum length: 1
|
String |
getLaboratoryOrDesignOffice()
Constraints: Not nullable, Maximum length: 3
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getResponsiblePersonName()
Constraints: Not nullable, Maximum length: 12
|
Class<DocumentInfoRecord> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setChangedDateTime(Calendar changedDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(Calendar creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setDocInfoRecdIsMarkedForDeletion(Boolean docInfoRecdIsMarkedForDeletion)
Constraints: none
|
void |
setDocumentInfoRecordDocNumber(String documentInfoRecordDocNumber)
(Key Field) Constraints: Not nullable, Maximum length: 25
|
void |
setDocumentInfoRecordDocPart(String documentInfoRecordDocPart)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocType(String documentInfoRecordDocType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocVersion(String documentInfoRecordDocVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setInternalDocumentStatus(String internalDocumentStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setIsDocInfoRecdCreatedFromCAD(Boolean isDocInfoRecdCreatedFromCAD)
Constraints: none
|
void |
setIsDocInfoRecdStructure(String isDocInfoRecdStructure)
Constraints: Not nullable, Maximum length: 1
|
void |
setLaboratoryOrDesignOffice(String laboratoryOrDesignOffice)
Constraints: Not nullable, Maximum length: 3
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setResponsiblePersonName(String responsiblePersonName)
Constraints: Not nullable, Maximum length: 12
|
String |
toString() |
public static final EntityField<DocumentInfoRecord,String> DOCUMENT_INFO_RECORD_DOC_TYPE
public static final EntityField<DocumentInfoRecord,String> DOCUMENT_INFO_RECORD_DOC_VERSION
public static final EntityField<DocumentInfoRecord,String> DOCUMENT_INFO_RECORD_DOC_NUMBER
public static final EntityField<DocumentInfoRecord,String> DOCUMENT_INFO_RECORD_DOC_PART
public static final EntityField<DocumentInfoRecord,String> INTERNAL_DOCUMENT_STATUS
public static final EntityField<DocumentInfoRecord,String> LABORATORY_OR_DESIGN_OFFICE
public static final EntityField<DocumentInfoRecord,String> AUTHORIZATION_GROUP
public static final EntityField<DocumentInfoRecord,String> CHANGE_NUMBER
public static final EntityField<DocumentInfoRecord,Boolean> DOC_INFO_RECD_IS_MARKED_FOR_DELETION
public static final EntityField<DocumentInfoRecord,Boolean> IS_DOC_INFO_RECD_CREATED_FROM_C_A_D
public static final EntityField<DocumentInfoRecord,String> IS_DOC_INFO_RECD_STRUCTURE
public static final EntityField<DocumentInfoRecord,String> RESPONSIBLE_PERSON_NAME
public static final EntityField<DocumentInfoRecord,Calendar> CREATION_DATE_TIME
public static final EntityField<DocumentInfoRecord,String> CREATED_BY_USER
public static final EntityField<DocumentInfoRecord,Calendar> CHANGED_DATE_TIME
public static final EntityField<DocumentInfoRecord,String> LAST_CHANGED_BY_USER
@Generated(value="lombok") public DocumentInfoRecord()
@ConstructorProperties(value={"documentInfoRecordDocType","documentInfoRecordDocVersion","documentInfoRecordDocNumber","documentInfoRecordDocPart","internalDocumentStatus","laboratoryOrDesignOffice","authorizationGroup","changeNumber","docInfoRecdIsMarkedForDeletion","isDocInfoRecdCreatedFromCAD","isDocInfoRecdStructure","responsiblePersonName","creationDateTime","createdByUser","changedDateTime","lastChangedByUser","erpConfigContext"}) @Generated(value="lombok") public DocumentInfoRecord(@Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocVersion, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocPart, @Nullable String internalDocumentStatus, @Nullable String laboratoryOrDesignOffice, @Nullable String authorizationGroup, @Nullable String changeNumber, @Nullable Boolean docInfoRecdIsMarkedForDeletion, @Nullable Boolean isDocInfoRecdCreatedFromCAD, @Nullable String isDocInfoRecdStructure, @Nullable String responsiblePersonName, @Nullable Calendar creationDateTime, @Nullable String createdByUser, @Nullable Calendar changedDateTime, @Nullable String lastChangedByUser, ErpConfigContext erpConfigContext)
public Class<DocumentInfoRecord> getType()
getType
in class Entity<DocumentInfoRecord>
public static <T> EntityField<DocumentInfoRecord,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<DocumentInfoRecordDesc> fetchDocDesc() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
public DocumentInfoRecordDocStsVH fetchDocStatusVH() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
public List<DocInfoRecdObjLinkProduct> fetchProductObj() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static DocumentInfoRecord.DocumentInfoRecordBuilder builder()
@Nullable @Generated(value="lombok") public String getDocumentInfoRecordDocType()
@Nullable @Generated(value="lombok") public String getDocumentInfoRecordDocVersion()
A new version is assigned after the original files have been edited in the following processing situations:The new processing status varies from the original in a certain way (for example, text change sin a text file).You want the original processing status to remain the same (for example, documentation of project progress).
@Nullable @Generated(value="lombok") public String getDocumentInfoRecordDocNumber()
@Nullable @Generated(value="lombok") public String getDocumentInfoRecordDocPart()
Design departments, for example, can use document parts to divide up large documents such as design drawings into pages.
@Nullable @Generated(value="lombok") public String getInternalDocumentStatus()
For each document type, you can define a status network in which one or more previous statuses are defined for a status. You can display the current possible entries (language-dependent) in any processing situation.When you set a new status, the system checks whether the current status is one of the possible previous statuses.When you set a status, the system checks your authorization.
@Nullable @Generated(value="lombok") public String getLaboratoryOrDesignOffice()
You define the keys in Customizing (for the Material Master).
@Nullable @Generated(value="lombok") public String getAuthorizationGroup()
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
@Nullable @Generated(value="lombok") public String getChangeNumber()
The system determines the valid-from date from the header of the change master record.If you want to create a document:Once you save the document info record, you can no longer change the change number.If you want to process the document with another change number, you have to create a new version.The change master record must support processing of documents (Indicator: object type active for change number must be set in the change master).
@Nullable @Generated(value="lombok") public Boolean getDocInfoRecdIsMarkedForDeletion()
@Nullable @Generated(value="lombok") public Boolean getIsDocInfoRecdCreatedFromCAD()
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows:Entry DescriptionX find documents with a CAD indicatorfind documents without a CAD indicator* find documents with or without a CAD indicatorThis indicator is set using the CAD interface.
@Nullable @Generated(value="lombok") public String getIsDocInfoRecdStructure()
@Nullable @Generated(value="lombok") public String getResponsiblePersonName()
When you Create or Change a document info record:When you create a document info record, the system sets your user name as a default. You can overwrite this name using any user name defined in the SAP System. If you do not know the exact user name, you can select a user generically.To do this, enter the characters you know. Replace the sections you do not know with the special character "*".Example:Enter: WI*E*Hit list: WIDDELWIDERSKIIf you do not know any characters, enter the special character "*" at the beginning of the field. Please note that this will put a heavy load on the system.If the department of the responsible user is maintained in user maintenance (Address), this is displayed after the name.
@Nullable @Generated(value="lombok") public Calendar getCreationDateTime()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public Calendar getChangedDateTime()
@Nullable @Generated(value="lombok") public String getLastChangedByUser()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setDocumentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
documentInfoRecordDocType
- @Generated(value="lombok") public void setDocumentInfoRecordDocVersion(@Nullable String documentInfoRecordDocVersion)
A new version is assigned after the original files have been edited in the following processing situations:The new processing status varies from the original in a certain way (for example, text change sin a text file).You want the original processing status to remain the same (for example, documentation of project progress).
documentInfoRecordDocVersion
- @Generated(value="lombok") public void setDocumentInfoRecordDocNumber(@Nullable String documentInfoRecordDocNumber)
documentInfoRecordDocNumber
- @Generated(value="lombok") public void setDocumentInfoRecordDocPart(@Nullable String documentInfoRecordDocPart)
Design departments, for example, can use document parts to divide up large documents such as design drawings into pages.
documentInfoRecordDocPart
- @Generated(value="lombok") public void setInternalDocumentStatus(@Nullable String internalDocumentStatus)
For each document type, you can define a status network in which one or more previous statuses are defined for a status. You can display the current possible entries (language-dependent) in any processing situation.When you set a new status, the system checks whether the current status is one of the possible previous statuses.When you set a status, the system checks your authorization.
internalDocumentStatus
- @Generated(value="lombok") public void setLaboratoryOrDesignOffice(@Nullable String laboratoryOrDesignOffice)
You define the keys in Customizing (for the Material Master).
laboratoryOrDesignOffice
- @Generated(value="lombok") public void setAuthorizationGroup(@Nullable String authorizationGroup)
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
authorizationGroup
- @Generated(value="lombok") public void setChangeNumber(@Nullable String changeNumber)
The system determines the valid-from date from the header of the change master record.If you want to create a document:Once you save the document info record, you can no longer change the change number.If you want to process the document with another change number, you have to create a new version.The change master record must support processing of documents (Indicator: object type active for change number must be set in the change master).
changeNumber
- @Generated(value="lombok") public void setDocInfoRecdIsMarkedForDeletion(@Nullable Boolean docInfoRecdIsMarkedForDeletion)
docInfoRecdIsMarkedForDeletion
- @Generated(value="lombok") public void setIsDocInfoRecdCreatedFromCAD(@Nullable Boolean isDocInfoRecdCreatedFromCAD)
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows:Entry DescriptionX find documents with a CAD indicatorfind documents without a CAD indicator* find documents with or without a CAD indicatorThis indicator is set using the CAD interface.
isDocInfoRecdCreatedFromCAD
- @Generated(value="lombok") public void setIsDocInfoRecdStructure(@Nullable String isDocInfoRecdStructure)
isDocInfoRecdStructure
- @Generated(value="lombok") public void setResponsiblePersonName(@Nullable String responsiblePersonName)
When you Create or Change a document info record:When you create a document info record, the system sets your user name as a default. You can overwrite this name using any user name defined in the SAP System. If you do not know the exact user name, you can select a user generically.To do this, enter the characters you know. Replace the sections you do not know with the special character "*".Example:Enter: WI*E*Hit list: WIDDELWIDERSKIIf you do not know any characters, enter the special character "*" at the beginning of the field. Please note that this will put a heavy load on the system.If the department of the responsible user is maintained in user maintenance (Address), this is displayed after the name.
responsiblePersonName
- @Generated(value="lombok") public void setCreationDateTime(@Nullable Calendar creationDateTime)
creationDateTime
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setChangedDateTime(@Nullable Calendar changedDateTime)
changedDateTime
- @Generated(value="lombok") public void setLastChangedByUser(@Nullable String lastChangedByUser)
lastChangedByUser
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<DocumentInfoRecord>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<DocumentInfoRecord>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<DocumentInfoRecord>
Copyright © 2017 SAP SE. All rights reserved.