public class CustomerReturnScheduleLine extends VdmEntity<CustomerReturnScheduleLine>
Modifier and Type | Class and Description |
---|---|
static class |
CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerReturnScheduleLineSelectable |
ALL_FIELDS
Selector for all available fields of CustomerReturnScheduleLine.
|
static CustomerReturnScheduleLineField<BigDecimal> |
CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
Use with available fluent helpers to apply the ConfdOrderQtyByMatlAvailCheck field to query operations.
|
static CustomerReturnScheduleLineField<String> |
CUSTOMER_RETURN
Use with available fluent helpers to apply the CustomerReturn field to query operations.
|
static CustomerReturnScheduleLineField<String> |
CUSTOMER_RETURN_ITEM
Use with available fluent helpers to apply the CustomerReturnItem field to query operations.
|
static CustomerReturnScheduleLineField<String> |
DELIV_BLOCK_REASON_FOR_SCHED_LINE
Use with available fluent helpers to apply the DelivBlockReasonForSchedLine field to query operations.
|
static CustomerReturnScheduleLineField<BigDecimal> |
DELIVERED_QTY_IN_ORDER_QTY_UNIT
Use with available fluent helpers to apply the DeliveredQtyInOrderQtyUnit field to query operations.
|
static CustomerReturnScheduleLineField<BigDecimal> |
OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
Use with available fluent helpers to apply the OpenConfdDelivQtyInOrdQtyUnit field to query operations.
|
static CustomerReturnScheduleLineField<String> |
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.
|
static CustomerReturnScheduleLineField<String> |
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations.
|
static CustomerReturnScheduleLineLink<CustomerReturn> |
TO_CUSTOMER_RETURN
Use with available fluent helpers to apply the to_CustomerReturn navigation property to query operations.
|
static CustomerReturnScheduleLineLink<CustomerReturnItem> |
TO_CUSTOMER_RETURN_ITEM
Use with available fluent helpers to apply the to_CustomerReturnItem navigation property to query operations.
|
Constructor and Description |
---|
CustomerReturnScheduleLine() |
CustomerReturnScheduleLine(String customerReturn,
String customerReturnItem,
String scheduleLine,
String orderQuantityUnit,
BigDecimal confdOrderQtyByMatlAvailCheck,
BigDecimal deliveredQtyInOrderQtyUnit,
BigDecimal openConfdDelivQtyInOrdQtyUnit,
String delivBlockReasonForSchedLine,
ErpConfigContext erpConfigContext,
CustomerReturn toCustomerReturn,
CustomerReturnItem toCustomerReturnItem) |
Modifier and Type | Method and Description |
---|---|
static CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder |
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> CustomerReturnScheduleLineField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
BigDecimal |
getConfdOrderQtyByMatlAvailCheck()
Constraints: Not nullable, Precision: 13, Scale: 3 The confirmed quantity can differ from the order quantity (for example, insufficient stock is available to meet the customer's request).
|
String |
getCustomerReturn()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerReturnItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
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).
|
String |
getDelivBlockReasonForSchedLine()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getDeliveredQtyInOrderQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
BigDecimal |
getOpenConfdDelivQtyInOrdQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getScheduleLine()
(Key Field) Constraints: Not nullable, Maximum length: 4 When an item has more than one schedule line, the system automatically assigns a unique number to each line.
|
Class<CustomerReturnScheduleLine> |
getType() |
int |
hashCode() |
void |
setConfdOrderQtyByMatlAvailCheck(BigDecimal confdOrderQtyByMatlAvailCheck)
Constraints: Not nullable, Precision: 13, Scale: 3 The confirmed quantity can differ from the order quantity (for example, insufficient stock is available to meet the customer's request).
|
void |
setCustomerReturn(CustomerReturn value)
Overwrites the associated CustomerReturn entity for the loaded navigation property to_CustomerReturn.
|
void |
setCustomerReturn(String value)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerReturnItem(CustomerReturnItem value)
Overwrites the associated CustomerReturnItem entity for the loaded navigation property to_CustomerReturnItem.
|
void |
setCustomerReturnItem(String value)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setDelivBlockReasonForSchedLine(String delivBlockReasonForSchedLine)
Constraints: Not nullable, Maximum length: 2
|
void |
setDeliveredQtyInOrderQtyUnit(BigDecimal deliveredQtyInOrderQtyUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setOpenConfdDelivQtyInOrdQtyUnit(BigDecimal openConfdDelivQtyInOrdQtyUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setScheduleLine(String scheduleLine)
(Key Field) Constraints: Not nullable, Maximum length: 4 When an item has more than one schedule line, the system automatically assigns a unique number to each line.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CustomerReturnScheduleLineSelectable ALL_FIELDS
public static final CustomerReturnScheduleLineField<String> CUSTOMER_RETURN
public static final CustomerReturnScheduleLineField<String> CUSTOMER_RETURN_ITEM
public static final CustomerReturnScheduleLineField<String> SCHEDULE_LINE
public static final CustomerReturnScheduleLineField<String> ORDER_QUANTITY_UNIT
public static final CustomerReturnScheduleLineField<BigDecimal> CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
public static final CustomerReturnScheduleLineField<BigDecimal> DELIVERED_QTY_IN_ORDER_QTY_UNIT
public static final CustomerReturnScheduleLineField<BigDecimal> OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
public static final CustomerReturnScheduleLineField<String> DELIV_BLOCK_REASON_FOR_SCHED_LINE
public static final CustomerReturnScheduleLineLink<CustomerReturn> TO_CUSTOMER_RETURN
public static final CustomerReturnScheduleLineLink<CustomerReturnItem> TO_CUSTOMER_RETURN_ITEM
public CustomerReturnScheduleLine()
public CustomerReturnScheduleLine(@Nullable String customerReturn, @Nullable String customerReturnItem, @Nullable String scheduleLine, @Nullable String orderQuantityUnit, @Nullable BigDecimal confdOrderQtyByMatlAvailCheck, @Nullable BigDecimal deliveredQtyInOrderQtyUnit, @Nullable BigDecimal openConfdDelivQtyInOrdQtyUnit, @Nullable String delivBlockReasonForSchedLine, @Nullable ErpConfigContext erpConfigContext, @Nullable CustomerReturn toCustomerReturn, @Nullable CustomerReturnItem toCustomerReturnItem)
public Class<CustomerReturnScheduleLine> getType()
getType
in class VdmObject<CustomerReturnScheduleLine>
public static <T> CustomerReturnScheduleLineField<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 CustomerReturnScheduleLine 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 CustomerReturnScheduleLine 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 void setCustomerReturn(String value)
value
- customerReturnpublic 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 CustomerReturnScheduleLine 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 CustomerReturnScheduleLine 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 void setCustomerReturnItem(String value)
value
- customerReturnItempublic static CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder builder()
@Nullable public String getCustomerReturn()
@Nullable public String getCustomerReturnItem()
@Nullable public String getScheduleLine()
When an item has more than one schedule line, the system automatically assigns a unique number to each line. The number is displayed in the details screens for schedule lines.The schedule line number serves internal purposes and does not, for example, determine the sequence of schedule lines in the overview screen. The schedule lines on the overview screen are sorted by date.
@Nullable public String getOrderQuantityUnit()
@Nullable public BigDecimal getConfdOrderQtyByMatlAvailCheck()
The confirmed quantity can differ from the order quantity (for example, insufficient stock is available to meet the customer's request). If the availability of inventory changes during delivery processing, the confirmed quantity can also differ from the delivered quantity that the customer actually receives.If you change the order quantity (for example, if you create new schedule lines for the item), the system updates the confirmed quantity (depending on availability).
@Nullable public BigDecimal getDeliveredQtyInOrderQtyUnit()
@Nullable public BigDecimal getOpenConfdDelivQtyInOrdQtyUnit()
@Nullable public String getDelivBlockReasonForSchedLine()
@Nullable public ErpConfigContext getErpConfigContext()
public void setScheduleLine(@Nullable String scheduleLine)
When an item has more than one schedule line, the system automatically assigns a unique number to each line. The number is displayed in the details screens for schedule lines.The schedule line number serves internal purposes and does not, for example, determine the sequence of schedule lines in the overview screen. The schedule lines on the overview screen are sorted by date.
scheduleLine
- public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
orderQuantityUnit
- public void setConfdOrderQtyByMatlAvailCheck(@Nullable BigDecimal confdOrderQtyByMatlAvailCheck)
The confirmed quantity can differ from the order quantity (for example, insufficient stock is available to meet the customer's request). If the availability of inventory changes during delivery processing, the confirmed quantity can also differ from the delivered quantity that the customer actually receives.If you change the order quantity (for example, if you create new schedule lines for the item), the system updates the confirmed quantity (depending on availability).
confdOrderQtyByMatlAvailCheck
- public void setDeliveredQtyInOrderQtyUnit(@Nullable BigDecimal deliveredQtyInOrderQtyUnit)
deliveredQtyInOrderQtyUnit
- public void setOpenConfdDelivQtyInOrdQtyUnit(@Nullable BigDecimal openConfdDelivQtyInOrdQtyUnit)
openConfdDelivQtyInOrdQtyUnit
- public void setDelivBlockReasonForSchedLine(@Nullable String delivBlockReasonForSchedLine)
delivBlockReasonForSchedLine
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<CustomerReturnScheduleLine>
public boolean equals(Object o)
equals
in class VdmObject<CustomerReturnScheduleLine>
public int hashCode()
hashCode
in class VdmObject<CustomerReturnScheduleLine>
Copyright © 2018 SAP SE. All rights reserved.