public class PurchasingSource extends VdmEntity<PurchasingSource>
Modifier and Type | Class and Description |
---|---|
static class |
PurchasingSource.PurchasingSourceBuilder |
Modifier and Type | Field and Description |
---|---|
static PurchasingSourceSelectable |
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<Boolean> |
ISSG_PLANT_IS_FIXED
Use with available fluent helpers to apply the IssgPlantIsFixed 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<Boolean> |
PUR_OUTLINE_AGREEMENT_IS_FIXED
Use with available fluent helpers to apply the PurOutlineAgreementIsFixed 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<Boolean> |
SOURCE_OF_SUPPLY_IS_FIXED
Use with available fluent helpers to apply the SourceOfSupplyIsFixed 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,
Boolean issgPlantIsFixed,
Boolean purOutlineAgreementIsFixed,
Boolean sourceOfSupplyIsFixed,
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. fetching associated entities).
|
Boolean |
getIssgPlantIsFixed()
Constraints: none
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7 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.
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMRPSourcingControl()
Constraints: Not nullable, Maximum length: 1 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."
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4 You use the plant key to determine, for instance, which plant is to receive ordered goods.
|
String |
getPurchaseOutlineAgreement()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseOutlineAgreementItem()
Constraints: Not nullable, Maximum length: 5
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getPurOutlineAgreementIsFixed()
Constraints: noneIf you flag an outline agreement item as a fixed source, it will be determined in the course of the source determination process and the material entered can only be procured under this outline agreement when a purchase order is created.
|
String |
getSourceListRecord()
(Key Field) Constraints: Not nullable, Maximum length: 5 This counter is assigned internally by the system at material master plant segment level.
|
Boolean |
getSourceOfSupplyIsBlocked()
Constraints: noneA 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.
|
Boolean |
getSourceOfSupplyIsFixed()
Constraints: noneIn the source determination process with regard to a purchase requisition or purchase order, the preferred source is suggested first.Only one source of the same type (i.e. supplier or outline agreement) may be preferred within a certain validity period.
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10 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.
|
Boolean |
getSupplierIsFixed()
Constraints: none
|
String |
getSupplyingPlant()
Constraints: Not nullable, Maximum length: 4 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.
|
Class<PurchasingSource> |
getType() |
Calendar |
getValidityEndDate()
Constraints: Not nullable, Precision: 0 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.
|
Calendar |
getValidityStartDate()
Constraints: Not nullable, Precision: 0 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.
|
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. fetching associated entities).
|
void |
setIssgPlantIsFixed(Boolean issgPlantIsFixed)
Constraints: none
|
void |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7 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.
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMRPSourcingControl(String mRPSourcingControl)
Constraints: Not nullable, Maximum length: 1 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."
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4 You use the plant key to determine, for instance, which plant is to receive ordered goods.
|
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 |
setPurOutlineAgreementIsFixed(Boolean purOutlineAgreementIsFixed)
Constraints: noneIf you flag an outline agreement item as a fixed source, it will be determined in the course of the source determination process and the material entered can only be procured under this outline agreement when a purchase order is created.
|
void |
setSourceListRecord(String sourceListRecord)
(Key Field) Constraints: Not nullable, Maximum length: 5 This counter is assigned internally by the system at material master plant segment level.
|
void |
setSourceOfSupplyIsBlocked(Boolean sourceOfSupplyIsBlocked)
Constraints: noneA 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.
|
void |
setSourceOfSupplyIsFixed(Boolean sourceOfSupplyIsFixed)
Constraints: noneIn the source determination process with regard to a purchase requisition or purchase order, the preferred source is suggested first.Only one source of the same type (i.e. supplier or outline agreement) may be preferred within a certain validity period.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10 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.
|
void |
setSupplierIsFixed(Boolean supplierIsFixed)
Constraints: none
|
void |
setSupplyingPlant(String supplyingPlant)
Constraints: Not nullable, Maximum length: 4 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.
|
void |
setValidityEndDate(Calendar validityEndDate)
Constraints: Not nullable, Precision: 0 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.
|
void |
setValidityStartDate(Calendar validityStartDate)
Constraints: Not nullable, Precision: 0 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.
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final PurchasingSourceSelectable 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
public static final PurchasingSourceField<Boolean> ISSG_PLANT_IS_FIXED
public static final PurchasingSourceField<Boolean> PUR_OUTLINE_AGREEMENT_IS_FIXED
public static final PurchasingSourceField<Boolean> SOURCE_OF_SUPPLY_IS_FIXED
public PurchasingSource()
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 Boolean issgPlantIsFixed, @Nullable Boolean purOutlineAgreementIsFixed, @Nullable Boolean sourceOfSupplyIsFixed, @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.public static PurchasingSource.PurchasingSourceBuilder builder()
@Nullable public String getMaterial()
@Nullable public String getPlant()
You use the plant key to determine, for instance, which plant is to receive ordered goods.
@Nullable public String getSourceListRecord()
This counter is assigned internally by the system at material master plant segment level.
@Nullable public Calendar getCreationDate()
@Nullable public String getCreatedByUserName()
@Nullable 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 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 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 public Boolean getSupplierIsFixed()
@Nullable public String getPurchaseOutlineAgreement()
@Nullable public String getPurchaseOutlineAgreementItem()
@Nullable 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 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 public String getPurchasingOrganization()
@Nullable 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 public String getOrderQuantityUnit()
@Nullable 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 STAMPA UTC time stamp in short form is also available.
@Nullable public Boolean getIssgPlantIsFixed()
@Nullable public Boolean getPurOutlineAgreementIsFixed()
If you flag an outline agreement item as a fixed source, it will be determined in the course of the source determination process and the material entered can only be procured under this outline agreement when a purchase order is created.
@Nullable public Boolean getSourceOfSupplyIsFixed()
In the source determination process with regard to a purchase requisition or purchase order, the preferred source is suggested first.Only one source of the same type (i.e. supplier or outline agreement) may be preferred within a certain validity period.
@Nullable public ErpConfigContext getErpConfigContext()
public void setMaterial(@Nullable String material)
material
- public void setPlant(@Nullable String plant)
You use the plant key to determine, for instance, which plant is to receive ordered goods.
plant
- public void setSourceListRecord(@Nullable String sourceListRecord)
This counter is assigned internally by the system at material master plant segment level.
sourceListRecord
- public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- public void setCreatedByUserName(@Nullable String createdByUserName)
createdByUserName
- 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
- 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
- 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
- public void setSupplierIsFixed(@Nullable Boolean supplierIsFixed)
supplierIsFixed
- public void setPurchaseOutlineAgreement(@Nullable String purchaseOutlineAgreement)
purchaseOutlineAgreement
- public void setPurchaseOutlineAgreementItem(@Nullable String purchaseOutlineAgreementItem)
purchaseOutlineAgreementItem
- 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
- 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
- public void setPurchasingOrganization(@Nullable String purchasingOrganization)
purchasingOrganization
- 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
- public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
orderQuantityUnit
- 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 STAMPA UTC time stamp in short form is also available.
lastChangeDateTime
- public void setIssgPlantIsFixed(@Nullable Boolean issgPlantIsFixed)
issgPlantIsFixed
- public void setPurOutlineAgreementIsFixed(@Nullable Boolean purOutlineAgreementIsFixed)
If you flag an outline agreement item as a fixed source, it will be determined in the course of the source determination process and the material entered can only be procured under this outline agreement when a purchase order is created.
purOutlineAgreementIsFixed
- public void setSourceOfSupplyIsFixed(@Nullable Boolean sourceOfSupplyIsFixed)
In the source determination process with regard to a purchase requisition or purchase order, the preferred source is suggested first.Only one source of the same type (i.e. supplier or outline agreement) may be preferred within a certain validity period.
sourceOfSupplyIsFixed
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<PurchasingSource>
public boolean equals(Object o)
equals
in class VdmObject<PurchasingSource>
public int hashCode()
hashCode
in class VdmObject<PurchasingSource>
Copyright © 2018 SAP SE. All rights reserved.