public class CustomerReturnScheduleLine extends VdmEntity<CustomerReturnScheduleLine>
Original entity name from the Odata EDM: A_CustomerReturnScheduleLineType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder
Helper class to allow for fluent creation of CustomerReturnScheduleLine instances.
|
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 CustomerReturnScheduleLineOneToOneLink<CustomerReturn> |
TO_CUSTOMER_RETURN
Use with available fluent helpers to apply the to_CustomerReturn navigation property to query operations.
|
static CustomerReturnScheduleLineOneToOneLink<CustomerReturnItem> |
TO_CUSTOMER_RETURN_ITEM
Use with available fluent helpers to apply the to_CustomerReturnItem navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerReturnScheduleLine() |
CustomerReturnScheduleLine(String customerReturn,
String customerReturnItem,
String scheduleLine,
String orderQuantityUnit,
BigDecimal confdOrderQtyByMatlAvailCheck,
BigDecimal deliveredQtyInOrderQtyUnit,
BigDecimal openConfdDelivQtyInOrdQtyUnit,
String delivBlockReasonForSchedLine,
CustomerReturn toCustomerReturn,
CustomerReturnItem toCustomerReturnItem) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder |
builder() |
protected boolean |
canEqual(Object other) |
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.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
BigDecimal |
getConfdOrderQtyByMatlAvailCheck()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getCustomerReturn()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Optional<CustomerReturn> |
getCustomerReturnIfPresent()
Retrieval of associated CustomerReturn entity (one to one).
|
String |
getCustomerReturnItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Optional<CustomerReturnItem> |
getCustomerReturnItemIfPresent()
Retrieval of associated CustomerReturnItem entity (one to one).
|
CustomerReturnItem |
getCustomerReturnItemOrFetch()
Retrieval of associated CustomerReturnItem entity (one to one).
|
CustomerReturn |
getCustomerReturnOrFetch()
Retrieval of associated CustomerReturn entity (one to one).
|
protected String |
getDefaultServicePath() |
String |
getDelivBlockReasonForSchedLine()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getDeliveredQtyInOrderQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
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
|
Class<CustomerReturnScheduleLine> |
getType() |
int |
hashCode() |
void |
setConfdOrderQtyByMatlAvailCheck(BigDecimal confdOrderQtyByMatlAvailCheck)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setCustomerReturn(CustomerReturn value)
Overwrites the associated CustomerReturn entity for the loaded navigation property
to_CustomerReturn.
|
void |
setCustomerReturn(String customerReturn)
(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 customerReturnItem)
(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)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
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
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
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 CustomerReturnScheduleLineOneToOneLink<CustomerReturn> TO_CUSTOMER_RETURN
public static final CustomerReturnScheduleLineOneToOneLink<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 CustomerReturn toCustomerReturn, @Nullable CustomerReturnItem toCustomerReturnItem)
@Nonnull public Class<CustomerReturnScheduleLine> getType()
getType
in class VdmObject<CustomerReturnScheduleLine>
public void setCustomerReturn(@Nullable String customerReturn)
Original property name from the Odata EDM: CustomerReturn
customerReturn
- The number that uniquely identifies the sales document.public void setCustomerReturnItem(@Nullable String customerReturnItem)
Original property name from the Odata EDM: CustomerReturnItem
customerReturnItem
- The number that uniquely identifies the item in the sales document.public void setScheduleLine(@Nullable String scheduleLine)
Original property name from the Odata EDM: 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
- The number that uniquely identifies the schedule line in the sales document.public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
Original property name from the Odata EDM: OrderQuantityUnit
orderQuantityUnit
- Unit of measure in which the material is sold.public void setConfdOrderQtyByMatlAvailCheck(@Nullable BigDecimal confdOrderQtyByMatlAvailCheck)
Original property name from the Odata EDM: 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
- The item quantity that the system confirms for shipping after checking inventory availability.public void setDeliveredQtyInOrderQtyUnit(@Nullable BigDecimal deliveredQtyInOrderQtyUnit)
Original property name from the Odata EDM: DeliveredQtyInOrderQtyUnit
deliveredQtyInOrderQtyUnit
- Delivered Quantitypublic void setOpenConfdDelivQtyInOrdQtyUnit(@Nullable BigDecimal openConfdDelivQtyInOrdQtyUnit)
Original property name from the Odata EDM: OpenConfdDelivQtyInOrdQtyUnit
openConfdDelivQtyInOrdQtyUnit
- Open Confirmed Delivery Quantitypublic void setDelivBlockReasonForSchedLine(@Nullable String delivBlockReasonForSchedLine)
Original property name from the Odata EDM: DelivBlockReasonForSchedLine
delivBlockReasonForSchedLine
- Indicates if a schedule line for the item is blocked for delivery.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CustomerReturnScheduleLine>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerReturnScheduleLine>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerReturnScheduleLine>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerReturnScheduleLine>
@Nonnull public static <T> CustomerReturnScheduleLineField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> CustomerReturnScheduleLineField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<CustomerReturnScheduleLine>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<CustomerReturnScheduleLine>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<CustomerReturnScheduleLine>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<CustomerReturnScheduleLine>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<CustomerReturnScheduleLine>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CustomerReturnScheduleLine>
@Nullable public CustomerReturn fetchCustomerReturn() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable 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.@Nonnull public Optional<CustomerReturn> getCustomerReturnIfPresent()
If the navigation property for an entity CustomerReturnScheduleLine has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with result state
empty
is returned.public void setCustomerReturn(CustomerReturn value)
value
- New CustomerReturn entity.@Nullable public CustomerReturnItem fetchCustomerReturnItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable 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.@Nonnull public Optional<CustomerReturnItem> getCustomerReturnItemIfPresent()
If the navigation property for an entity CustomerReturnScheduleLine has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with result state
empty
is returned.public void setCustomerReturnItem(CustomerReturnItem value)
value
- New CustomerReturnItem entity.public static CustomerReturnScheduleLine.CustomerReturnScheduleLineBuilder builder()
@Nullable public String getCustomerReturn()
Original property name from the Odata EDM: CustomerReturn
@Nullable public String getCustomerReturnItem()
Original property name from the Odata EDM: CustomerReturnItem
@Nullable public String getScheduleLine()
Original property name from the Odata EDM: 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.
@Nullable public String getOrderQuantityUnit()
Original property name from the Odata EDM: OrderQuantityUnit
@Nullable public BigDecimal getConfdOrderQtyByMatlAvailCheck()
Original property name from the Odata EDM: 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).
@Nullable public BigDecimal getDeliveredQtyInOrderQtyUnit()
Original property name from the Odata EDM: DeliveredQtyInOrderQtyUnit
@Nullable public BigDecimal getOpenConfdDelivQtyInOrdQtyUnit()
Original property name from the Odata EDM: OpenConfdDelivQtyInOrdQtyUnit
@Nullable public String getDelivBlockReasonForSchedLine()
Original property name from the Odata EDM: DelivBlockReasonForSchedLine
public String toString()
toString
in class VdmObject<CustomerReturnScheduleLine>
public boolean equals(Object o)
equals
in class VdmObject<CustomerReturnScheduleLine>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustomerReturnScheduleLine>
public int hashCode()
hashCode
in class VdmObject<CustomerReturnScheduleLine>
Copyright © 2019 SAP SE. All rights reserved.