Class PurchasingSource
Original entity name from the Odata EDM: A_PurchasingSourceType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurchasingSourceSelectableSelector for all available fields of PurchasingSource.static final PurchasingSourceField<String>Use with available fluent helpers to apply the CreatedByUserName field to query operations.static final PurchasingSourceField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final PurchasingSourceField<Boolean>Use with available fluent helpers to apply the IssgPlantIsFixed field to query operations.static final PurchasingSourceField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the Material field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the MRPSourcingControl field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the Plant field to query operations.static final PurchasingSourceField<Boolean>Use with available fluent helpers to apply the PurOutlineAgreementIsFixed field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the PurchaseOutlineAgreement field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the PurchaseOutlineAgreementItem field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the PurchasingOrganization field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the SourceListRecord field to query operations.static final PurchasingSourceField<Boolean>Use with available fluent helpers to apply the SourceOfSupplyIsBlocked field to query operations.static final PurchasingSourceField<Boolean>Use with available fluent helpers to apply the SourceOfSupplyIsFixed field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final PurchasingSourceField<Boolean>Use with available fluent helpers to apply the SupplierIsFixed field to query operations.static final PurchasingSourceField<String>Use with available fluent helpers to apply the SupplyingPlant field to query operations.static final PurchasingSourceField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final PurchasingSourceField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPurchasingSource(String material, String plant, String sourceListRecord, LocalDateTime creationDate, String createdByUserName, LocalDateTime validityStartDate, LocalDateTime validityEndDate, String supplier, Boolean supplierIsFixed, String purchaseOutlineAgreement, String purchaseOutlineAgreementItem, String supplyingPlant, Boolean sourceOfSupplyIsBlocked, String purchasingOrganization, String mRPSourcingControl, String orderQuantityUnit, ZonedDateTime lastChangeDateTime, Boolean issgPlantIsFixed, Boolean purOutlineAgreementIsFixed, Boolean sourceOfSupplyIsFixed) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
PurchasingSourceField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurchasingSourceField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected Stringprotected StringConstraints: nonegetKey()Constraints: Not nullable, Precision: 7(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 4Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: noneConstraints: noneConstraints: Not nullable, Maximum length: 10Constraints: noneConstraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetCreatedByUserName(String createdByUserName) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetIssgPlantIsFixed(Boolean issgPlantIsFixed) Constraints: nonevoidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetMRPSourcingControl(String mRPSourcingControl) Constraints: Not nullable, Maximum length: 1voidsetOrderQuantityUnit(String orderQuantityUnit) Constraints: Not nullable, Maximum length: 3void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetPurchaseOutlineAgreement(String purchaseOutlineAgreement) Constraints: Not nullable, Maximum length: 10voidsetPurchaseOutlineAgreementItem(String purchaseOutlineAgreementItem) Constraints: Not nullable, Maximum length: 5voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetPurOutlineAgreementIsFixed(Boolean purOutlineAgreementIsFixed) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSourceListRecord(String sourceListRecord) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetSourceOfSupplyIsBlocked(Boolean sourceOfSupplyIsBlocked) Constraints: nonevoidsetSourceOfSupplyIsFixed(Boolean sourceOfSupplyIsFixed) Constraints: nonevoidsetSupplier(String supplier) Constraints: Not nullable, Maximum length: 10voidsetSupplierIsFixed(Boolean supplierIsFixed) Constraints: nonevoidsetSupplyingPlant(String supplyingPlant) Constraints: Not nullable, Maximum length: 4voidsetValidityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PurchasingSource. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
SOURCE_LIST_RECORD
Use with available fluent helpers to apply the SourceListRecord field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATED_BY_USER_NAME
Use with available fluent helpers to apply the CreatedByUserName field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations. -
SUPPLIER_IS_FIXED
Use with available fluent helpers to apply the SupplierIsFixed field to query operations. -
PURCHASE_OUTLINE_AGREEMENT
Use with available fluent helpers to apply the PurchaseOutlineAgreement field to query operations. -
PURCHASE_OUTLINE_AGREEMENT_ITEM
Use with available fluent helpers to apply the PurchaseOutlineAgreementItem field to query operations. -
SUPPLYING_PLANT
Use with available fluent helpers to apply the SupplyingPlant field to query operations. -
SOURCE_OF_SUPPLY_IS_BLOCKED
Use with available fluent helpers to apply the SourceOfSupplyIsBlocked field to query operations. -
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations. -
MRP_SOURCING_CONTROL
Use with available fluent helpers to apply the MRPSourcingControl field to query operations. -
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
ISSG_PLANT_IS_FIXED
Use with available fluent helpers to apply the IssgPlantIsFixed field to query operations. -
PUR_OUTLINE_AGREEMENT_IS_FIXED
Use with available fluent helpers to apply the PurOutlineAgreementIsFixed field to query operations. -
SOURCE_OF_SUPPLY_IS_FIXED
Use with available fluent helpers to apply the SourceOfSupplyIsFixed field to query operations.
-
-
Constructor Details
-
PurchasingSource
public PurchasingSource() -
PurchasingSource
public PurchasingSource(@Nullable String material, @Nullable String plant, @Nullable String sourceListRecord, @Nullable LocalDateTime creationDate, @Nullable String createdByUserName, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String supplier, @Nullable Boolean supplierIsFixed, @Nullable String purchaseOutlineAgreement, @Nullable String purchaseOutlineAgreementItem, @Nullable String supplyingPlant, @Nullable Boolean sourceOfSupplyIsBlocked, @Nullable String purchasingOrganization, @Nullable String mRPSourcingControl, @Nullable String orderQuantityUnit, @Nullable ZonedDateTime lastChangeDateTime, @Nullable Boolean issgPlantIsFixed, @Nullable Boolean purOutlineAgreementIsFixed, @Nullable Boolean sourceOfSupplyIsFixed)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchasingSource>
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setSourceListRecord
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourceListRecord
- Parameters:
sourceListRecord- Number of Source List Record
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Record Created On
-
setCreatedByUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUserName
- Parameters:
createdByUserName- Name of Person Responsible for Creating the Object
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Source List Record Valid From
-
setValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Source List Record Valid To
-
setSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Supplier's Account Number
-
setSupplierIsFixed
Constraints: noneOriginal property name from the Odata EDM: SupplierIsFixed
- Parameters:
supplierIsFixed- Indicator: Fixed Supplier
-
setPurchaseOutlineAgreement
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOutlineAgreement
- Parameters:
purchaseOutlineAgreement- Agreement Number
-
setPurchaseOutlineAgreementItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOutlineAgreementItem
- Parameters:
purchaseOutlineAgreementItem- Agreement Item
-
setSupplyingPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SupplyingPlant
- Parameters:
supplyingPlant- Plant from Which Material is Procured
-
setSourceOfSupplyIsBlocked
Constraints: noneOriginal property name from the Odata EDM: SourceOfSupplyIsBlocked
- Parameters:
sourceOfSupplyIsBlocked- Blocked Source of Supply
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setMRPSourcingControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MRPSourcingControl
- Parameters:
mRPSourcingControl- Source List Usage in Materials Planning
-
setOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrderQuantityUnit
- Parameters:
orderQuantityUnit- Purchase Order Unit of Measure
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
setIssgPlantIsFixed
Constraints: noneOriginal property name from the Odata EDM: IssgPlantIsFixed
- Parameters:
issgPlantIsFixed- Fixed issuing plant in case of stock transport order
-
setPurOutlineAgreementIsFixed
Constraints: noneOriginal property name from the Odata EDM: PurOutlineAgreementIsFixed
- Parameters:
purOutlineAgreementIsFixed- Fixed Outline Purchase Agreement Item
-
setSourceOfSupplyIsFixed
Constraints: noneOriginal property name from the Odata EDM: SourceOfSupplyIsFixed
- Parameters:
sourceOfSupplyIsFixed- Fixed Source of Supply
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchasingSource>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchasingSource>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchasingSource>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchasingSource>
-
field
@Nonnull public static <T> PurchasingSourceField<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> PurchasingSourceField<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<PurchasingSource>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurchasingSource>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurchasingSource>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchasingSource>
-
builder
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getSourceListRecord
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourceListRecord
- Returns:
- Number of Source List Record
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Record Created On
-
getCreatedByUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUserName
- Returns:
- Name of Person Responsible for Creating the Object
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Source List Record Valid From
-
getValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Source List Record Valid To
-
getSupplier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Supplier's Account Number
-
getSupplierIsFixed
Constraints: noneOriginal property name from the Odata EDM: SupplierIsFixed
- Returns:
- Indicator: Fixed Supplier
-
getPurchaseOutlineAgreement
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOutlineAgreement
- Returns:
- Agreement Number
-
getPurchaseOutlineAgreementItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOutlineAgreementItem
- Returns:
- Agreement Item
-
getSupplyingPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SupplyingPlant
- Returns:
- Plant from Which Material is Procured
-
getSourceOfSupplyIsBlocked
Constraints: noneOriginal property name from the Odata EDM: SourceOfSupplyIsBlocked
- Returns:
- Blocked Source of Supply
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getMRPSourcingControl
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MRPSourcingControl
- Returns:
- Source List Usage in Materials Planning
-
getOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrderQuantityUnit
- Returns:
- Purchase Order Unit of Measure
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
getIssgPlantIsFixed
Constraints: noneOriginal property name from the Odata EDM: IssgPlantIsFixed
- Returns:
- Fixed issuing plant in case of stock transport order
-
getPurOutlineAgreementIsFixed
Constraints: noneOriginal property name from the Odata EDM: PurOutlineAgreementIsFixed
- Returns:
- Fixed Outline Purchase Agreement Item
-
getSourceOfSupplyIsFixed
Constraints: noneOriginal property name from the Odata EDM: SourceOfSupplyIsFixed
- Returns:
- Fixed Source of Supply
-
toString
- Overrides:
toStringin classVdmObject<PurchasingSource>
-
equals
- Overrides:
equalsin classVdmEntity<PurchasingSource>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchasingSource>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchasingSource>
-