public class PurchasingSource extends VdmEntity<PurchasingSource>
Modifier and Type | Class and Description |
---|---|
static class |
PurchasingSource.PurchasingSourceBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityFieldAll<PurchasingSource> |
ALL_FIELDS
Selector for all available fields of PurchasingSource.
|
static PurchasingSourceField<String> |
CREATED_BY_USER_NAME
Use with available fluent helpers to apply the CreatedByUserName field to query operations.
|
static PurchasingSourceField<Calendar> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static PurchasingSourceField<Calendar> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static PurchasingSourceField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static PurchasingSourceField<String> |
MRP_SOURCING_CONTROL
Use with available fluent helpers to apply the MRPSourcingControl field to query operations.
|
static PurchasingSourceField<String> |
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.
|
static PurchasingSourceField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static PurchasingSourceField<String> |
PURCHASE_OUTLINE_AGREEMENT
Use with available fluent helpers to apply the PurchaseOutlineAgreement field to query operations.
|
static PurchasingSourceField<String> |
PURCHASE_OUTLINE_AGREEMENT_ITEM
Use with available fluent helpers to apply the PurchaseOutlineAgreementItem field to query operations.
|
static PurchasingSourceField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static PurchasingSourceField<String> |
SOURCE_LIST_RECORD
Use with available fluent helpers to apply the SourceListRecord field to query operations.
|
static PurchasingSourceField<Boolean> |
SOURCE_OF_SUPPLY_IS_BLOCKED
Use with available fluent helpers to apply the SourceOfSupplyIsBlocked field to query operations.
|
static PurchasingSourceField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static PurchasingSourceField<Boolean> |
SUPPLIER_IS_FIXED
Use with available fluent helpers to apply the SupplierIsFixed field to query operations.
|
static PurchasingSourceField<String> |
SUPPLYING_PLANT
Use with available fluent helpers to apply the SupplyingPlant field to query operations.
|
static PurchasingSourceField<Calendar> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static PurchasingSourceField<Calendar> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
Constructor and Description |
---|
PurchasingSource() |
PurchasingSource(String material,
String plant,
String sourceListRecord,
Calendar creationDate,
String createdByUserName,
Calendar validityStartDate,
Calendar validityEndDate,
String supplier,
Boolean supplierIsFixed,
String purchaseOutlineAgreement,
String purchaseOutlineAgreementItem,
String supplyingPlant,
Boolean sourceOfSupplyIsBlocked,
String purchasingOrganization,
String mRPSourcingControl,
String orderQuantityUnit,
Calendar lastChangeDateTime,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static PurchasingSource.PurchasingSourceBuilder |
builder() |
boolean |
equals(Object o) |
static <T> PurchasingSourceField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCreatedByUserName()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMRPSourcingControl()
Constraints: Not nullable, Maximum length: 1
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPurchaseOutlineAgreement()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseOutlineAgreementItem()
Constraints: Not nullable, Maximum length: 5
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getSourceListRecord()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
Boolean |
getSourceOfSupplyIsBlocked()
Constraints: none
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
Boolean |
getSupplierIsFixed()
Constraints: none
|
String |
getSupplyingPlant()
Constraints: Not nullable, Maximum length: 4
|
Class<PurchasingSource> |
getType() |
Calendar |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setCreatedByUserName(String createdByUserName)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(Calendar creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMRPSourcingControl(String mRPSourcingControl)
Constraints: Not nullable, Maximum length: 1
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPurchaseOutlineAgreement(String purchaseOutlineAgreement)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseOutlineAgreementItem(String purchaseOutlineAgreementItem)
Constraints: Not nullable, Maximum length: 5
|
void |
setPurchasingOrganization(String purchasingOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setSourceListRecord(String sourceListRecord)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setSourceOfSupplyIsBlocked(Boolean sourceOfSupplyIsBlocked)
Constraints: none
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierIsFixed(Boolean supplierIsFixed)
Constraints: none
|
void |
setSupplyingPlant(String supplyingPlant)
Constraints: Not nullable, Maximum length: 4
|
void |
setValidityEndDate(Calendar validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(Calendar validityStartDate)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final EntityFieldAll<PurchasingSource> ALL_FIELDS
public static final PurchasingSourceField<String> MATERIAL
public static final PurchasingSourceField<String> PLANT
public static final PurchasingSourceField<String> SOURCE_LIST_RECORD
public static final PurchasingSourceField<Calendar> CREATION_DATE
public static final PurchasingSourceField<String> CREATED_BY_USER_NAME
public static final PurchasingSourceField<Calendar> VALIDITY_START_DATE
public static final PurchasingSourceField<Calendar> VALIDITY_END_DATE
public static final PurchasingSourceField<String> SUPPLIER
public static final PurchasingSourceField<Boolean> SUPPLIER_IS_FIXED
public static final PurchasingSourceField<String> PURCHASE_OUTLINE_AGREEMENT
public static final PurchasingSourceField<String> PURCHASE_OUTLINE_AGREEMENT_ITEM
public static final PurchasingSourceField<String> SUPPLYING_PLANT
public static final PurchasingSourceField<Boolean> SOURCE_OF_SUPPLY_IS_BLOCKED
public static final PurchasingSourceField<String> PURCHASING_ORGANIZATION
public static final PurchasingSourceField<String> MRP_SOURCING_CONTROL
public static final PurchasingSourceField<String> ORDER_QUANTITY_UNIT
public static final PurchasingSourceField<Calendar> LAST_CHANGE_DATE_TIME
@Generated(value="lombok") public PurchasingSource()
@ConstructorProperties(value={"material","plant","sourceListRecord","creationDate","createdByUserName","validityStartDate","validityEndDate","supplier","supplierIsFixed","purchaseOutlineAgreement","purchaseOutlineAgreementItem","supplyingPlant","sourceOfSupplyIsBlocked","purchasingOrganization","mRPSourcingControl","orderQuantityUnit","lastChangeDateTime","erpConfigContext"}) @Generated(value="lombok") public PurchasingSource(@Nullable String material, @Nullable String plant, @Nullable String sourceListRecord, @Nullable Calendar creationDate, @Nullable String createdByUserName, @Nullable Calendar validityStartDate, @Nullable Calendar 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 Calendar lastChangeDateTime, @Nullable ErpConfigContext erpConfigContext)
public Class<PurchasingSource> getType()
getType
in class VdmObject<PurchasingSource>
public static <T> PurchasingSourceField<T> field(String fieldName, Class<T> fieldType)
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.@Generated(value="lombok") public static PurchasingSource.PurchasingSourceBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getPlant()
You use the plant key to determine, for instance, which plant is to receive ordered goods.
@Nullable @Generated(value="lombok") public String getSourceListRecord()
This counter is assigned internally by the system at material master plant segment level.
@Nullable @Generated(value="lombok") public Calendar getCreationDate()
@Nullable @Generated(value="lombok") public String getCreatedByUserName()
@Nullable @Generated(value="lombok") public Calendar getValidityStartDate()
When the system carries out checks against the source list, only those source list records whose "valid from" date is earlier than the date to be checked are taken into account. The date to be checked is normally the delivery date (depending on the application in question).
@Nullable @Generated(value="lombok") public Calendar getValidityEndDate()
When carrying out checks against the source list, the system takes only those source list records into account whose "valid until" date is later than the date to be checked. The date to be checked is normally the delivery date, depending on the application in question.
@Nullable @Generated(value="lombok") public String getSupplier()
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 @Generated(value="lombok") public Boolean getSupplierIsFixed()
@Nullable @Generated(value="lombok") public String getPurchaseOutlineAgreement()
@Nullable @Generated(value="lombok") public String getPurchaseOutlineAgreementItem()
@Nullable @Generated(value="lombok") public String getSupplyingPlant()
You can only enter one supplier number or one plant per quota arrangement item. In the case of process orders, this field should remain empty if the quota arrangement is being used to select a production version.
@Nullable @Generated(value="lombok") public Boolean getSourceOfSupplyIsBlocked()
A blocked source will not be suggested in the course of the source determination process that takes place in the purchase requisition or purchase order. The issue of purchase orders to blocked sources is not allowed. Note: If you set the Blk indicator and enter just one validity period, the material is generally blocked for external procurement.
@Nullable @Generated(value="lombok") public String getPurchasingOrganization()
@Nullable @Generated(value="lombok") public String getMRPSourcingControl()
The following are valid entries for this field: "1" Purchase requisitions generated within the framework of material requirements planning are automatically assigned to this source. "2" If the source of supply is a scheduling agreement, MRP can create a delivery schedule line with respect to a requirement. " " The source of supply is not taken into account by material requirements planning.
@Nullable @Generated(value="lombok") public String getOrderQuantityUnit()
@Nullable @Generated(value="lombok") public Calendar getLastChangeDateTime()
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose. Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone. The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure. See also GET TIME STAMP A UTC time stamp in short form is also available.
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
You use the plant key to determine, for instance, which plant is to receive ordered goods.
plant
- @Generated(value="lombok") public void setSourceListRecord(@Nullable String sourceListRecord)
This counter is assigned internally by the system at material master plant segment level.
sourceListRecord
- @Generated(value="lombok") public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- @Generated(value="lombok") public void setCreatedByUserName(@Nullable String createdByUserName)
createdByUserName
- @Generated(value="lombok") public void setValidityStartDate(@Nullable Calendar validityStartDate)
When the system carries out checks against the source list, only those source list records whose "valid from" date is earlier than the date to be checked are taken into account. The date to be checked is normally the delivery date (depending on the application in question).
validityStartDate
- @Generated(value="lombok") public void setValidityEndDate(@Nullable Calendar validityEndDate)
When carrying out checks against the source list, the system takes only those source list records into account whose "valid until" date is later than the date to be checked. The date to be checked is normally the delivery date, depending on the application in question.
validityEndDate
- @Generated(value="lombok") public void setSupplier(@Nullable String 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
- @Generated(value="lombok") public void setSupplierIsFixed(@Nullable Boolean supplierIsFixed)
supplierIsFixed
- @Generated(value="lombok") public void setPurchaseOutlineAgreement(@Nullable String purchaseOutlineAgreement)
purchaseOutlineAgreement
- @Generated(value="lombok") public void setPurchaseOutlineAgreementItem(@Nullable String purchaseOutlineAgreementItem)
purchaseOutlineAgreementItem
- @Generated(value="lombok") public void setSupplyingPlant(@Nullable String supplyingPlant)
You can only enter one supplier number or one plant per quota arrangement item. In the case of process orders, this field should remain empty if the quota arrangement is being used to select a production version.
supplyingPlant
- @Generated(value="lombok") public void setSourceOfSupplyIsBlocked(@Nullable Boolean sourceOfSupplyIsBlocked)
A blocked source will not be suggested in the course of the source determination process that takes place in the purchase requisition or purchase order. The issue of purchase orders to blocked sources is not allowed. Note: If you set the Blk indicator and enter just one validity period, the material is generally blocked for external procurement.
sourceOfSupplyIsBlocked
- @Generated(value="lombok") public void setPurchasingOrganization(@Nullable String purchasingOrganization)
purchasingOrganization
- @Generated(value="lombok") public void setMRPSourcingControl(@Nullable String mRPSourcingControl)
The following are valid entries for this field: "1" Purchase requisitions generated within the framework of material requirements planning are automatically assigned to this source. "2" If the source of supply is a scheduling agreement, MRP can create a delivery schedule line with respect to a requirement. " " The source of supply is not taken into account by material requirements planning.
mRPSourcingControl
- @Generated(value="lombok") public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
orderQuantityUnit
- @Generated(value="lombok") public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose. Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone. The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure. See also GET TIME STAMP A UTC time stamp in short form is also available.
lastChangeDateTime
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<PurchasingSource>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<PurchasingSource>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<PurchasingSource>
Copyright © 2017 SAP SE. All rights reserved.