public class SalesOrderScheduleLine extends VdmEntity<SalesOrderScheduleLine>
Original entity name from the Odata EDM: A_SalesOrderScheduleLineType
Modifier and Type | Class and Description |
---|---|
static class |
SalesOrderScheduleLine.SalesOrderScheduleLineBuilder |
Modifier and Type | Field and Description |
---|---|
static SalesOrderScheduleLineSelectable |
ALL_FIELDS
Selector for all available fields of SalesOrderScheduleLine.
|
static SalesOrderScheduleLineField<BigDecimal> |
CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
Use with available fluent helpers to apply the ConfdOrderQtyByMatlAvailCheck field to query operations.
|
static SalesOrderScheduleLineField<LocalDateTime> |
CONFIRMED_DELIVERY_DATE
Use with available fluent helpers to apply the ConfirmedDeliveryDate field to query operations.
|
static SalesOrderScheduleLineField<BigDecimal> |
CORRECTED_QTY_IN_ORDER_QTY_UNIT
Use with available fluent helpers to apply the CorrectedQtyInOrderQtyUnit field to query operations.
|
static SalesOrderScheduleLineField<String> |
DELIV_BLOCK_REASON_FOR_SCHED_LINE
Use with available fluent helpers to apply the DelivBlockReasonForSchedLine field to query operations.
|
static SalesOrderScheduleLineField<BigDecimal> |
DELIVERED_QTY_IN_ORDER_QTY_UNIT
Use with available fluent helpers to apply the DeliveredQtyInOrderQtyUnit field to query operations.
|
static SalesOrderScheduleLineField<BigDecimal> |
OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
Use with available fluent helpers to apply the OpenConfdDelivQtyInOrdQtyUnit field to query operations.
|
static SalesOrderScheduleLineField<String> |
ORDER_QUANTITY_ISO_UNIT
Use with available fluent helpers to apply the OrderQuantityISOUnit field to query operations.
|
static SalesOrderScheduleLineField<String> |
ORDER_QUANTITY_SAP_UNIT
Use with available fluent helpers to apply the OrderQuantitySAPUnit field to query operations.
|
static SalesOrderScheduleLineField<String> |
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.
|
static SalesOrderScheduleLineField<LocalDateTime> |
REQUESTED_DELIVERY_DATE
Use with available fluent helpers to apply the RequestedDeliveryDate field to query operations.
|
static SalesOrderScheduleLineField<String> |
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations.
|
static SalesOrderScheduleLineField<String> |
SALES_ORDER_ITEM
Use with available fluent helpers to apply the SalesOrderItem field to query operations.
|
static SalesOrderScheduleLineField<String> |
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations.
|
static SalesOrderScheduleLineField<BigDecimal> |
SCHEDULE_LINE_ORDER_QUANTITY
Use with available fluent helpers to apply the ScheduleLineOrderQuantity field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SalesOrderScheduleLine() |
SalesOrderScheduleLine(String salesOrder,
String salesOrderItem,
String scheduleLine,
LocalDateTime requestedDeliveryDate,
LocalDateTime confirmedDeliveryDate,
String orderQuantityUnit,
String orderQuantitySAPUnit,
String orderQuantityISOUnit,
BigDecimal scheduleLineOrderQuantity,
BigDecimal confdOrderQtyByMatlAvailCheck,
BigDecimal deliveredQtyInOrderQtyUnit,
BigDecimal openConfdDelivQtyInOrdQtyUnit,
BigDecimal correctedQtyInOrderQtyUnit,
String delivBlockReasonForSchedLine) |
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 SalesOrderScheduleLine.SalesOrderScheduleLineBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SalesOrderScheduleLineField<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
|
LocalDateTime |
getConfirmedDeliveryDate()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getCorrectedQtyInOrderQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
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()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getOpenConfdDelivQtyInOrdQtyUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getOrderQuantityISOUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getOrderQuantitySAPUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
LocalDateTime |
getRequestedDeliveryDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSalesOrderItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getScheduleLine()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getScheduleLineOrderQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
Class<SalesOrderScheduleLine> |
getType() |
int |
hashCode() |
void |
setConfdOrderQtyByMatlAvailCheck(BigDecimal confdOrderQtyByMatlAvailCheck)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setConfirmedDeliveryDate(LocalDateTime confirmedDeliveryDate)
Constraints: Not nullable, Precision: 0
|
void |
setCorrectedQtyInOrderQtyUnit(BigDecimal correctedQtyInOrderQtyUnit)
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 |
setOpenConfdDelivQtyInOrdQtyUnit(BigDecimal openConfdDelivQtyInOrdQtyUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOrderQuantityISOUnit(String orderQuantityISOUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setOrderQuantitySAPUnit(String orderQuantitySAPUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setRequestedDeliveryDate(LocalDateTime requestedDeliveryDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesOrder(String salesOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrderItem(String salesOrderItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setScheduleLine(String scheduleLine)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setScheduleLineOrderQuantity(BigDecimal scheduleLineOrderQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SalesOrderScheduleLineSelectable ALL_FIELDS
public static final SalesOrderScheduleLineField<String> SALES_ORDER
public static final SalesOrderScheduleLineField<String> SALES_ORDER_ITEM
public static final SalesOrderScheduleLineField<String> SCHEDULE_LINE
public static final SalesOrderScheduleLineField<LocalDateTime> REQUESTED_DELIVERY_DATE
public static final SalesOrderScheduleLineField<LocalDateTime> CONFIRMED_DELIVERY_DATE
public static final SalesOrderScheduleLineField<String> ORDER_QUANTITY_UNIT
public static final SalesOrderScheduleLineField<String> ORDER_QUANTITY_SAP_UNIT
public static final SalesOrderScheduleLineField<String> ORDER_QUANTITY_ISO_UNIT
public static final SalesOrderScheduleLineField<BigDecimal> SCHEDULE_LINE_ORDER_QUANTITY
public static final SalesOrderScheduleLineField<BigDecimal> CONFD_ORDER_QTY_BY_MATL_AVAIL_CHECK
public static final SalesOrderScheduleLineField<BigDecimal> DELIVERED_QTY_IN_ORDER_QTY_UNIT
public static final SalesOrderScheduleLineField<BigDecimal> OPEN_CONFD_DELIV_QTY_IN_ORD_QTY_UNIT
public static final SalesOrderScheduleLineField<BigDecimal> CORRECTED_QTY_IN_ORDER_QTY_UNIT
public static final SalesOrderScheduleLineField<String> DELIV_BLOCK_REASON_FOR_SCHED_LINE
public SalesOrderScheduleLine()
public SalesOrderScheduleLine(@Nullable String salesOrder, @Nullable String salesOrderItem, @Nullable String scheduleLine, @Nullable LocalDateTime requestedDeliveryDate, @Nullable LocalDateTime confirmedDeliveryDate, @Nullable String orderQuantityUnit, @Nullable String orderQuantitySAPUnit, @Nullable String orderQuantityISOUnit, @Nullable BigDecimal scheduleLineOrderQuantity, @Nullable BigDecimal confdOrderQtyByMatlAvailCheck, @Nullable BigDecimal deliveredQtyInOrderQtyUnit, @Nullable BigDecimal openConfdDelivQtyInOrdQtyUnit, @Nullable BigDecimal correctedQtyInOrderQtyUnit, @Nullable String delivBlockReasonForSchedLine)
@Nonnull public Class<SalesOrderScheduleLine> getType()
getType
in class VdmObject<SalesOrderScheduleLine>
public void setSalesOrder(@Nullable String salesOrder)
Original property name from the Odata EDM: SalesOrder
salesOrder
- The number that uniquely identifies the sales document.public void setSalesOrderItem(@Nullable String salesOrderItem)
Original property name from the Odata EDM: SalesOrderItem
salesOrderItem
- 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 setRequestedDeliveryDate(@Nullable LocalDateTime requestedDeliveryDate)
Original property name from the Odata EDM: RequestedDeliveryDate
requestedDeliveryDate
- Requested Delivery Datepublic void setConfirmedDeliveryDate(@Nullable LocalDateTime confirmedDeliveryDate)
Original property name from the Odata EDM: ConfirmedDeliveryDate
confirmedDeliveryDate
- Confirmed Delivery Datepublic 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 setOrderQuantitySAPUnit(@Nullable String orderQuantitySAPUnit)
Original property name from the Odata EDM: OrderQuantitySAPUnit
For the order quantity, you can use either the language-dependent unit code, the ISO code, or the SAP code (the format found in the database without conversions).
orderQuantitySAPUnit
- Unit of measure (SAP code) for the order quantity.public void setOrderQuantityISOUnit(@Nullable String orderQuantityISOUnit)
Original property name from the Odata EDM: OrderQuantityISOUnit
For the order quantity, you can use either the language-dependent unit code, the ISO code, or the SAP code (the format found in the database without conversions).
orderQuantityISOUnit
- Unit of measure (ISO code) for the order quantity.public void setScheduleLineOrderQuantity(@Nullable BigDecimal scheduleLineOrderQuantity)
Original property name from the Odata EDM: ScheduleLineOrderQuantity
If you change the required order quantity in the schedule line, the system re-rounds the quantities, determines the rounded quantity, and re-runs the availability check based on the rounded quantity. The required order quantity remains as the orginal quantity (before rounding) in the schedule line.If the system does not round up the quantity, this means that the required order quantity matches the rounded quantity.
scheduleLineOrderQuantity
- Required order quantity in an individual schedule line.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 setCorrectedQtyInOrderQtyUnit(@Nullable BigDecimal correctedQtyInOrderQtyUnit)
Original property name from the Odata EDM: CorrectedQtyInOrderQtyUnit
The system rounds the quantity using the rounding profiles from the customer-material info record or the material master record. The profile can be switched on for each customer.If you change the rounded quantity, the system automatically performs an availability check and/or delivery scheduling and updates the confirmed quantity. The rounded quantity is cumulated in the total order quantity of the item. The required order quantity remains as the original quantity (before rounding) in the schedule line.If the system does not round the quantity, the rounded quantity of the required order quantity in the schedule line is valid.
correctedQtyInOrderQtyUnit
- Rounded quantity of the required quantity in the schedule line in the sales order.public 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()
VdmEntity
getEntityCollection
in class VdmEntity<SalesOrderScheduleLine>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SalesOrderScheduleLine>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SalesOrderScheduleLine>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SalesOrderScheduleLine>
@Nonnull public static <T> SalesOrderScheduleLineField<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> SalesOrderScheduleLineField<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<SalesOrderScheduleLine>
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<SalesOrderScheduleLine>
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<SalesOrderScheduleLine>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<SalesOrderScheduleLine>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SalesOrderScheduleLine.SalesOrderScheduleLineBuilder builder()
@Nullable public String getSalesOrder()
Original property name from the Odata EDM: SalesOrder
@Nullable public String getSalesOrderItem()
Original property name from the Odata EDM: SalesOrderItem
@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 LocalDateTime getRequestedDeliveryDate()
Original property name from the Odata EDM: RequestedDeliveryDate
@Nullable public LocalDateTime getConfirmedDeliveryDate()
Original property name from the Odata EDM: ConfirmedDeliveryDate
@Nullable public String getOrderQuantityUnit()
Original property name from the Odata EDM: OrderQuantityUnit
@Nullable public String getOrderQuantitySAPUnit()
Original property name from the Odata EDM: OrderQuantitySAPUnit
For the order quantity, you can use either the language-dependent unit code, the ISO code, or the SAP code (the format found in the database without conversions).
@Nullable public String getOrderQuantityISOUnit()
Original property name from the Odata EDM: OrderQuantityISOUnit
For the order quantity, you can use either the language-dependent unit code, the ISO code, or the SAP code (the format found in the database without conversions).
@Nullable public BigDecimal getScheduleLineOrderQuantity()
Original property name from the Odata EDM: ScheduleLineOrderQuantity
If you change the required order quantity in the schedule line, the system re-rounds the quantities, determines the rounded quantity, and re-runs the availability check based on the rounded quantity. The required order quantity remains as the orginal quantity (before rounding) in the schedule line.If the system does not round up the quantity, this means that the required order quantity matches the rounded quantity.
@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 BigDecimal getCorrectedQtyInOrderQtyUnit()
Original property name from the Odata EDM: CorrectedQtyInOrderQtyUnit
The system rounds the quantity using the rounding profiles from the customer-material info record or the material master record. The profile can be switched on for each customer.If you change the rounded quantity, the system automatically performs an availability check and/or delivery scheduling and updates the confirmed quantity. The rounded quantity is cumulated in the total order quantity of the item. The required order quantity remains as the original quantity (before rounding) in the schedule line.If the system does not round the quantity, the rounded quantity of the required order quantity in the schedule line is valid.
@Nullable public String getDelivBlockReasonForSchedLine()
Original property name from the Odata EDM: DelivBlockReasonForSchedLine
@Nonnull public String toString()
toString
in class VdmObject<SalesOrderScheduleLine>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SalesOrderScheduleLine>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SalesOrderScheduleLine>
public int hashCode()
hashCode
in class VdmObject<SalesOrderScheduleLine>
Copyright © 2021 SAP SE. All rights reserved.