public class SlsOrdWthoutChrgSchedLine extends VdmEntity<SlsOrdWthoutChrgSchedLine>
Original entity name from the Odata EDM: A_SlsOrdWthoutChrgSchedLineType
Modifier and Type | Class and Description |
---|---|
static class |
SlsOrdWthoutChrgSchedLine.SlsOrdWthoutChrgSchedLineBuilder
Helper class to allow for fluent creation of SlsOrdWthoutChrgSchedLine instances.
|
Modifier and Type | Field and Description |
---|---|
static SlsOrdWthoutChrgSchedLineSelectable |
ALL_FIELDS
Selector for all available fields of SlsOrdWthoutChrgSchedLine.
|
static SlsOrdWthoutChrgSchedLineField<BigDecimal> |
CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
Use with available fluent helpers to apply the ConfdOrderQtyByMatlAvailCheck field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<String> |
DELIV_BLOCK_REASON_FOR_SCHED_LINE
Use with available fluent helpers to apply the DelivBlockReasonForSchedLine field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<BigDecimal> |
DELIVERED_QTY_IN_ORDER_QTY_UNIT
Use with available fluent helpers to apply the DeliveredQtyInOrderQtyUnit field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<BigDecimal> |
OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
Use with available fluent helpers to apply the OpenConfdDelivQtyInOrdQtyUnit field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<String> |
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<String> |
SALES_ORDER_WITHOUT_CHARGE
Use with available fluent helpers to apply the SalesOrderWithoutCharge field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<String> |
SALES_ORDER_WITHOUT_CHARGE_ITEM
Use with available fluent helpers to apply the SalesOrderWithoutChargeItem field to query operations.
|
static SlsOrdWthoutChrgSchedLineField<String> |
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations.
|
static SlsOrdWthoutChrgSchedLineOneToOneLink<SalesOrderWithoutChargeItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static SlsOrdWthoutChrgSchedLineOneToOneLink<SalesOrderWithoutCharge> |
TO_SALES_ORDER_WITHOUT_CHARGE
Use with available fluent helpers to apply the to_SalesOrderWithoutCharge navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
SlsOrdWthoutChrgSchedLine() |
SlsOrdWthoutChrgSchedLine(String salesOrderWithoutCharge,
String salesOrderWithoutChargeItem,
String scheduleLine,
String orderQuantityUnit,
BigDecimal confdOrderQtyByMatlAvailCheck,
BigDecimal deliveredQtyInOrderQtyUnit,
BigDecimal openConfdDelivQtyInOrdQtyUnit,
String delivBlockReasonForSchedLine,
SalesOrderWithoutChargeItem toItem,
SalesOrderWithoutCharge toSalesOrderWithoutCharge) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SlsOrdWthoutChrgSchedLine.SlsOrdWthoutChrgSchedLineBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
SalesOrderWithoutChargeItem |
fetchItem()
Fetches the SalesOrderWithoutChargeItem entity (one to one) associated with this entity.
|
SalesOrderWithoutCharge |
fetchSalesOrderWithoutCharge()
Fetches the SalesOrderWithoutCharge entity (one to one) associated with this entity.
|
static <T> SlsOrdWthoutChrgSchedLineField<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
|
protected String |
getDefaultServicePath() |
String |
getDelivBlockReasonForSchedLine()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getDeliveredQtyInOrderQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
io.vavr.control.Option<SalesOrderWithoutChargeItem> |
getItemIfPresent()
Retrieval of associated SalesOrderWithoutChargeItem entity (one to one).
|
SalesOrderWithoutChargeItem |
getItemOrFetch()
Retrieval of associated SalesOrderWithoutChargeItem entity (one to one).
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getOpenConfdDelivQtyInOrdQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOrderWithoutCharge()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<SalesOrderWithoutCharge> |
getSalesOrderWithoutChargeIfPresent()
Retrieval of associated SalesOrderWithoutCharge entity (one to one).
|
String |
getSalesOrderWithoutChargeItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
SalesOrderWithoutCharge |
getSalesOrderWithoutChargeOrFetch()
Retrieval of associated SalesOrderWithoutCharge entity (one to one).
|
String |
getScheduleLine()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Class<SlsOrdWthoutChrgSchedLine> |
getType() |
int |
hashCode() |
void |
setConfdOrderQtyByMatlAvailCheck(BigDecimal confdOrderQtyByMatlAvailCheck)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setDelivBlockReasonForSchedLine(String delivBlockReasonForSchedLine)
Constraints: Not nullable, Maximum length: 2
|
void |
setDeliveredQtyInOrderQtyUnit(BigDecimal deliveredQtyInOrderQtyUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setItem(SalesOrderWithoutChargeItem value)
Overwrites the associated SalesOrderWithoutChargeItem entity for the loaded navigation property
to_Item.
|
void |
setOpenConfdDelivQtyInOrdQtyUnit(BigDecimal openConfdDelivQtyInOrdQtyUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOrderWithoutCharge(SalesOrderWithoutCharge value)
Overwrites the associated SalesOrderWithoutCharge entity for the loaded navigation property
to_SalesOrderWithoutCharge.
|
void |
setSalesOrderWithoutCharge(String salesOrderWithoutCharge)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrderWithoutChargeItem(String salesOrderWithoutChargeItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SlsOrdWthoutChrgSchedLineSelectable ALL_FIELDS
public static final SlsOrdWthoutChrgSchedLineField<String> SALES_ORDER_WITHOUT_CHARGE
public static final SlsOrdWthoutChrgSchedLineField<String> SALES_ORDER_WITHOUT_CHARGE_ITEM
public static final SlsOrdWthoutChrgSchedLineField<String> SCHEDULE_LINE
public static final SlsOrdWthoutChrgSchedLineField<String> ORDER_QUANTITY_UNIT
public static final SlsOrdWthoutChrgSchedLineField<BigDecimal> CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
public static final SlsOrdWthoutChrgSchedLineField<BigDecimal> DELIVERED_QTY_IN_ORDER_QTY_UNIT
public static final SlsOrdWthoutChrgSchedLineField<BigDecimal> OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
public static final SlsOrdWthoutChrgSchedLineField<String> DELIV_BLOCK_REASON_FOR_SCHED_LINE
public static final SlsOrdWthoutChrgSchedLineOneToOneLink<SalesOrderWithoutChargeItem> TO_ITEM
public static final SlsOrdWthoutChrgSchedLineOneToOneLink<SalesOrderWithoutCharge> TO_SALES_ORDER_WITHOUT_CHARGE
public SlsOrdWthoutChrgSchedLine()
public SlsOrdWthoutChrgSchedLine(@Nullable String salesOrderWithoutCharge, @Nullable String salesOrderWithoutChargeItem, @Nullable String scheduleLine, @Nullable String orderQuantityUnit, @Nullable BigDecimal confdOrderQtyByMatlAvailCheck, @Nullable BigDecimal deliveredQtyInOrderQtyUnit, @Nullable BigDecimal openConfdDelivQtyInOrdQtyUnit, @Nullable String delivBlockReasonForSchedLine, @Nullable SalesOrderWithoutChargeItem toItem, @Nullable SalesOrderWithoutCharge toSalesOrderWithoutCharge)
@Nonnull public Class<SlsOrdWthoutChrgSchedLine> getType()
getType
in class VdmObject<SlsOrdWthoutChrgSchedLine>
public void setSalesOrderWithoutCharge(@Nullable String salesOrderWithoutCharge)
Original property name from the Odata EDM: SalesOrderWithoutCharge
salesOrderWithoutCharge
- The number that uniquely identifies the sales document.public void setSalesOrderWithoutChargeItem(@Nullable String salesOrderWithoutChargeItem)
Original property name from the Odata EDM: SalesOrderWithoutChargeItem
salesOrderWithoutChargeItem
- 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<SlsOrdWthoutChrgSchedLine>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SlsOrdWthoutChrgSchedLine>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SlsOrdWthoutChrgSchedLine>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SlsOrdWthoutChrgSchedLine>
@Nonnull public static <T> SlsOrdWthoutChrgSchedLineField<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> SlsOrdWthoutChrgSchedLineField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SlsOrdWthoutChrgSchedLine>
protected 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<SlsOrdWthoutChrgSchedLine>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<SlsOrdWthoutChrgSchedLine>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<SlsOrdWthoutChrgSchedLine>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SlsOrdWthoutChrgSchedLine>
@Nullable public SalesOrderWithoutChargeItem fetchItem() 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 SalesOrderWithoutChargeItem getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried SlsOrdWthoutChrgSchedLine 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 io.vavr.control.Option<SalesOrderWithoutChargeItem> getItemIfPresent()
If the navigation property for an entity SlsOrdWthoutChrgSchedLine has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setItem(SalesOrderWithoutChargeItem value)
value
- New SalesOrderWithoutChargeItem entity.@Nullable public SalesOrderWithoutCharge fetchSalesOrderWithoutCharge() 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 SalesOrderWithoutCharge getSalesOrderWithoutChargeOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SalesOrderWithoutCharge of a queried SlsOrdWthoutChrgSchedLine 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 io.vavr.control.Option<SalesOrderWithoutCharge> getSalesOrderWithoutChargeIfPresent()
If the navigation property for an entity SlsOrdWthoutChrgSchedLine has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result
state empty
is returned.public void setSalesOrderWithoutCharge(SalesOrderWithoutCharge value)
value
- New SalesOrderWithoutCharge entity.public static SlsOrdWthoutChrgSchedLine.SlsOrdWthoutChrgSchedLineBuilder builder()
@Nullable public String getSalesOrderWithoutCharge()
Original property name from the Odata EDM: SalesOrderWithoutCharge
@Nullable public String getSalesOrderWithoutChargeItem()
Original property name from the Odata EDM: SalesOrderWithoutChargeItem
@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<SlsOrdWthoutChrgSchedLine>
public boolean equals(Object o)
equals
in class VdmObject<SlsOrdWthoutChrgSchedLine>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SlsOrdWthoutChrgSchedLine>
public int hashCode()
hashCode
in class VdmObject<SlsOrdWthoutChrgSchedLine>
Copyright © 2019 SAP SE. All rights reserved.