Class CustomerMaterial
Original entity name from the Odata EDM: A_CustomerMaterialType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustomerMaterialSelectableSelector for all available fields of CustomerMaterial.static final CustomerMaterialField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the Customer field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the CustomerMaterialItemUsage field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the CustomerMaterialSearchTerm field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the DeliveryPriority field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the DistributionChannel field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the ETag field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the Material field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the MaterialByCustomer field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the MaterialDescriptionByCustomer field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the MaxNmbrOfPartialDelivery field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the MinDeliveryQtyInBaseUnit field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the OverdelivTolrtdLmtRatioInPct field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the PartialDeliveryIsAllowed field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the Plant field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the SalesOrganization field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the SalesQtyToBaseQtyDnmntr field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the SalesQtyToBaseQtyNmrtr field to query operations.static final CustomerMaterialField<String>Use with available fluent helpers to apply the SalesUnit field to query operations.static final CustomerMaterialField<BigDecimal>Use with available fluent helpers to apply the UnderdelivTolrtdLmtRatioInPct field to query operations.static final CustomerMaterialField<Boolean>Use with available fluent helpers to apply the UnlimitedOverdeliveryIsAllowed field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCustomerMaterial(String salesOrganization, String distributionChannel, String customer, String material, String materialByCustomer, String materialDescriptionByCustomer, String plant, String deliveryPriority, BigDecimal minDeliveryQtyInBaseUnit, String baseUnit, String partialDeliveryIsAllowed, BigDecimal maxNmbrOfPartialDelivery, BigDecimal underdelivTolrtdLmtRatioInPct, BigDecimal overdelivTolrtdLmtRatioInPct, Boolean unlimitedOverdeliveryIsAllowed, String customerMaterialItemUsage, String salesUnit, BigDecimal salesQtyToBaseQtyDnmntr, BigDecimal salesQtyToBaseQtyNmrtr, String customerMaterialSearchTerm, String eTag) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CustomerMaterialField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CustomerMaterialField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10protected StringConstraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2protected StringgetETag()Constraints: Not nullable, Maximum length: 27getKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 1, Scale: 0Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Precision: 3, Scale: 1Constraints: Not nullable, Maximum length: 1getPlant()Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 5, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 0Constraints: Not nullable, Maximum length: 3getType()Constraints: Not nullable, Precision: 3, Scale: 1Constraints: noneinthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCustomer(String customer) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCustomerMaterialItemUsage(String customerMaterialItemUsage) Constraints: Not nullable, Maximum length: 4voidsetCustomerMaterialSearchTerm(String customerMaterialSearchTerm) Constraints: Not nullable, Maximum length: 10voidsetDeliveryPriority(String deliveryPriority) Constraints: Not nullable, Maximum length: 2voidsetDistributionChannel(String distributionChannel) (Key Field) Constraints: Not nullable, Maximum length: 2voidConstraints: Not nullable, Maximum length: 27voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetMaterialByCustomer(String materialByCustomer) Constraints: Not nullable, Maximum length: 35voidsetMaterialDescriptionByCustomer(String materialDescriptionByCustomer) Constraints: Not nullable, Maximum length: 40voidsetMaxNmbrOfPartialDelivery(BigDecimal maxNmbrOfPartialDelivery) Constraints: Not nullable, Precision: 1, Scale: 0voidsetMinDeliveryQtyInBaseUnit(BigDecimal minDeliveryQtyInBaseUnit) Constraints: Not nullable, Precision: 13, Scale: 3voidsetOverdelivTolrtdLmtRatioInPct(BigDecimal overdelivTolrtdLmtRatioInPct) Constraints: Not nullable, Precision: 3, Scale: 1voidsetPartialDeliveryIsAllowed(String partialDeliveryIsAllowed) Constraints: Not nullable, Maximum length: 1voidConstraints: Not nullable, Maximum length: 4voidsetSalesOrganization(String salesOrganization) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetSalesQtyToBaseQtyDnmntr(BigDecimal salesQtyToBaseQtyDnmntr) Constraints: Not nullable, Precision: 5, Scale: 0voidsetSalesQtyToBaseQtyNmrtr(BigDecimal salesQtyToBaseQtyNmrtr) Constraints: Not nullable, Precision: 5, Scale: 0voidsetSalesUnit(String salesUnit) Constraints: Not nullable, Maximum length: 3protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUnderdelivTolrtdLmtRatioInPct(BigDecimal underdelivTolrtdLmtRatioInPct) Constraints: Not nullable, Precision: 3, Scale: 1voidsetUnlimitedOverdeliveryIsAllowed(Boolean unlimitedOverdeliveryIsAllowed) Constraints: nonetoString()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 CustomerMaterial. -
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations. -
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations. -
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
MATERIAL_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialByCustomer field to query operations. -
MATERIAL_DESCRIPTION_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialDescriptionByCustomer field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
DELIVERY_PRIORITY
Use with available fluent helpers to apply the DeliveryPriority field to query operations. -
MIN_DELIVERY_QTY_IN_BASE_UNIT
Use with available fluent helpers to apply the MinDeliveryQtyInBaseUnit field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations. -
PARTIAL_DELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the PartialDeliveryIsAllowed field to query operations. -
MAX_NMBR_OF_PARTIAL_DELIVERY
Use with available fluent helpers to apply the MaxNmbrOfPartialDelivery field to query operations. -
UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the UnderdelivTolrtdLmtRatioInPct field to query operations. -
OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the OverdelivTolrtdLmtRatioInPct field to query operations. -
UNLIMITED_OVERDELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the UnlimitedOverdeliveryIsAllowed field to query operations. -
CUSTOMER_MATERIAL_ITEM_USAGE
Use with available fluent helpers to apply the CustomerMaterialItemUsage field to query operations. -
SALES_UNIT
Use with available fluent helpers to apply the SalesUnit field to query operations. -
SALES_QTY_TO_BASE_QTY_DNMNTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyDnmntr field to query operations. -
SALES_QTY_TO_BASE_QTY_NMRTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyNmrtr field to query operations. -
CUSTOMER_MATERIAL_SEARCH_TERM
Use with available fluent helpers to apply the CustomerMaterialSearchTerm field to query operations. -
E_TAG
Use with available fluent helpers to apply the ETag field to query operations.
-
-
Constructor Details
-
CustomerMaterial
public CustomerMaterial() -
CustomerMaterial
public CustomerMaterial(@Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String customer, @Nullable String material, @Nullable String materialByCustomer, @Nullable String materialDescriptionByCustomer, @Nullable String plant, @Nullable String deliveryPriority, @Nullable BigDecimal minDeliveryQtyInBaseUnit, @Nullable String baseUnit, @Nullable String partialDeliveryIsAllowed, @Nullable BigDecimal maxNmbrOfPartialDelivery, @Nullable BigDecimal underdelivTolrtdLmtRatioInPct, @Nullable BigDecimal overdelivTolrtdLmtRatioInPct, @Nullable Boolean unlimitedOverdeliveryIsAllowed, @Nullable String customerMaterialItemUsage, @Nullable String salesUnit, @Nullable BigDecimal salesQtyToBaseQtyDnmntr, @Nullable BigDecimal salesQtyToBaseQtyNmrtr, @Nullable String customerMaterialSearchTerm, @Nullable String eTag)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CustomerMaterial>
-
setSalesOrganization
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Sales Organization
-
setDistributionChannel
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Customer number
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Product Number
-
setMaterialByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: MaterialByCustomer
- Parameters:
materialByCustomer- Material Number Used by Customer
-
setMaterialDescriptionByCustomer
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MaterialDescriptionByCustomer
- Parameters:
materialDescriptionByCustomer- Customer Description of Material
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant (Own or External)
-
setDeliveryPriority
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DeliveryPriority
- Parameters:
deliveryPriority- Delivery Priority
-
setMinDeliveryQtyInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
- Parameters:
minDeliveryQtyInBaseUnit- Minimum Delivery Quantity in Delivery Note Processing
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setPartialDeliveryIsAllowed
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PartialDeliveryIsAllowed
- Parameters:
partialDeliveryIsAllowed- Partial Delivery at Item Level
-
setMaxNmbrOfPartialDelivery
Constraints: Not nullable, Precision: 1, Scale: 0Original property name from the Odata EDM: MaxNmbrOfPartialDelivery
- Parameters:
maxNmbrOfPartialDelivery- Maximum Number of Partial Deliveries Allowed Per Item
-
setUnderdelivTolrtdLmtRatioInPct
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
- Parameters:
underdelivTolrtdLmtRatioInPct- Underdelivery Tolerance
-
setOverdelivTolrtdLmtRatioInPct
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: OverdelivTolrtdLmtRatioInPct
- Parameters:
overdelivTolrtdLmtRatioInPct- Overdelivery Tolerance
-
setUnlimitedOverdeliveryIsAllowed
Constraints: noneOriginal property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
- Parameters:
unlimitedOverdeliveryIsAllowed- Unlimited Overdelivery Allowed
-
setCustomerMaterialItemUsage
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustomerMaterialItemUsage
- Parameters:
customerMaterialItemUsage- Item Usage
-
setSalesUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesUnit
- Parameters:
salesUnit- Sales Unit
-
setSalesQtyToBaseQtyDnmntr
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
- Parameters:
salesQtyToBaseQtyDnmntr- Denominator (divisor) for conversion of sales Qty into SKU
-
setSalesQtyToBaseQtyNmrtr
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
- Parameters:
salesQtyToBaseQtyNmrtr- Numerator (factor) for conversion of sales quantity into SKU
-
setCustomerMaterialSearchTerm
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CustomerMaterialSearchTerm
- Parameters:
customerMaterialSearchTerm- Sort Field
-
setETag
Constraints: Not nullable, Maximum length: 27Original property name from the Odata EDM: ETag
- Parameters:
eTag- ETag
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CustomerMaterial>
-
getKey
- Overrides:
getKeyin classVdmObject<CustomerMaterial>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CustomerMaterial>
-
fromMap
- Overrides:
fromMapin classVdmObject<CustomerMaterial>
-
field
@Nonnull public static <T> CustomerMaterialField<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> CustomerMaterialField<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<CustomerMaterial>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CustomerMaterial>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CustomerMaterial>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CustomerMaterial>
-
builder
-
getSalesOrganization
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Sales Organization
-
getDistributionChannel
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Customer number
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Product Number
-
getMaterialByCustomer
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: MaterialByCustomer
- Returns:
- Material Number Used by Customer
-
getMaterialDescriptionByCustomer
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MaterialDescriptionByCustomer
- Returns:
- Customer Description of Material
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant (Own or External)
-
getDeliveryPriority
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DeliveryPriority
- Returns:
- Delivery Priority
-
getMinDeliveryQtyInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
- Returns:
- Minimum Delivery Quantity in Delivery Note Processing
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getPartialDeliveryIsAllowed
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PartialDeliveryIsAllowed
- Returns:
- Partial Delivery at Item Level
-
getMaxNmbrOfPartialDelivery
Constraints: Not nullable, Precision: 1, Scale: 0Original property name from the Odata EDM: MaxNmbrOfPartialDelivery
- Returns:
- Maximum Number of Partial Deliveries Allowed Per Item
-
getUnderdelivTolrtdLmtRatioInPct
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
- Returns:
- Underdelivery Tolerance
-
getOverdelivTolrtdLmtRatioInPct
Constraints: Not nullable, Precision: 3, Scale: 1Original property name from the Odata EDM: OverdelivTolrtdLmtRatioInPct
- Returns:
- Overdelivery Tolerance
-
getUnlimitedOverdeliveryIsAllowed
Constraints: noneOriginal property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
- Returns:
- Unlimited Overdelivery Allowed
-
getCustomerMaterialItemUsage
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustomerMaterialItemUsage
- Returns:
- Item Usage
-
getSalesUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesUnit
- Returns:
- Sales Unit
-
getSalesQtyToBaseQtyDnmntr
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
- Returns:
- Denominator (divisor) for conversion of sales Qty into SKU
-
getSalesQtyToBaseQtyNmrtr
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
- Returns:
- Numerator (factor) for conversion of sales quantity into SKU
-
getCustomerMaterialSearchTerm
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CustomerMaterialSearchTerm
- Returns:
- Sort Field
-
getETag
Constraints: Not nullable, Maximum length: 27Original property name from the Odata EDM: ETag
- Returns:
- ETag
-
toString
- Overrides:
toStringin classVdmObject<CustomerMaterial>
-
equals
- Overrides:
equalsin classVdmEntity<CustomerMaterial>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CustomerMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CustomerMaterial>
-