public class CustomerReturnProcessStep extends VdmEntity<CustomerReturnProcessStep>
Modifier and Type | Class and Description |
---|---|
static class |
CustomerReturnProcessStep.CustomerReturnProcessStepBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerReturnProcessStepSelectable |
ALL_FIELDS
Selector for all available fields of CustomerReturnProcessStep.
|
static CustomerReturnProcessStepField<String> |
RETS_MGMT_PROC_ITM_QTY_SPLIT
Use with available fluent helpers to apply the RetsMgmtProcItmQtySplit field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETS_MGMT_PROC_STEP_EXEC_STATUS
Use with available fluent helpers to apply the RetsMgmtProcStepExecStatus field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETS_MGMT_PROCESS
Use with available fluent helpers to apply the RetsMgmtProcess field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETS_MGMT_PROCESS_ITEM
Use with available fluent helpers to apply the RetsMgmtProcessItem field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETS_MGMT_PROCESS_STEP
Use with available fluent helpers to apply the RetsMgmtProcessStep field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_DOCUMENT
Use with available fluent helpers to apply the ReturnsDocument field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_DOCUMENT_APPROVAL_STATUS
Use with available fluent helpers to apply the ReturnsDocumentApprovalStatus field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_DOCUMENT_ITEM
Use with available fluent helpers to apply the ReturnsDocumentItem field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_DOCUMENT_STATUS
Use with available fluent helpers to apply the ReturnsDocumentStatus field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_DOCUMENT_TYPE
Use with available fluent helpers to apply the ReturnsDocumentType field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_REFERENCE_DOCUMENT
Use with available fluent helpers to apply the ReturnsReferenceDocument field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_REFERENCE_DOCUMENT_ITEM
Use with available fluent helpers to apply the ReturnsReferenceDocumentItem field to query operations.
|
static CustomerReturnProcessStepField<String> |
RETURNS_REFERENCE_DOCUMENT_TYPE
Use with available fluent helpers to apply the ReturnsReferenceDocumentType field to query operations.
|
static CustomerReturnProcessStepLink<CustomerReturn> |
TO_CUSTOMER_RETURN
Use with available fluent helpers to apply the to_CustomerReturn navigation property to query operations.
|
static CustomerReturnProcessStepLink<CustomerReturnItem> |
TO_CUSTOMER_RETURN_ITEM
Use with available fluent helpers to apply the to_CustomerReturnItem navigation property to query operations.
|
Constructor and Description |
---|
CustomerReturnProcessStep() |
CustomerReturnProcessStep(String retsMgmtProcess,
String retsMgmtProcessItem,
String retsMgmtProcItmQtySplit,
String retsMgmtProcessStep,
String returnsDocumentType,
String returnsDocument,
String returnsDocumentItem,
String returnsDocumentStatus,
String returnsDocumentApprovalStatus,
String returnsReferenceDocumentType,
String returnsReferenceDocument,
String returnsReferenceDocumentItem,
String retsMgmtProcStepExecStatus,
ErpConfigContext erpConfigContext,
CustomerReturn toCustomerReturn,
CustomerReturnItem toCustomerReturnItem) |
Modifier and Type | Method and Description |
---|---|
static CustomerReturnProcessStep.CustomerReturnProcessStepBuilder |
builder() |
boolean |
equals(Object o) |
CustomerReturn |
fetchCustomerReturn()
Fetches the CustomerReturn entity (one to one) associated with this entity.
|
CustomerReturnItem |
fetchCustomerReturnItem()
Fetches the CustomerReturnItem entity (one to one) associated with this entity.
|
static <T> CustomerReturnProcessStepField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
CustomerReturnItem |
getCustomerReturnItemOrFetch()
Retrieval of associated CustomerReturnItem entity (one to one).
|
com.google.common.base.Optional<CustomerReturnItem> |
getCustomerReturnItemOrNull()
Retrieval of associated CustomerReturnItem entity (one to one).
|
CustomerReturn |
getCustomerReturnOrFetch()
Retrieval of associated CustomerReturn entity (one to one).
|
com.google.common.base.Optional<CustomerReturn> |
getCustomerReturnOrNull()
Retrieval of associated CustomerReturn entity (one to one).
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getRetsMgmtProcess()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getRetsMgmtProcessItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getRetsMgmtProcessStep()
(Key Field) Constraints: Not nullable, Maximum length: 4 The advanced returns sequence Customer return received directly comprises the following steps:0001 Create Returns Order0021 Inbound Delivery0031 Goods Receipt0041 Inspection
|
String |
getRetsMgmtProcItmQtySplit()
(Key Field) Constraints: Not nullable, Maximum length: 3 The quantity of a specific returns item may be split up during the returns process, for example, because partial quantities of the returns item were assigned to different follow-up activities.
|
String |
getRetsMgmtProcStepExecStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getReturnsDocument()
(Key Field) Constraints: Not nullable, Maximum length: 30
|
String |
getReturnsDocumentApprovalStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getReturnsDocumentItem()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getReturnsDocumentStatus()
Constraints: Not nullable, Maximum length: 1 A document item can have the following statuses:ActiveThe document item has been created without errors.Deletion Flag SetThe document item has been deleted.Document Was CancelledThe document item has been cancelled and a corresponding reversal or cancellation document exists.Reversal (Cancellation) DocumentThis is a cancellation or reversal document and a corresponding cancelled document exists.
|
String |
getReturnsDocumentType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getReturnsReferenceDocument()
Constraints: Not nullable, Maximum length: 30
|
String |
getReturnsReferenceDocumentItem()
Constraints: Not nullable, Maximum length: 10
|
String |
getReturnsReferenceDocumentType()
Constraints: Not nullable, Maximum length: 2
|
Class<CustomerReturnProcessStep> |
getType() |
int |
hashCode() |
void |
setCustomerReturn(CustomerReturn value)
Overwrites the associated CustomerReturn entity for the loaded navigation property to_CustomerReturn.
|
void |
setCustomerReturnItem(CustomerReturnItem value)
Overwrites the associated CustomerReturnItem entity for the loaded navigation property to_CustomerReturnItem.
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setRetsMgmtProcess(String retsMgmtProcess)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setRetsMgmtProcessItem(String retsMgmtProcessItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setRetsMgmtProcessStep(String retsMgmtProcessStep)
(Key Field) Constraints: Not nullable, Maximum length: 4 The advanced returns sequence Customer return received directly comprises the following steps:0001 Create Returns Order0021 Inbound Delivery0031 Goods Receipt0041 Inspection
|
void |
setRetsMgmtProcItmQtySplit(String retsMgmtProcItmQtySplit)
(Key Field) Constraints: Not nullable, Maximum length: 3 The quantity of a specific returns item may be split up during the returns process, for example, because partial quantities of the returns item were assigned to different follow-up activities.
|
void |
setRetsMgmtProcStepExecStatus(String retsMgmtProcStepExecStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setReturnsDocument(String returnsDocument)
(Key Field) Constraints: Not nullable, Maximum length: 30
|
void |
setReturnsDocumentApprovalStatus(String returnsDocumentApprovalStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setReturnsDocumentItem(String returnsDocumentItem)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setReturnsDocumentStatus(String returnsDocumentStatus)
Constraints: Not nullable, Maximum length: 1 A document item can have the following statuses:ActiveThe document item has been created without errors.Deletion Flag SetThe document item has been deleted.Document Was CancelledThe document item has been cancelled and a corresponding reversal or cancellation document exists.Reversal (Cancellation) DocumentThis is a cancellation or reversal document and a corresponding cancelled document exists.
|
void |
setReturnsDocumentType(String returnsDocumentType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setReturnsReferenceDocument(String returnsReferenceDocument)
Constraints: Not nullable, Maximum length: 30
|
void |
setReturnsReferenceDocumentItem(String returnsReferenceDocumentItem)
Constraints: Not nullable, Maximum length: 10
|
void |
setReturnsReferenceDocumentType(String returnsReferenceDocumentType)
Constraints: Not nullable, Maximum length: 2
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CustomerReturnProcessStepSelectable ALL_FIELDS
public static final CustomerReturnProcessStepField<String> RETS_MGMT_PROCESS
public static final CustomerReturnProcessStepField<String> RETS_MGMT_PROCESS_ITEM
public static final CustomerReturnProcessStepField<String> RETS_MGMT_PROC_ITM_QTY_SPLIT
public static final CustomerReturnProcessStepField<String> RETS_MGMT_PROCESS_STEP
public static final CustomerReturnProcessStepField<String> RETURNS_DOCUMENT_TYPE
public static final CustomerReturnProcessStepField<String> RETURNS_DOCUMENT
public static final CustomerReturnProcessStepField<String> RETURNS_DOCUMENT_ITEM
public static final CustomerReturnProcessStepField<String> RETURNS_DOCUMENT_STATUS
public static final CustomerReturnProcessStepField<String> RETURNS_DOCUMENT_APPROVAL_STATUS
public static final CustomerReturnProcessStepField<String> RETURNS_REFERENCE_DOCUMENT_TYPE
public static final CustomerReturnProcessStepField<String> RETURNS_REFERENCE_DOCUMENT
public static final CustomerReturnProcessStepField<String> RETURNS_REFERENCE_DOCUMENT_ITEM
public static final CustomerReturnProcessStepField<String> RETS_MGMT_PROC_STEP_EXEC_STATUS
public static final CustomerReturnProcessStepLink<CustomerReturn> TO_CUSTOMER_RETURN
public static final CustomerReturnProcessStepLink<CustomerReturnItem> TO_CUSTOMER_RETURN_ITEM
public CustomerReturnProcessStep()
public CustomerReturnProcessStep(@Nullable String retsMgmtProcess, @Nullable String retsMgmtProcessItem, @Nullable String retsMgmtProcItmQtySplit, @Nullable String retsMgmtProcessStep, @Nullable String returnsDocumentType, @Nullable String returnsDocument, @Nullable String returnsDocumentItem, @Nullable String returnsDocumentStatus, @Nullable String returnsDocumentApprovalStatus, @Nullable String returnsReferenceDocumentType, @Nullable String returnsReferenceDocument, @Nullable String returnsReferenceDocumentItem, @Nullable String retsMgmtProcStepExecStatus, @Nullable ErpConfigContext erpConfigContext, @Nullable CustomerReturn toCustomerReturn, @Nullable CustomerReturnItem toCustomerReturnItem)
public Class<CustomerReturnProcessStep> getType()
getType
in class VdmObject<CustomerReturnProcessStep>
public static <T> CustomerReturnProcessStepField<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 CustomerReturn fetchCustomerReturn() 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 CustomerReturn getCustomerReturnOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CustomerReturn of a queried CustomerReturnProcessStep 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<CustomerReturn> getCustomerReturnOrNull()
If the navigation property to_CustomerReturn for an entity CustomerReturnProcessStep has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setCustomerReturn(CustomerReturn value)
value
- New CustomerReturn entity.public CustomerReturnItem fetchCustomerReturnItem() 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 CustomerReturnItem getCustomerReturnItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CustomerReturnItem of a queried CustomerReturnProcessStep 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<CustomerReturnItem> getCustomerReturnItemOrNull()
If the navigation property to_CustomerReturnItem for an entity CustomerReturnProcessStep has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setCustomerReturnItem(CustomerReturnItem value)
value
- New CustomerReturnItem entity.public static CustomerReturnProcessStep.CustomerReturnProcessStepBuilder builder()
@Nullable public String getRetsMgmtProcess()
@Nullable public String getRetsMgmtProcessItem()
@Nullable public String getRetsMgmtProcItmQtySplit()
The quantity of a specific returns item may be split up during the returns process, for example, because partial quantities of the returns item were assigned to different follow-up activities. These partial quantities are identified internally with a split ID.
@Nullable public String getRetsMgmtProcessStep()
The advanced returns sequence Customer return received directly comprises the following steps:0001 Create Returns Order0021 Inbound Delivery0031 Goods Receipt0041 Inspection
@Nullable public String getReturnsDocumentType()
@Nullable public String getReturnsDocument()
@Nullable public String getReturnsDocumentItem()
@Nullable public String getReturnsDocumentStatus()
A document item can have the following statuses:ActiveThe document item has been created without errors.Deletion Flag SetThe document item has been deleted.Document Was CancelledThe document item has been cancelled and a corresponding reversal or cancellation document exists.Reversal (Cancellation) DocumentThis is a cancellation or reversal document and a corresponding cancelled document exists.
@Nullable public String getReturnsDocumentApprovalStatus()
@Nullable public String getReturnsReferenceDocumentType()
@Nullable public String getReturnsReferenceDocument()
@Nullable public String getReturnsReferenceDocumentItem()
@Nullable public String getRetsMgmtProcStepExecStatus()
@Nullable public ErpConfigContext getErpConfigContext()
public void setRetsMgmtProcess(@Nullable String retsMgmtProcess)
retsMgmtProcess
- public void setRetsMgmtProcessItem(@Nullable String retsMgmtProcessItem)
retsMgmtProcessItem
- public void setRetsMgmtProcItmQtySplit(@Nullable String retsMgmtProcItmQtySplit)
The quantity of a specific returns item may be split up during the returns process, for example, because partial quantities of the returns item were assigned to different follow-up activities. These partial quantities are identified internally with a split ID.
retsMgmtProcItmQtySplit
- public void setRetsMgmtProcessStep(@Nullable String retsMgmtProcessStep)
The advanced returns sequence Customer return received directly comprises the following steps:0001 Create Returns Order0021 Inbound Delivery0031 Goods Receipt0041 Inspection
retsMgmtProcessStep
- public void setReturnsDocumentType(@Nullable String returnsDocumentType)
returnsDocumentType
- public void setReturnsDocument(@Nullable String returnsDocument)
returnsDocument
- public void setReturnsDocumentItem(@Nullable String returnsDocumentItem)
returnsDocumentItem
- public void setReturnsDocumentStatus(@Nullable String returnsDocumentStatus)
A document item can have the following statuses:ActiveThe document item has been created without errors.Deletion Flag SetThe document item has been deleted.Document Was CancelledThe document item has been cancelled and a corresponding reversal or cancellation document exists.Reversal (Cancellation) DocumentThis is a cancellation or reversal document and a corresponding cancelled document exists.
returnsDocumentStatus
- public void setReturnsDocumentApprovalStatus(@Nullable String returnsDocumentApprovalStatus)
returnsDocumentApprovalStatus
- public void setReturnsReferenceDocumentType(@Nullable String returnsReferenceDocumentType)
returnsReferenceDocumentType
- public void setReturnsReferenceDocument(@Nullable String returnsReferenceDocument)
returnsReferenceDocument
- public void setReturnsReferenceDocumentItem(@Nullable String returnsReferenceDocumentItem)
returnsReferenceDocumentItem
- public void setRetsMgmtProcStepExecStatus(@Nullable String retsMgmtProcStepExecStatus)
retsMgmtProcStepExecStatus
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<CustomerReturnProcessStep>
public boolean equals(Object o)
equals
in class VdmObject<CustomerReturnProcessStep>
public int hashCode()
hashCode
in class VdmObject<CustomerReturnProcessStep>
Copyright © 2018 SAP SE. All rights reserved.