public class CntrlPurContrHdrDistribution extends VdmEntity<CntrlPurContrHdrDistribution>
Original entity name from the Odata EDM: A_CntrlPurContrHdrDistributionType
Modifier and Type | Class and Description |
---|---|
static class |
CntrlPurContrHdrDistribution.CntrlPurContrHdrDistributionBuilder
Helper class to allow for fluent creation of CntrlPurContrHdrDistribution instances.
|
Modifier and Type | Field and Description |
---|---|
static CntrlPurContrHdrDistributionSelectable |
ALL_FIELDS
Selector for all available fields of CntrlPurContrHdrDistribution.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
CENTRAL_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
CNTRL_PUR_CONTR_DISTR_CURRENCY
Use with available fluent helpers to apply the CntrlPurContrDistrCurrency field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CNTRL_PUR_CONTR_DISTRIBUTION_PCT
Use with available fluent helpers to apply the CntrlPurContrDistributionPct field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
CNTRL_PUR_CONTR_ITM_DISTR_AMT
Use with available fluent helpers to apply the CntrlPurContrItmDistrAmt field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
DISTRIBUTION_KEY
Use with available fluent helpers to apply the DistributionKey field to query operations.
|
static CntrlPurContrHdrDistributionField<Boolean> |
IS_DELETED
Use with available fluent helpers to apply the IsDeleted field to query operations.
|
static CntrlPurContrHdrDistributionField<BigDecimal> |
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCMT_HUB_COMPANY_CODE
Use with available fluent helpers to apply the ProcmtHubCompanyCode field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCMT_HUB_COMPANY_CODE_GROUPING_ID
Use with available fluent helpers to apply the ProcmtHubCompanyCodeGroupingID field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCMT_HUB_PLANT
Use with available fluent helpers to apply the ProcmtHubPlant field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCMT_HUB_PURCHASING_GROUP
Use with available fluent helpers to apply the ProcmtHubPurchasingGroup field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCMT_HUB_PURCHASING_ORG
Use with available fluent helpers to apply the ProcmtHubPurchasingOrg field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PROCUREMENT_HUB_SOURCE_SYSTEM
Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PURCHASING_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PURCHASING_DOCUMENT_TYPE
Use with available fluent helpers to apply the PurchasingDocumentType field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
PURCHASING_INFO_RECORD_UPDATE_CODE
Use with available fluent helpers to apply the PurchasingInfoRecordUpdateCode field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
REFERENCE_DISTRIBUTION_NUMBER
Use with available fluent helpers to apply the ReferenceDistributionNumber field to query operations.
|
static CntrlPurContrHdrDistributionField<Boolean> |
SOURCE_LIST_IS_UPDATED
Use with available fluent helpers to apply the SourceListIsUpdated field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
SOURCE_LIST_RESTRICTION
Use with available fluent helpers to apply the SourceListRestriction field to query operations.
|
static CntrlPurContrHdrDistributionField<String> |
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations.
|
static CntrlPurContrHdrDistributionOneToOneLink<CentralPurchaseContract> |
TO_CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query
operations.
|
static CntrlPurContrHdrDistributionLink<CntrlPurContrHeaderPartner> |
TO_CNTRL_PUR_CONTR_HEADER_PARTNER
Use with available fluent helpers to apply the to_CntrlPurContrHeaderPartner navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
CntrlPurContrHdrDistribution() |
CntrlPurContrHdrDistribution(String centralPurchaseContract,
String distributionKey,
String centralPurchaseContractItem,
String procmtHubCompanyCode,
String procmtHubPlant,
String procmtHubPurchasingOrg,
String procmtHubPurchasingGroup,
String procmtHubCompanyCodeGroupingID,
String cntrlPurContrDistrCurrency,
String paymentTerms,
BigDecimal cashDiscount1Days,
BigDecimal cashDiscount2Days,
BigDecimal netPaymentDays,
BigDecimal cashDiscount1Percent,
BigDecimal cashDiscount2Percent,
String purchasingDocumentCategory,
String purchasingDocumentType,
String storageLocation,
BigDecimal cntrlPurContrDistributionPct,
BigDecimal cntrlPurContrItmDistrAmt,
String procurementHubSourceSystem,
Boolean isDeleted,
String purchasingInfoRecordUpdateCode,
Boolean sourceListIsUpdated,
String sourceListRestriction,
String referenceDistributionNumber,
CentralPurchaseContract toCentralPurchaseContract,
List<CntrlPurContrHeaderPartner> toCntrlPurContrHeaderPartner) |
Modifier and Type | Method and Description |
---|---|
void |
addCntrlPurContrHeaderPartner(CntrlPurContrHeaderPartner... entity)
Adds elements to the list of associated CntrlPurContrHeaderPartner entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static CntrlPurContrHdrDistribution.CntrlPurContrHdrDistributionBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
CentralPurchaseContract |
fetchCentralPurchaseContract()
Fetches the CentralPurchaseContract entity (one to one) associated with this entity.
|
List<CntrlPurContrHeaderPartner> |
fetchCntrlPurContrHeaderPartner()
Fetches the CntrlPurContrHeaderPartner entities (one to many) associated with this entity.
|
static <T> CntrlPurContrHdrDistributionField<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) |
BigDecimal |
getCashDiscount1Days()
Constraints: Not nullable, Precision: 3, Scale: 0
|
BigDecimal |
getCashDiscount1Percent()
Constraints: Not nullable, Precision: 5, Scale: 3
|
BigDecimal |
getCashDiscount2Days()
Constraints: Not nullable, Precision: 3, Scale: 0
|
BigDecimal |
getCashDiscount2Percent()
Constraints: Not nullable, Precision: 5, Scale: 3
|
String |
getCentralPurchaseContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<CentralPurchaseContract> |
getCentralPurchaseContractIfPresent()
Retrieval of associated CentralPurchaseContract entity (one to one).
|
String |
getCentralPurchaseContractItem()
Constraints: Not nullable, Maximum length: 5
|
CentralPurchaseContract |
getCentralPurchaseContractOrFetch()
Retrieval of associated CentralPurchaseContract entity (one to one).
|
String |
getCntrlPurContrDistrCurrency()
Constraints: Not nullable, Maximum length: 5
|
BigDecimal |
getCntrlPurContrDistributionPct()
Constraints: Not nullable, Precision: 6, Scale: 3
|
io.vavr.control.Option<List<CntrlPurContrHeaderPartner>> |
getCntrlPurContrHeaderPartnerIfPresent()
Retrieval of associated CntrlPurContrHeaderPartner entities (one to many).
|
List<CntrlPurContrHeaderPartner> |
getCntrlPurContrHeaderPartnerOrFetch()
Retrieval of associated CntrlPurContrHeaderPartner entities (one to many).
|
BigDecimal |
getCntrlPurContrItmDistrAmt()
Constraints: Not nullable, Precision: 16, Scale: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistributionKey()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
Boolean |
getIsDeleted()
Constraints: none
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getNetPaymentDays()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
String |
getProcmtHubCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getProcmtHubCompanyCodeGroupingID()
Constraints: Not nullable, Maximum length: 3
|
String |
getProcmtHubPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getProcmtHubPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getProcmtHubPurchasingOrg()
Constraints: Not nullable, Maximum length: 4
|
String |
getProcurementHubSourceSystem()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchasingDocumentCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocumentType()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingInfoRecordUpdateCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getReferenceDistributionNumber()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getSourceListIsUpdated()
Constraints: none
|
String |
getSourceListRestriction()
Constraints: Not nullable, Maximum length: 2
|
String |
getStorageLocation()
Constraints: Not nullable, Maximum length: 4
|
Class<CntrlPurContrHdrDistribution> |
getType() |
int |
hashCode() |
void |
setCashDiscount1Days(BigDecimal cashDiscount1Days)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setCashDiscount1Percent(BigDecimal cashDiscount1Percent)
Constraints: Not nullable, Precision: 5, Scale: 3
|
void |
setCashDiscount2Days(BigDecimal cashDiscount2Days)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setCashDiscount2Percent(BigDecimal cashDiscount2Percent)
Constraints: Not nullable, Precision: 5, Scale: 3
|
void |
setCentralPurchaseContract(CentralPurchaseContract value)
Overwrites the associated CentralPurchaseContract entity for the loaded navigation property
to_CentralPurchaseContract.
|
void |
setCentralPurchaseContract(String centralPurchaseContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCentralPurchaseContractItem(String centralPurchaseContractItem)
Constraints: Not nullable, Maximum length: 5
|
void |
setCntrlPurContrDistrCurrency(String cntrlPurContrDistrCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCntrlPurContrDistributionPct(BigDecimal cntrlPurContrDistributionPct)
Constraints: Not nullable, Precision: 6, Scale: 3
|
void |
setCntrlPurContrHeaderPartner(List<CntrlPurContrHeaderPartner> value)
Overwrites the list of associated CntrlPurContrHeaderPartner entities for the loaded navigation property
to_CntrlPurContrHeaderPartner.
|
void |
setCntrlPurContrItmDistrAmt(BigDecimal cntrlPurContrItmDistrAmt)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setDistributionKey(String distributionKey)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setIsDeleted(Boolean isDeleted)
Constraints: none
|
void |
setNetPaymentDays(BigDecimal netPaymentDays)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setPaymentTerms(String paymentTerms)
Constraints: Not nullable, Maximum length: 4
|
void |
setProcmtHubCompanyCode(String procmtHubCompanyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setProcmtHubCompanyCodeGroupingID(String procmtHubCompanyCodeGroupingID)
Constraints: Not nullable, Maximum length: 3
|
void |
setProcmtHubPlant(String procmtHubPlant)
Constraints: Not nullable, Maximum length: 4
|
void |
setProcmtHubPurchasingGroup(String procmtHubPurchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setProcmtHubPurchasingOrg(String procmtHubPurchasingOrg)
Constraints: Not nullable, Maximum length: 4
|
void |
setProcurementHubSourceSystem(String procurementHubSourceSystem)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchasingDocumentCategory(String purchasingDocumentCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingDocumentType(String purchasingDocumentType)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingInfoRecordUpdateCode(String purchasingInfoRecordUpdateCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setReferenceDistributionNumber(String referenceDistributionNumber)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSourceListIsUpdated(Boolean sourceListIsUpdated)
Constraints: none
|
void |
setSourceListRestriction(String sourceListRestriction)
Constraints: Not nullable, Maximum length: 2
|
void |
setStorageLocation(String storageLocation)
Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final CntrlPurContrHdrDistributionSelectable ALL_FIELDS
public static final CntrlPurContrHdrDistributionField<String> CENTRAL_PURCHASE_CONTRACT
public static final CntrlPurContrHdrDistributionField<String> DISTRIBUTION_KEY
public static final CntrlPurContrHdrDistributionField<String> CENTRAL_PURCHASE_CONTRACT_ITEM
public static final CntrlPurContrHdrDistributionField<String> PROCMT_HUB_COMPANY_CODE
public static final CntrlPurContrHdrDistributionField<String> PROCMT_HUB_PLANT
public static final CntrlPurContrHdrDistributionField<String> PROCMT_HUB_PURCHASING_ORG
public static final CntrlPurContrHdrDistributionField<String> PROCMT_HUB_PURCHASING_GROUP
public static final CntrlPurContrHdrDistributionField<String> PROCMT_HUB_COMPANY_CODE_GROUPING_ID
public static final CntrlPurContrHdrDistributionField<String> CNTRL_PUR_CONTR_DISTR_CURRENCY
public static final CntrlPurContrHdrDistributionField<String> PAYMENT_TERMS
public static final CntrlPurContrHdrDistributionField<BigDecimal> CASH_DISCOUNT1_DAYS
public static final CntrlPurContrHdrDistributionField<BigDecimal> CASH_DISCOUNT2_DAYS
public static final CntrlPurContrHdrDistributionField<BigDecimal> NET_PAYMENT_DAYS
public static final CntrlPurContrHdrDistributionField<BigDecimal> CASH_DISCOUNT1_PERCENT
public static final CntrlPurContrHdrDistributionField<BigDecimal> CASH_DISCOUNT2_PERCENT
public static final CntrlPurContrHdrDistributionField<String> PURCHASING_DOCUMENT_CATEGORY
public static final CntrlPurContrHdrDistributionField<String> PURCHASING_DOCUMENT_TYPE
public static final CntrlPurContrHdrDistributionField<String> STORAGE_LOCATION
public static final CntrlPurContrHdrDistributionField<BigDecimal> CNTRL_PUR_CONTR_DISTRIBUTION_PCT
public static final CntrlPurContrHdrDistributionField<BigDecimal> CNTRL_PUR_CONTR_ITM_DISTR_AMT
public static final CntrlPurContrHdrDistributionField<String> PROCUREMENT_HUB_SOURCE_SYSTEM
public static final CntrlPurContrHdrDistributionField<Boolean> IS_DELETED
public static final CntrlPurContrHdrDistributionField<String> PURCHASING_INFO_RECORD_UPDATE_CODE
public static final CntrlPurContrHdrDistributionField<Boolean> SOURCE_LIST_IS_UPDATED
public static final CntrlPurContrHdrDistributionField<String> SOURCE_LIST_RESTRICTION
public static final CntrlPurContrHdrDistributionField<String> REFERENCE_DISTRIBUTION_NUMBER
public static final CntrlPurContrHdrDistributionOneToOneLink<CentralPurchaseContract> TO_CENTRAL_PURCHASE_CONTRACT
public static final CntrlPurContrHdrDistributionLink<CntrlPurContrHeaderPartner> TO_CNTRL_PUR_CONTR_HEADER_PARTNER
public CntrlPurContrHdrDistribution()
public CntrlPurContrHdrDistribution(@Nullable String centralPurchaseContract, @Nullable String distributionKey, @Nullable String centralPurchaseContractItem, @Nullable String procmtHubCompanyCode, @Nullable String procmtHubPlant, @Nullable String procmtHubPurchasingOrg, @Nullable String procmtHubPurchasingGroup, @Nullable String procmtHubCompanyCodeGroupingID, @Nullable String cntrlPurContrDistrCurrency, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentType, @Nullable String storageLocation, @Nullable BigDecimal cntrlPurContrDistributionPct, @Nullable BigDecimal cntrlPurContrItmDistrAmt, @Nullable String procurementHubSourceSystem, @Nullable Boolean isDeleted, @Nullable String purchasingInfoRecordUpdateCode, @Nullable Boolean sourceListIsUpdated, @Nullable String sourceListRestriction, @Nullable String referenceDistributionNumber, @Nullable CentralPurchaseContract toCentralPurchaseContract, List<CntrlPurContrHeaderPartner> toCntrlPurContrHeaderPartner)
@Nonnull public Class<CntrlPurContrHdrDistribution> getType()
getType
in class VdmObject<CntrlPurContrHdrDistribution>
public void setCentralPurchaseContract(@Nullable String centralPurchaseContract)
Original property name from the Odata EDM: CentralPurchaseContract
centralPurchaseContract
- Alphanumeric key uniquely identifying the document.public void setDistributionKey(@Nullable String distributionKey)
Original property name from the Odata EDM: DistributionKey
distributionKey
- Distribution Number of Central Purchasing Documentpublic void setCentralPurchaseContractItem(@Nullable String centralPurchaseContractItem)
Original property name from the Odata EDM: CentralPurchaseContractItem
centralPurchaseContractItem
- Specifies the number that uniquely identifies an item in .public void setProcmtHubCompanyCode(@Nullable String procmtHubCompanyCode)
Original property name from the Odata EDM: ProcmtHubCompanyCode
procmtHubCompanyCode
- The company code is an organizational unit within financial accounting.public void setProcmtHubPlant(@Nullable String procmtHubPlant)
Original property name from the Odata EDM: ProcmtHubPlant
You use the plant key to determine, for instance, which plant is to receive ordered goods.
procmtHubPlant
- Specifies the key for a production facility or branch office within the company (that is, the company
code).public void setProcmtHubPurchasingOrg(@Nullable String procmtHubPurchasingOrg)
Original property name from the Odata EDM: ProcmtHubPurchasingOrg
procmtHubPurchasingOrg
- Denotes the purchasing organization.public void setProcmtHubPurchasingGroup(@Nullable String procmtHubPurchasingGroup)
Original property name from the Odata EDM: ProcmtHubPurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
procmtHubPurchasingGroup
- Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities.public void setProcmtHubCompanyCodeGroupingID(@Nullable String procmtHubCompanyCodeGroupingID)
Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID
It stores the grouping ID of the company codes.
procmtHubCompanyCodeGroupingID
- The ID of the collection under which company codes of different connected systems are grouped.public void setCntrlPurContrDistrCurrency(@Nullable String cntrlPurContrDistrCurrency)
Original property name from the Odata EDM: CntrlPurContrDistrCurrency
cntrlPurContrDistrCurrency
- Currency key for amounts in the system.public void setPaymentTerms(@Nullable String paymentTerms)
Original property name from the Odata EDM: PaymentTerms
It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record.
paymentTerms
- Key for defining payment terms composed of cash discount percentages and payment periods.public void setCashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
Original property name from the Odata EDM: CashDiscount1Days
cashDiscount1Days
- Period within which a payment must be made in order to take advantage of the first cash discount
terms.public void setCashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
Original property name from the Odata EDM: CashDiscount2Days
cashDiscount2Days
- Period within which a payment must be made in order to take advantage of the second cash discount
terms.public void setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
Original property name from the Odata EDM: NetPaymentDays
netPaymentDays
- Standard settlement period (in days).public void setCashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
Original property name from the Odata EDM: CashDiscount1Percent
cashDiscount1Percent
- Cash discount percentage rate applied to the shortest payment period.public void setCashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
Original property name from the Odata EDM: CashDiscount2Percent
cashDiscount2Percent
- Cash discount percentage rate applied to the second payment period.public void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
Original property name from the Odata EDM: PurchasingDocumentCategory
purchasingDocumentCategory
- Allows a distinction to be made between the various purchasing documents.public void setPurchasingDocumentType(@Nullable String purchasingDocumentType)
Original property name from the Odata EDM: PurchasingDocumentType
On the basis of the purchasing document type, you can, for example, distinguish between a purchase order, an RFQ and a scheduling agreement.The purchasing document type controls, for instance, the number assignment of a purchase order, as well as the selection of the fields to be maintained.
purchasingDocumentType
- Identifier allowing differentiation between the various kinds of purchasing document in the SAP
system.public void setStorageLocation(@Nullable String storageLocation)
Original property name from the Odata EDM: StorageLocation
storageLocation
- Number of the storage location in which the material is stored. A plant may contain one or more
storage locations.public void setCntrlPurContrDistributionPct(@Nullable BigDecimal cntrlPurContrDistributionPct)
Original property name from the Odata EDM: CntrlPurContrDistributionPct
cntrlPurContrDistributionPct
- Distribution Percentage in Central Purchasing Documentpublic void setCntrlPurContrItmDistrAmt(@Nullable BigDecimal cntrlPurContrItmDistrAmt)
Original property name from the Odata EDM: CntrlPurContrItmDistrAmt
You specify this value manually for each distribution at header level of the central contract.If the specified value is exceeded, the user sees a message when creating the contract release order.
cntrlPurContrItmDistrAmt
- Displays the target value that is entered for each distribution at header level for a central
contract.public void setProcurementHubSourceSystem(@Nullable String procurementHubSourceSystem)
Original property name from the Odata EDM: ProcurementHubSourceSystem
The distribution of data between systems requires that each system in the network has a unique identification. Logical systems are used for this purpose.In SAP terms, the client refers to a logical system. You can specify which logical system is a client in the Client Maintenance (choose Goto -> Details).The logical system is relevant for the following SAP areas:ALE general: Communication takes place between two or more logical systems.ALE Business Processes (for example, Cost Center Accounting): Definition of the system in which a given application runs. Changes such as those to master data can only be made in this system.Workflow objects: The key of a workflow object always contains the logical system in which the object is located.When defining the logical system keep in mind the following:The logical system must be unique enterprise-wide. It must not be used by any other system in the ALE System group.The logical system must not be changed in the production system. If the logical system of a document reference is not set to initial and does not match your own, the system assumes that the document must be located on another system.
procurementHubSourceSystem
- System in which integrated applications are running on a common data basis.public void setIsDeleted(@Nullable Boolean isDeleted)
Original property name from the Odata EDM: IsDeleted
isDeleted
- Boolean Variable (X = True, - = False, Space = Unknown)public void setPurchasingInfoRecordUpdateCode(@Nullable String purchasingInfoRecordUpdateCode)
Original property name from the Odata EDM: PurchasingInfoRecordUpdateCode
The purchasing info record for this supplier and material is to refer to this PO item, andThe item is to be valid for the entire purchasing organization or just for the plant.The indicator determines which prices and conditions are suggested in future PO items.Prices and conditions can apply to an entire purchasing organization or to a single plant within a purchasing organization.For example, if you create a purchase order for a plant for which an info record has been defined at plant level, the purchase order is based on the conditions in the plant info record and not on the conditions that apply to the purchasing organization.Enter the relevant plant key:AUpdating of the document number is effected at plant level as long as there is a purchasing info record at plant level. Otherwise the document number is updated at purchasing organization level.BUpdating is effected at plant level if plant conditions are allowed for the plant.CUpdating is effected without plant data if plant conditions are not necessary for the plant.The level at which updating of the document number may be effected is defined for each plant.
purchasingInfoRecordUpdateCode
- Determines whether:public void setSourceListIsUpdated(@Nullable Boolean sourceListIsUpdated)
Original property name from the Odata EDM: SourceListIsUpdated
sourceListIsUpdated
- Checkboxpublic void setSourceListRestriction(@Nullable String sourceListRestriction)
Original property name from the Odata EDM: SourceListRestriction
sourceListRestriction
- Source List Restriction Indicatorpublic void setReferenceDistributionNumber(@Nullable String referenceDistributionNumber)
Original property name from the Odata EDM: ReferenceDistributionNumber
referenceDistributionNumber
- Distribution Number of Central Purchasing Documentprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CntrlPurContrHdrDistribution>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CntrlPurContrHdrDistribution>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CntrlPurContrHdrDistribution>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CntrlPurContrHdrDistribution>
@Nonnull public static <T> CntrlPurContrHdrDistributionField<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> CntrlPurContrHdrDistributionField<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<CntrlPurContrHdrDistribution>
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<CntrlPurContrHdrDistribution>
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<CntrlPurContrHdrDistribution>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<CntrlPurContrHdrDistribution>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CntrlPurContrHdrDistribution>
@Nullable public CentralPurchaseContract fetchCentralPurchaseContract() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public CentralPurchaseContract getCentralPurchaseContractOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CentralPurchaseContract of a queried CntrlPurContrHdrDistribution is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<CentralPurchaseContract> getCentralPurchaseContractIfPresent()
If the navigation property for an entity CntrlPurContrHdrDistribution has not been resolved yet, this
method will not query further information. Instead its Option
result state will be
empty
.
Option
with result
state empty
is returned.public void setCentralPurchaseContract(CentralPurchaseContract value)
value
- New CentralPurchaseContract entity.@Nonnull public List<CntrlPurContrHeaderPartner> fetchCntrlPurContrHeaderPartner() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<CntrlPurContrHeaderPartner> getCntrlPurContrHeaderPartnerOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<CntrlPurContrHeaderPartner>> getCntrlPurContrHeaderPartnerIfPresent()
If the navigation property for an entity CntrlPurContrHdrDistribution has not been resolved yet, this
method will not query further information. Instead its Option
result state will be
empty
.
Option
with
result state empty
is returned.public void setCntrlPurContrHeaderPartner(@Nonnull List<CntrlPurContrHeaderPartner> value)
If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of CntrlPurContrHeaderPartner entities.public void addCntrlPurContrHeaderPartner(CntrlPurContrHeaderPartner... entity)
If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of CntrlPurContrHeaderPartner entities.@Nonnull public static CntrlPurContrHdrDistribution.CntrlPurContrHdrDistributionBuilder builder()
@Nullable public String getCentralPurchaseContract()
Original property name from the Odata EDM: CentralPurchaseContract
@Nullable public String getDistributionKey()
Original property name from the Odata EDM: DistributionKey
@Nullable public String getCentralPurchaseContractItem()
Original property name from the Odata EDM: CentralPurchaseContractItem
@Nullable public String getProcmtHubCompanyCode()
Original property name from the Odata EDM: ProcmtHubCompanyCode
@Nullable public String getProcmtHubPlant()
Original property name from the Odata EDM: ProcmtHubPlant
You use the plant key to determine, for instance, which plant is to receive ordered goods.
@Nullable public String getProcmtHubPurchasingOrg()
Original property name from the Odata EDM: ProcmtHubPurchasingOrg
@Nullable public String getProcmtHubPurchasingGroup()
Original property name from the Odata EDM: ProcmtHubPurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
@Nullable public String getProcmtHubCompanyCodeGroupingID()
Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID
It stores the grouping ID of the company codes.
@Nullable public String getCntrlPurContrDistrCurrency()
Original property name from the Odata EDM: CntrlPurContrDistrCurrency
@Nullable public String getPaymentTerms()
Original property name from the Odata EDM: PaymentTerms
It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record.
@Nullable public BigDecimal getCashDiscount1Days()
Original property name from the Odata EDM: CashDiscount1Days
@Nullable public BigDecimal getCashDiscount2Days()
Original property name from the Odata EDM: CashDiscount2Days
@Nullable public BigDecimal getNetPaymentDays()
Original property name from the Odata EDM: NetPaymentDays
@Nullable public BigDecimal getCashDiscount1Percent()
Original property name from the Odata EDM: CashDiscount1Percent
@Nullable public BigDecimal getCashDiscount2Percent()
Original property name from the Odata EDM: CashDiscount2Percent
@Nullable public String getPurchasingDocumentCategory()
Original property name from the Odata EDM: PurchasingDocumentCategory
@Nullable public String getPurchasingDocumentType()
Original property name from the Odata EDM: PurchasingDocumentType
On the basis of the purchasing document type, you can, for example, distinguish between a purchase order, an RFQ and a scheduling agreement.The purchasing document type controls, for instance, the number assignment of a purchase order, as well as the selection of the fields to be maintained.
@Nullable public String getStorageLocation()
Original property name from the Odata EDM: StorageLocation
@Nullable public BigDecimal getCntrlPurContrDistributionPct()
Original property name from the Odata EDM: CntrlPurContrDistributionPct
@Nullable public BigDecimal getCntrlPurContrItmDistrAmt()
Original property name from the Odata EDM: CntrlPurContrItmDistrAmt
You specify this value manually for each distribution at header level of the central contract.If the specified value is exceeded, the user sees a message when creating the contract release order.
@Nullable public String getProcurementHubSourceSystem()
Original property name from the Odata EDM: ProcurementHubSourceSystem
The distribution of data between systems requires that each system in the network has a unique identification. Logical systems are used for this purpose.In SAP terms, the client refers to a logical system. You can specify which logical system is a client in the Client Maintenance (choose Goto -> Details).The logical system is relevant for the following SAP areas:ALE general: Communication takes place between two or more logical systems.ALE Business Processes (for example, Cost Center Accounting): Definition of the system in which a given application runs. Changes such as those to master data can only be made in this system.Workflow objects: The key of a workflow object always contains the logical system in which the object is located.When defining the logical system keep in mind the following:The logical system must be unique enterprise-wide. It must not be used by any other system in the ALE System group.The logical system must not be changed in the production system. If the logical system of a document reference is not set to initial and does not match your own, the system assumes that the document must be located on another system.
@Nullable public Boolean getIsDeleted()
Original property name from the Odata EDM: IsDeleted
@Nullable public String getPurchasingInfoRecordUpdateCode()
Original property name from the Odata EDM: PurchasingInfoRecordUpdateCode
The purchasing info record for this supplier and material is to refer to this PO item, andThe item is to be valid for the entire purchasing organization or just for the plant.The indicator determines which prices and conditions are suggested in future PO items.Prices and conditions can apply to an entire purchasing organization or to a single plant within a purchasing organization.For example, if you create a purchase order for a plant for which an info record has been defined at plant level, the purchase order is based on the conditions in the plant info record and not on the conditions that apply to the purchasing organization.Enter the relevant plant key:AUpdating of the document number is effected at plant level as long as there is a purchasing info record at plant level. Otherwise the document number is updated at purchasing organization level.BUpdating is effected at plant level if plant conditions are allowed for the plant.CUpdating is effected without plant data if plant conditions are not necessary for the plant.The level at which updating of the document number may be effected is defined for each plant.
@Nullable public Boolean getSourceListIsUpdated()
Original property name from the Odata EDM: SourceListIsUpdated
@Nullable public String getSourceListRestriction()
Original property name from the Odata EDM: SourceListRestriction
@Nullable public String getReferenceDistributionNumber()
Original property name from the Odata EDM: ReferenceDistributionNumber
@Nonnull public String toString()
toString
in class VdmObject<CntrlPurContrHdrDistribution>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CntrlPurContrHdrDistribution>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CntrlPurContrHdrDistribution>
public int hashCode()
hashCode
in class VdmObject<CntrlPurContrHdrDistribution>
Copyright © 2021 SAP SE. All rights reserved.