public class QualityInProcurement extends VdmEntity<QualityInProcurement>
Original entity name from the Odata EDM: QualityInProcurementType
Modifier and Type | Class and Description |
---|---|
static class |
QualityInProcurement.QualityInProcurementBuilder |
Modifier and Type | Field and Description |
---|---|
static QualityInProcurementSelectable |
ALL_FIELDS
Selector for all available fields of QualityInProcurement.
|
static QualityInProcurementField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static QualityInProcurementField<String> |
BLOCK_REASON
Use with available fluent helpers to apply the BlockReason field to query operations.
|
static QualityInProcurementField<String> |
IS_DELETED
Use with available fluent helpers to apply the IsDeleted field to query operations.
|
static QualityInProcurementField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static QualityInProcurementField<String> |
MATERIAL_REVISION_LEVEL
Use with available fluent helpers to apply the MaterialRevisionLevel field to query operations.
|
static QualityInProcurementField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static QualityInProcurementField<String> |
PROCUREMENT_BLOCK
Use with available fluent helpers to apply the ProcurementBlock field to query operations.
|
static QualityInProcurementField<String> |
QLTY_IN_PROCMT_INSP_CONTROL
Use with available fluent helpers to apply the QltyInProcmtInspControl field to query operations.
|
static QualityInProcurementField<String> |
QLTY_IN_PROCMT_INT_ID
Use with available fluent helpers to apply the QltyInProcmtIntID field to query operations.
|
static QualityInProcurementField<Boolean> |
QLTY_IN_PROCMT_REL_QTY_IS_ACTIVE
Use with available fluent helpers to apply the QltyInProcmtRelQtyIsActive field to query operations.
|
static QualityInProcurementField<LocalDateTime> |
QLTY_IN_PROCMT_RELEASE_VALID_TO
Use with available fluent helpers to apply the QltyInProcmtReleaseValidTo field to query operations.
|
static QualityInProcurementField<BigDecimal> |
RELEASED_QUANTITY
Use with available fluent helpers to apply the ReleasedQuantity field to query operations.
|
static QualityInProcurementField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
QualityInProcurement() |
QualityInProcurement(String material,
String qltyInProcmtIntID,
String supplier,
String plant,
String materialRevisionLevel,
LocalDateTime qltyInProcmtReleaseValidTo,
String baseUnit,
BigDecimal releasedQuantity,
String blockReason,
String procurementBlock,
Boolean qltyInProcmtRelQtyIsActive,
String qltyInProcmtInspControl,
String isDeleted) |
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 QualityInProcurement.QualityInProcurementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> QualityInProcurementField<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) |
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getBlockReason()
Constraints: Not nullable, Maximum length: 40
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
String |
getIsDeleted()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 18
|
String |
getMaterialRevisionLevel()
Constraints: Not nullable, Maximum length: 2
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getProcurementBlock()
Constraints: Not nullable, Maximum length: 2
|
String |
getQltyInProcmtInspControl()
Constraints: Not nullable, Maximum length: 1
|
String |
getQltyInProcmtIntID()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
LocalDateTime |
getQltyInProcmtReleaseValidTo()
Constraints: Not nullable, Precision: 0
|
Boolean |
getQltyInProcmtRelQtyIsActive()
Constraints: none
|
BigDecimal |
getReleasedQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<QualityInProcurement> |
getType() |
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBlockReason(String blockReason)
Constraints: Not nullable, Maximum length: 40
|
void |
setIsDeleted(String isDeleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 18
|
void |
setMaterialRevisionLevel(String materialRevisionLevel)
Constraints: Not nullable, Maximum length: 2
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setProcurementBlock(String procurementBlock)
Constraints: Not nullable, Maximum length: 2
|
void |
setQltyInProcmtInspControl(String qltyInProcmtInspControl)
Constraints: Not nullable, Maximum length: 1
|
void |
setQltyInProcmtIntID(String qltyInProcmtIntID)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setQltyInProcmtReleaseValidTo(LocalDateTime qltyInProcmtReleaseValidTo)
Constraints: Not nullable, Precision: 0
|
void |
setQltyInProcmtRelQtyIsActive(Boolean qltyInProcmtRelQtyIsActive)
Constraints: none
|
void |
setReleasedQuantity(BigDecimal releasedQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
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 QualityInProcurementSelectable ALL_FIELDS
public static final QualityInProcurementField<String> MATERIAL
public static final QualityInProcurementField<String> QLTY_IN_PROCMT_INT_ID
public static final QualityInProcurementField<String> SUPPLIER
public static final QualityInProcurementField<String> PLANT
public static final QualityInProcurementField<String> MATERIAL_REVISION_LEVEL
public static final QualityInProcurementField<LocalDateTime> QLTY_IN_PROCMT_RELEASE_VALID_TO
public static final QualityInProcurementField<String> BASE_UNIT
public static final QualityInProcurementField<BigDecimal> RELEASED_QUANTITY
public static final QualityInProcurementField<String> BLOCK_REASON
public static final QualityInProcurementField<String> PROCUREMENT_BLOCK
public static final QualityInProcurementField<Boolean> QLTY_IN_PROCMT_REL_QTY_IS_ACTIVE
public static final QualityInProcurementField<String> QLTY_IN_PROCMT_INSP_CONTROL
public static final QualityInProcurementField<String> IS_DELETED
public QualityInProcurement()
public QualityInProcurement(@Nullable String material, @Nullable String qltyInProcmtIntID, @Nullable String supplier, @Nullable String plant, @Nullable String materialRevisionLevel, @Nullable LocalDateTime qltyInProcmtReleaseValidTo, @Nullable String baseUnit, @Nullable BigDecimal releasedQuantity, @Nullable String blockReason, @Nullable String procurementBlock, @Nullable Boolean qltyInProcmtRelQtyIsActive, @Nullable String qltyInProcmtInspControl, @Nullable String isDeleted)
@Nonnull public Class<QualityInProcurement> getType()
getType
in class VdmObject<QualityInProcurement>
public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setQltyInProcmtIntID(@Nullable String qltyInProcmtIntID)
Original property name from the Odata EDM: QltyInProcmtIntID
qltyInProcmtIntID
- Internal Counter for DB Objectspublic void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements.
supplier
- Alphanumeric key uniquely identifying the document.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setMaterialRevisionLevel(@Nullable String materialRevisionLevel)
Original property name from the Odata EDM: MaterialRevisionLevel
materialRevisionLevel
- Revision Levelpublic void setQltyInProcmtReleaseValidTo(@Nullable LocalDateTime qltyInProcmtReleaseValidTo)
Original property name from the Odata EDM: QltyInProcmtReleaseValidTo
qltyInProcmtReleaseValidTo
- Latest date, on which the material for the plant can be ordered from the supplier.public void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measure for the Materialpublic void setReleasedQuantity(@Nullable BigDecimal releasedQuantity)
Original property name from the Odata EDM: ReleasedQuantity
The system also displays the sum of the ordered quantities .If you reset the ordered quantity, the system no longer shows the ordered quantity and notes the reset date.
releasedQuantity
- If a release quantity is required, this quantity is entered in this field.public void setBlockReason(@Nullable String blockReason)
Original property name from the Odata EDM: BlockReason
blockReason
- You can enter a text here, explaining why the vendor relationship is blocked.public void setProcurementBlock(@Nullable String procurementBlock)
Original property name from the Odata EDM: ProcurementBlock
You can enter a block key in the:Supplier master recordIn this case, the supplier block applies to all materials and plants.Quality info record for QM in procurementIn this case, the supplier block applies to a single material and plant.A block for quality reasons applies only to those materials for which QM in procurement is active.
procurementBlock
- Key that determines which procurement functions (for example, request for quotation, purchase order,
or goods receipt) should be blocked for quality reasons.public void setQltyInProcmtRelQtyIsActive(@Nullable Boolean qltyInProcmtRelQtyIsActive)
Original property name from the Odata EDM: QltyInProcmtRelQtyIsActive
qltyInProcmtRelQtyIsActive
- Release Quantity Is Activepublic void setQltyInProcmtInspControl(@Nullable String qltyInProcmtInspControl)
Original property name from the Odata EDM: QltyInProcmtInspControl
"Inspection active, if vendor is not certified"An inspection lot is created if the settings in the material master require this, and if there is no other overriding control function."No inspection"No inspection lot is created, although the material master requires an inspection."Inspection active, independent of vendor certification"An inspection lot is created, although a skip lot is scheduled for the vendor as a result of the vendor's QM system.
qltyInProcmtInspControl
- This identifier in the quality info record controls whether an inspection lot is created. The
following settings are available:public void setIsDeleted(@Nullable String isDeleted)
Original property name from the Odata EDM: IsDeleted
This data record will be deleted, depending on additional settings, in the next archiving run.
isDeleted
- The current data record has been marked for deletion.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<QualityInProcurement>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<QualityInProcurement>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<QualityInProcurement>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<QualityInProcurement>
@Nonnull public static <T> QualityInProcurementField<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> QualityInProcurementField<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<QualityInProcurement>
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<QualityInProcurement>
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<QualityInProcurement>
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<QualityInProcurement>
public static QualityInProcurement.QualityInProcurementBuilder builder()
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getQltyInProcmtIntID()
Original property name from the Odata EDM: QltyInProcmtIntID
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements.
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getMaterialRevisionLevel()
Original property name from the Odata EDM: MaterialRevisionLevel
@Nullable public LocalDateTime getQltyInProcmtReleaseValidTo()
Original property name from the Odata EDM: QltyInProcmtReleaseValidTo
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public BigDecimal getReleasedQuantity()
Original property name from the Odata EDM: ReleasedQuantity
The system also displays the sum of the ordered quantities .If you reset the ordered quantity, the system no longer shows the ordered quantity and notes the reset date.
@Nullable public String getBlockReason()
Original property name from the Odata EDM: BlockReason
@Nullable public String getProcurementBlock()
Original property name from the Odata EDM: ProcurementBlock
You can enter a block key in the:Supplier master recordIn this case, the supplier block applies to all materials and plants.Quality info record for QM in procurementIn this case, the supplier block applies to a single material and plant.A block for quality reasons applies only to those materials for which QM in procurement is active.
@Nullable public Boolean getQltyInProcmtRelQtyIsActive()
Original property name from the Odata EDM: QltyInProcmtRelQtyIsActive
@Nullable public String getQltyInProcmtInspControl()
Original property name from the Odata EDM: QltyInProcmtInspControl
"Inspection active, if vendor is not certified"An inspection lot is created if the settings in the material master require this, and if there is no other overriding control function."No inspection"No inspection lot is created, although the material master requires an inspection."Inspection active, independent of vendor certification"An inspection lot is created, although a skip lot is scheduled for the vendor as a result of the vendor's QM system.
@Nullable public String getIsDeleted()
Original property name from the Odata EDM: IsDeleted
This data record will be deleted, depending on additional settings, in the next archiving run.
public String toString()
toString
in class VdmObject<QualityInProcurement>
public boolean equals(Object o)
equals
in class VdmObject<QualityInProcurement>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<QualityInProcurement>
public int hashCode()
hashCode
in class VdmObject<QualityInProcurement>
Copyright © 2019 SAP SE. All rights reserved.