Class SchAgrmtSchLine
Original entity name from the Odata EDM: A_SchAgrmtSchLineType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SchAgrmtSchLine instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchAgrmtSchLineSelectableSelector for all available fields of SchAgrmtSchLine.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the DelivDateCategory field to query operations.static final SchAgrmtSchLineField<BigDecimal>Use with available fluent helpers to apply the NoOfRemindersOfScheduleLine field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.static final SchAgrmtSchLineField<BigDecimal>Use with available fluent helpers to apply the PrevDelivQtyOfScheduleLine field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the PurchaseRequisition field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.static final SchAgrmtSchLineField<BigDecimal>Use with available fluent helpers to apply the RoughGoodsReceiptQty field to query operations.static final SchAgrmtSchLineField<LocalDateTime>Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the ScheduleLine field to query operations.static final SchAgrmtSchLineField<LocalDateTime>Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations.static final SchAgrmtSchLineField<LocalTime>Use with available fluent helpers to apply the ScheduleLineDeliveryTime field to query operations.static final SchAgrmtSchLineField<Boolean>Use with available fluent helpers to apply the ScheduleLineIsFixed field to query operations.static final SchAgrmtSchLineField<BigDecimal>Use with available fluent helpers to apply the ScheduleLineOrderQuantity field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the SchedulingAgreement field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the SchedulingAgreementItem field to query operations.static final SchAgrmtSchLineField<String>Use with available fluent helpers to apply the SourceOfCreation field to query operations.static final SchAgrmtSchLineLink<SchedgAgrmtSubcontrgComp>Use with available fluent helpers to apply the to_SchedgAgrmtSubcontrgCompTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSchAgrmtSchLine(String schedulingAgreement, String schedulingAgreementItem, String scheduleLine, String delivDateCategory, LocalDateTime scheduleLineDeliveryDate, LocalDateTime schedLineStscDeliveryDate, LocalTime scheduleLineDeliveryTime, String orderQuantityUnit, BigDecimal scheduleLineOrderQuantity, String purchaseRequisition, String purchaseRequisitionItem, BigDecimal roughGoodsReceiptQty, Boolean scheduleLineIsFixed, BigDecimal noOfRemindersOfScheduleLine, BigDecimal prevDelivQtyOfScheduleLine, String sourceOfCreation, List<SchedgAgrmtSubcontrgComp> toSchedgAgrmtSubcontrgCompTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SchedgAgrmtSubcontrgComp entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SchedgAgrmtSubcontrgComp entities (one to many) associated with this entity.static <T,DomainT>
SchAgrmtSchLineField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SchAgrmtSchLineField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Maximum length: 1protected StringgetKey()Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 13, Scale: 3io.vavr.control.Option<List<SchedgAgrmtSubcontrgComp>>Retrieval of associated SchedgAgrmtSubcontrgComp entities (one to many).Retrieval of associated SchedgAgrmtSubcontrgComp entities (one to many).Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: noneConstraints: Not nullable, Precision: 13, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetDelivDateCategory(String delivDateCategory) Constraints: Not nullable, Maximum length: 1voidsetNoOfRemindersOfScheduleLine(BigDecimal noOfRemindersOfScheduleLine) Constraints: Not nullable, Precision: 3, Scale: 0voidsetOrderQuantityUnit(String orderQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetPrevDelivQtyOfScheduleLine(BigDecimal prevDelivQtyOfScheduleLine) Constraints: Not nullable, Precision: 13, Scale: 3voidsetPurchaseRequisition(String purchaseRequisition) Constraints: Not nullable, Maximum length: 10voidsetPurchaseRequisitionItem(String purchaseRequisitionItem) Constraints: Not nullable, Maximum length: 5voidsetRoughGoodsReceiptQty(BigDecimal roughGoodsReceiptQty) Constraints: Not nullable, Precision: 13, Scale: 3voidOverwrites the list of associated SchedgAgrmtSubcontrgComp entities for the loaded navigation property to_SchedgAgrmtSubcontrgCompTP.voidsetSchedLineStscDeliveryDate(LocalDateTime schedLineStscDeliveryDate) Constraints: Not nullable, Precision: 0voidsetScheduleLine(String scheduleLine) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetScheduleLineDeliveryDate(LocalDateTime scheduleLineDeliveryDate) Constraints: Not nullable, Precision: 0voidsetScheduleLineDeliveryTime(LocalTime scheduleLineDeliveryTime) Constraints: Not nullable, Precision: 0voidsetScheduleLineIsFixed(Boolean scheduleLineIsFixed) Constraints: nonevoidsetScheduleLineOrderQuantity(BigDecimal scheduleLineOrderQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetSchedulingAgreement(String schedulingAgreement) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSchedulingAgreementItem(String schedulingAgreementItem) (Key Field) Constraints: Not nullable, Maximum length: 5protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSourceOfCreation(String sourceOfCreation) Constraints: Not nullable, Maximum length: 1toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SchAgrmtSchLine. -
SCHEDULING_AGREEMENT
Use with available fluent helpers to apply the SchedulingAgreement field to query operations. -
SCHEDULING_AGREEMENT_ITEM
Use with available fluent helpers to apply the SchedulingAgreementItem field to query operations. -
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations. -
DELIV_DATE_CATEGORY
Use with available fluent helpers to apply the DelivDateCategory field to query operations. -
SCHEDULE_LINE_DELIVERY_DATE
Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations. -
SCHED_LINE_STSC_DELIVERY_DATE
Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations. -
SCHEDULE_LINE_DELIVERY_TIME
Use with available fluent helpers to apply the ScheduleLineDeliveryTime field to query operations. -
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations. -
SCHEDULE_LINE_ORDER_QUANTITY
Use with available fluent helpers to apply the ScheduleLineOrderQuantity field to query operations. -
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations. -
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations. -
ROUGH_GOODS_RECEIPT_QTY
Use with available fluent helpers to apply the RoughGoodsReceiptQty field to query operations. -
SCHEDULE_LINE_IS_FIXED
Use with available fluent helpers to apply the ScheduleLineIsFixed field to query operations. -
NO_OF_REMINDERS_OF_SCHEDULE_LINE
Use with available fluent helpers to apply the NoOfRemindersOfScheduleLine field to query operations. -
PREV_DELIV_QTY_OF_SCHEDULE_LINE
Use with available fluent helpers to apply the PrevDelivQtyOfScheduleLine field to query operations. -
SOURCE_OF_CREATION
Use with available fluent helpers to apply the SourceOfCreation field to query operations. -
TO_SCHEDG_AGRMT_SUBCONTRG_COMP_TP
Use with available fluent helpers to apply the to_SchedgAgrmtSubcontrgCompTP navigation property to query operations.
-
-
Constructor Details
-
SchAgrmtSchLine
public SchAgrmtSchLine() -
SchAgrmtSchLine
public SchAgrmtSchLine(@Nullable String schedulingAgreement, @Nullable String schedulingAgreementItem, @Nullable String scheduleLine, @Nullable String delivDateCategory, @Nullable LocalDateTime scheduleLineDeliveryDate, @Nullable LocalDateTime schedLineStscDeliveryDate, @Nullable LocalTime scheduleLineDeliveryTime, @Nullable String orderQuantityUnit, @Nullable BigDecimal scheduleLineOrderQuantity, @Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable BigDecimal roughGoodsReceiptQty, @Nullable Boolean scheduleLineIsFixed, @Nullable BigDecimal noOfRemindersOfScheduleLine, @Nullable BigDecimal prevDelivQtyOfScheduleLine, @Nullable String sourceOfCreation, List<SchedgAgrmtSubcontrgComp> toSchedgAgrmtSubcontrgCompTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SchAgrmtSchLine>
-
setSchedulingAgreement
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SchedulingAgreement
- Parameters:
schedulingAgreement- Purchasing Document Number
-
setSchedulingAgreementItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SchedulingAgreementItem
- Parameters:
schedulingAgreementItem- Item Number of Purchasing Document
-
setScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Parameters:
scheduleLine- Delivery Schedule Line Counter
-
setDelivDateCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DelivDateCategory
- Parameters:
delivDateCategory- Category of delivery date
-
setScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Parameters:
scheduleLineDeliveryDate- Item Delivery Date
-
setSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Parameters:
schedLineStscDeliveryDate- Statistics-Relevant Delivery Date
-
setScheduleLineDeliveryTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryTime
- Parameters:
scheduleLineDeliveryTime- Delivery Date Time-Spot
-
setOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrderQuantityUnit
- Parameters:
orderQuantityUnit- Purchase Order Unit of Measure
-
setScheduleLineOrderQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineOrderQuantity
- Parameters:
scheduleLineOrderQuantity- Scheduled Quantity
-
setPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Parameters:
purchaseRequisition- Purchase Requisition Number
-
setPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Parameters:
purchaseRequisitionItem- Item number of purchase requisition
-
setRoughGoodsReceiptQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RoughGoodsReceiptQty
- Parameters:
roughGoodsReceiptQty- Quantity of Goods Received
-
setScheduleLineIsFixed
Constraints: noneOriginal property name from the Odata EDM: ScheduleLineIsFixed
- Parameters:
scheduleLineIsFixed- Schedule Line is "Fixed"
-
setNoOfRemindersOfScheduleLine
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NoOfRemindersOfScheduleLine
- Parameters:
noOfRemindersOfScheduleLine- No. of Reminders/Expediters for Schedule Line
-
setPrevDelivQtyOfScheduleLine
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: PrevDelivQtyOfScheduleLine
- Parameters:
prevDelivQtyOfScheduleLine- Previous Quantity (Delivery Schedule Lines)
-
setSourceOfCreation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceOfCreation
- Parameters:
sourceOfCreation- Creation indicator (purchase requisition/schedule lines)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SchAgrmtSchLine>
-
getKey
- Overrides:
getKeyin classVdmObject<SchAgrmtSchLine>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SchAgrmtSchLine>
-
fromMap
- Overrides:
fromMapin classVdmObject<SchAgrmtSchLine>
-
field
@Nonnull public static <T> SchAgrmtSchLineField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> SchAgrmtSchLineField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<SchAgrmtSchLine>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SchAgrmtSchLine>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SchAgrmtSchLine>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SchAgrmtSchLine>
-
fetchSchedgAgrmtSubcontrgCompTP
Fetches the SchedgAgrmtSubcontrgComp entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SchedgAgrmtSubcontrgCompTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SchedgAgrmtSubcontrgComp entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSchedgAgrmtSubcontrgCompTPOrFetch
Retrieval of associated SchedgAgrmtSubcontrgComp entities (one to many). This corresponds to the OData navigation property to_SchedgAgrmtSubcontrgCompTP.If the navigation property to_SchedgAgrmtSubcontrgCompTP of a queried SchAgrmtSchLine 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.
- Returns:
- List of associated SchedgAgrmtSubcontrgComp entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getSchedgAgrmtSubcontrgCompTPIfPresent
@Nonnull public io.vavr.control.Option<List<SchedgAgrmtSubcontrgComp>> getSchedgAgrmtSubcontrgCompTPIfPresent()Retrieval of associated SchedgAgrmtSubcontrgComp entities (one to many). This corresponds to the OData navigation property to_SchedgAgrmtSubcontrgCompTP.If the navigation property for an entity SchAgrmtSchLine has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SchedgAgrmtSubcontrgCompTP is already loaded, the
result will contain the SchedgAgrmtSubcontrgComp entities. If not, an
Optionwith result stateemptyis returned.
-
setSchedgAgrmtSubcontrgCompTP
Overwrites the list of associated SchedgAgrmtSubcontrgComp entities for the loaded navigation property to_SchedgAgrmtSubcontrgCompTP.If the navigation property to_SchedgAgrmtSubcontrgCompTP of a queried SchAgrmtSchLine 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.
- Parameters:
value- List of SchedgAgrmtSubcontrgComp entities.
-
addSchedgAgrmtSubcontrgCompTP
Adds elements to the list of associated SchedgAgrmtSubcontrgComp entities. This corresponds to the OData navigation property to_SchedgAgrmtSubcontrgCompTP.If the navigation property to_SchedgAgrmtSubcontrgCompTP of a queried SchAgrmtSchLine 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.
- Parameters:
entity- Array of SchedgAgrmtSubcontrgComp entities.
-
builder
-
getSchedulingAgreement
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SchedulingAgreement
- Returns:
- Purchasing Document Number
-
getSchedulingAgreementItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SchedulingAgreementItem
- Returns:
- Item Number of Purchasing Document
-
getScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Returns:
- Delivery Schedule Line Counter
-
getDelivDateCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DelivDateCategory
- Returns:
- Category of delivery date
-
getScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Returns:
- Item Delivery Date
-
getSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Returns:
- Statistics-Relevant Delivery Date
-
getScheduleLineDeliveryTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryTime
- Returns:
- Delivery Date Time-Spot
-
getOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrderQuantityUnit
- Returns:
- Purchase Order Unit of Measure
-
getScheduleLineOrderQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineOrderQuantity
- Returns:
- Scheduled Quantity
-
getPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Returns:
- Purchase Requisition Number
-
getPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Returns:
- Item number of purchase requisition
-
getRoughGoodsReceiptQty
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: RoughGoodsReceiptQty
- Returns:
- Quantity of Goods Received
-
getScheduleLineIsFixed
Constraints: noneOriginal property name from the Odata EDM: ScheduleLineIsFixed
- Returns:
- Schedule Line is "Fixed"
-
getNoOfRemindersOfScheduleLine
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NoOfRemindersOfScheduleLine
- Returns:
- No. of Reminders/Expediters for Schedule Line
-
getPrevDelivQtyOfScheduleLine
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: PrevDelivQtyOfScheduleLine
- Returns:
- Previous Quantity (Delivery Schedule Lines)
-
getSourceOfCreation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourceOfCreation
- Returns:
- Creation indicator (purchase requisition/schedule lines)
-
toString
- Overrides:
toStringin classVdmObject<SchAgrmtSchLine>
-
equals
- Overrides:
equalsin classVdmEntity<SchAgrmtSchLine>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SchAgrmtSchLine>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SchAgrmtSchLine>
-