public class CentralPurchaseContract extends VdmEntity<CentralPurchaseContract>
Original entity name from the Odata EDM: A_CentralPurchaseContractType
Modifier and Type | Class and Description |
---|---|
static class |
CentralPurchaseContract.CentralPurchaseContractBuilder
Helper class to allow for fluent creation of CentralPurchaseContract instances.
|
Modifier and Type | Field and Description |
---|---|
static CentralPurchaseContractSelectable |
ALL_FIELDS
Selector for all available fields of CentralPurchaseContract.
|
static CentralPurchaseContractField<BigDecimal> |
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
|
static CentralPurchaseContractField<BigDecimal> |
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
|
static CentralPurchaseContractField<BigDecimal> |
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
|
static CentralPurchaseContractField<BigDecimal> |
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
|
static CentralPurchaseContractField<String> |
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.
|
static CentralPurchaseContractField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CentralPurchaseContractField<String> |
CORRESPNC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.
|
static CentralPurchaseContractField<String> |
CORRESPNC_INTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.
|
static CentralPurchaseContractField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static CentralPurchaseContractField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static CentralPurchaseContractField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static CentralPurchaseContractField<String> |
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations.
|
static CentralPurchaseContractField<Boolean> |
EXCHANGE_RATE_IS_FIXED
Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.
|
static CentralPurchaseContractField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static CentralPurchaseContractField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static CentralPurchaseContractField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static CentralPurchaseContractField<String> |
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
|
static CentralPurchaseContractField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static CentralPurchaseContractField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static CentralPurchaseContractField<BigDecimal> |
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations.
|
static CentralPurchaseContractField<String> |
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations.
|
static CentralPurchaseContractField<BigDecimal> |
PURCHASE_CONTRACT_TARGET_AMOUNT
Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASE_CONTRACT_TYPE
Use with available fluent helpers to apply the PurchaseContractType field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_DOC_VERSION_REASON_CODE
Use with available fluent helpers to apply the PurchasingDocVersionReasonCode field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static CentralPurchaseContractField<String> |
PURCHASING_PROCESSING_STATUS
Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations.
|
static CentralPurchaseContractField<Boolean> |
PURG_CONTRACT_IS_IN_PREPARATION
Use with available fluent helpers to apply the PurgContractIsInPreparation field to query operations.
|
static CentralPurchaseContractField<LocalDateTime> |
QUOTATION_SUBMISSION_DATE
Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.
|
static CentralPurchaseContractField<String> |
RELEASE_CODE
Use with available fluent helpers to apply the ReleaseCode field to query operations.
|
static CentralPurchaseContractField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static CentralPurchaseContractField<String> |
SUPPLIER_PHONE_NUMBER
Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.
|
static CentralPurchaseContractField<String> |
SUPPLIER_QUOTATION
Use with available fluent helpers to apply the SupplierQuotation field to query operations.
|
static CentralPurchaseContractField<String> |
SUPPLIER_RESP_SALES_PERSON_NAME
Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.
|
static CentralPurchaseContractField<String> |
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier field to query operations.
|
static CentralPurchaseContractLink<CntrlPurchaseContractItem> |
TO_CENTRAL_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the to_CentralPurchaseContractItem navigation property to query
operations.
|
static CentralPurchaseContractLink<CntrlPurContrDistrMessages> |
TO_CNTRL_PUR_CONTR_DISTR_MESSAGES
Use with available fluent helpers to apply the to_CntrlPurContrDistrMessages navigation property to query
operations.
|
static CentralPurchaseContractLink<CntrlPurContractHeaderNotes> |
TO_CNTRL_PUR_CONTR_HDR_NOTES
Use with available fluent helpers to apply the to_CntrlPurContrHdrNotes navigation property to query
operations.
|
static CentralPurchaseContractLink<CntrlPurContrVersionHistory> |
TO_CNTRL_PUR_CONTR_VERSION_HISTORY
Use with available fluent helpers to apply the to_CntrlPurContrVersionHistory navigation property to query
operations.
|
static CentralPurchaseContractField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static CentralPurchaseContractField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CentralPurchaseContract() |
CentralPurchaseContract(String centralPurchaseContract,
String purchaseContractType,
String purchasingDocumentCategory,
String supplier,
String companyCode,
String purchasingOrganization,
String purchasingGroup,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String documentCurrency,
ZonedDateTime lastChangeDateTime,
LocalDateTime creationDate,
String paymentTerms,
BigDecimal cashDiscount1Days,
BigDecimal cashDiscount2Days,
BigDecimal cashDiscount1Percent,
BigDecimal cashDiscount2Percent,
BigDecimal netPaymentDays,
String incotermsClassification,
String incotermsTransferLocation,
String incotermsVersion,
String incotermsLocation1,
String incotermsLocation2,
BigDecimal purchaseContractTargetAmount,
String exchangeRate,
Boolean exchangeRateIsFixed,
String supplyingSupplier,
LocalDateTime quotationSubmissionDate,
String supplierQuotation,
String correspncExternalReference,
String correspncInternalReference,
String supplierRespSalesPersonName,
String supplierPhoneNumber,
String releaseCode,
String createdByUser,
String purchasingDocumentDeletionCode,
String purchasingProcessingStatus,
Boolean purgContractIsInPreparation,
String purchasingDocVersionReasonCode,
List<CntrlPurchaseContractItem> toCentralPurchaseContractItem,
List<CntrlPurContrDistrMessages> toCntrlPurContrDistrMessages,
List<CntrlPurContractHeaderNotes> toCntrlPurContrHdrNotes,
List<CntrlPurContrVersionHistory> toCntrlPurContrVersionHistory) |
Modifier and Type | Method and Description |
---|---|
void |
addCentralPurchaseContractItem(CntrlPurchaseContractItem... entity)
Adds elements to the list of associated CntrlPurchaseContractItem entities.
|
void |
addCntrlPurContrDistrMessages(CntrlPurContrDistrMessages... entity)
Adds elements to the list of associated CntrlPurContrDistrMessages entities.
|
void |
addCntrlPurContrHdrNotes(CntrlPurContractHeaderNotes... entity)
Adds elements to the list of associated CntrlPurContractHeaderNotes entities.
|
void |
addCntrlPurContrVersionHistory(CntrlPurContrVersionHistory... entity)
Adds elements to the list of associated CntrlPurContrVersionHistory entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static CentralPurchaseContract.CentralPurchaseContractBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<CntrlPurchaseContractItem> |
fetchCentralPurchaseContractItem()
Fetches the CntrlPurchaseContractItem entities (one to many) associated with this entity.
|
List<CntrlPurContrDistrMessages> |
fetchCntrlPurContrDistrMessages()
Fetches the CntrlPurContrDistrMessages entities (one to many) associated with this entity.
|
List<CntrlPurContractHeaderNotes> |
fetchCntrlPurContrHdrNotes()
Fetches the CntrlPurContractHeaderNotes entities (one to many) associated with this entity.
|
List<CntrlPurContrVersionHistory> |
fetchCntrlPurContrVersionHistory()
Fetches the CntrlPurContrVersionHistory entities (one to many) associated with this entity.
|
static <T> CentralPurchaseContractField<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<List<CntrlPurchaseContractItem>> |
getCentralPurchaseContractItemIfPresent()
Retrieval of associated CntrlPurchaseContractItem entities (one to many).
|
List<CntrlPurchaseContractItem> |
getCentralPurchaseContractItemOrFetch()
Retrieval of associated CntrlPurchaseContractItem entities (one to many).
|
io.vavr.control.Option<List<CntrlPurContrDistrMessages>> |
getCntrlPurContrDistrMessagesIfPresent()
Retrieval of associated CntrlPurContrDistrMessages entities (one to many).
|
List<CntrlPurContrDistrMessages> |
getCntrlPurContrDistrMessagesOrFetch()
Retrieval of associated CntrlPurContrDistrMessages entities (one to many).
|
io.vavr.control.Option<List<CntrlPurContractHeaderNotes>> |
getCntrlPurContrHdrNotesIfPresent()
Retrieval of associated CntrlPurContractHeaderNotes entities (one to many).
|
List<CntrlPurContractHeaderNotes> |
getCntrlPurContrHdrNotesOrFetch()
Retrieval of associated CntrlPurContractHeaderNotes entities (one to many).
|
io.vavr.control.Option<List<CntrlPurContrVersionHistory>> |
getCntrlPurContrVersionHistoryIfPresent()
Retrieval of associated CntrlPurContrVersionHistory entities (one to many).
|
List<CntrlPurContrVersionHistory> |
getCntrlPurContrVersionHistoryOrFetch()
Retrieval of associated CntrlPurContrVersionHistory entities (one to many).
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getCorrespncExternalReference()
Constraints: Not nullable, Maximum length: 12
|
String |
getCorrespncInternalReference()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
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 |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getExchangeRate()
Constraints: Not nullable, Maximum length: 12
|
Boolean |
getExchangeRateIsFixed()
Constraints: none
|
String |
getIncotermsClassification()
Constraints: Not nullable, Maximum length: 3
|
String |
getIncotermsLocation1()
Constraints: Not nullable, Maximum length: 70
|
String |
getIncotermsLocation2()
Constraints: Not nullable, Maximum length: 70
|
String |
getIncotermsTransferLocation()
Constraints: Not nullable, Maximum length: 28
|
String |
getIncotermsVersion()
Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
BigDecimal |
getNetPaymentDays()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getPurchaseContractTargetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getPurchaseContractType()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingDocumentCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocumentDeletionCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocVersionReasonCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingProcessingStatus()
Constraints: Not nullable, Maximum length: 2
|
Boolean |
getPurgContractIsInPreparation()
Constraints: none
|
LocalDateTime |
getQuotationSubmissionDate()
Constraints: Not nullable, Precision: 0
|
String |
getReleaseCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierPhoneNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getSupplierQuotation()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierRespSalesPersonName()
Constraints: Not nullable, Maximum length: 30
|
String |
getSupplyingSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<CentralPurchaseContract> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
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(String centralPurchaseContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCentralPurchaseContractItem(List<CntrlPurchaseContractItem> value)
Overwrites the list of associated CntrlPurchaseContractItem entities for the loaded navigation property
to_CentralPurchaseContractItem.
|
void |
setCntrlPurContrDistrMessages(List<CntrlPurContrDistrMessages> value)
Overwrites the list of associated CntrlPurContrDistrMessages entities for the loaded navigation property
to_CntrlPurContrDistrMessages.
|
void |
setCntrlPurContrHdrNotes(List<CntrlPurContractHeaderNotes> value)
Overwrites the list of associated CntrlPurContractHeaderNotes entities for the loaded navigation property
to_CntrlPurContrHdrNotes.
|
void |
setCntrlPurContrVersionHistory(List<CntrlPurContrVersionHistory> value)
Overwrites the list of associated CntrlPurContrVersionHistory entities for the loaded navigation property
to_CntrlPurContrVersionHistory.
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setCorrespncExternalReference(String correspncExternalReference)
Constraints: Not nullable, Maximum length: 12
|
void |
setCorrespncInternalReference(String correspncInternalReference)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setDocumentCurrency(String documentCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setExchangeRate(String exchangeRate)
Constraints: Not nullable, Maximum length: 12
|
void |
setExchangeRateIsFixed(Boolean exchangeRateIsFixed)
Constraints: none
|
void |
setIncotermsClassification(String incotermsClassification)
Constraints: Not nullable, Maximum length: 3
|
void |
setIncotermsLocation1(String incotermsLocation1)
Constraints: Not nullable, Maximum length: 70
|
void |
setIncotermsLocation2(String incotermsLocation2)
Constraints: Not nullable, Maximum length: 70
|
void |
setIncotermsTransferLocation(String incotermsTransferLocation)
Constraints: Not nullable, Maximum length: 28
|
void |
setIncotermsVersion(String incotermsVersion)
Constraints: Not nullable, Maximum length: 4
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setNetPaymentDays(BigDecimal netPaymentDays)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setPaymentTerms(String paymentTerms)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchaseContractTargetAmount(BigDecimal purchaseContractTargetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setPurchaseContractType(String purchaseContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingDocumentCategory(String purchasingDocumentCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingDocVersionReasonCode(String purchasingDocVersionReasonCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingGroup(String purchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurchasingOrganization(String purchasingOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingProcessingStatus(String purchasingProcessingStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setPurgContractIsInPreparation(Boolean purgContractIsInPreparation)
Constraints: none
|
void |
setQuotationSubmissionDate(LocalDateTime quotationSubmissionDate)
Constraints: Not nullable, Precision: 0
|
void |
setReleaseCode(String releaseCode)
Constraints: Not nullable, Maximum length: 1
|
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
|
void |
setSupplierPhoneNumber(String supplierPhoneNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setSupplierQuotation(String supplierQuotation)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierRespSalesPersonName(String supplierRespSalesPersonName)
Constraints: Not nullable, Maximum length: 30
|
void |
setSupplyingSupplier(String supplyingSupplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
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 CentralPurchaseContractSelectable ALL_FIELDS
public static final CentralPurchaseContractField<String> CENTRAL_PURCHASE_CONTRACT
public static final CentralPurchaseContractField<String> PURCHASE_CONTRACT_TYPE
public static final CentralPurchaseContractField<String> PURCHASING_DOCUMENT_CATEGORY
public static final CentralPurchaseContractField<String> SUPPLIER
public static final CentralPurchaseContractField<String> COMPANY_CODE
public static final CentralPurchaseContractField<String> PURCHASING_ORGANIZATION
public static final CentralPurchaseContractField<String> PURCHASING_GROUP
public static final CentralPurchaseContractField<LocalDateTime> VALIDITY_START_DATE
public static final CentralPurchaseContractField<LocalDateTime> VALIDITY_END_DATE
public static final CentralPurchaseContractField<String> DOCUMENT_CURRENCY
public static final CentralPurchaseContractField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final CentralPurchaseContractField<LocalDateTime> CREATION_DATE
public static final CentralPurchaseContractField<String> PAYMENT_TERMS
public static final CentralPurchaseContractField<BigDecimal> CASH_DISCOUNT1_DAYS
public static final CentralPurchaseContractField<BigDecimal> CASH_DISCOUNT2_DAYS
public static final CentralPurchaseContractField<BigDecimal> CASH_DISCOUNT1_PERCENT
public static final CentralPurchaseContractField<BigDecimal> CASH_DISCOUNT2_PERCENT
public static final CentralPurchaseContractField<BigDecimal> NET_PAYMENT_DAYS
public static final CentralPurchaseContractField<String> INCOTERMS_CLASSIFICATION
public static final CentralPurchaseContractField<String> INCOTERMS_TRANSFER_LOCATION
public static final CentralPurchaseContractField<String> INCOTERMS_VERSION
public static final CentralPurchaseContractField<String> INCOTERMS_LOCATION1
public static final CentralPurchaseContractField<String> INCOTERMS_LOCATION2
public static final CentralPurchaseContractField<BigDecimal> PURCHASE_CONTRACT_TARGET_AMOUNT
public static final CentralPurchaseContractField<String> EXCHANGE_RATE
public static final CentralPurchaseContractField<Boolean> EXCHANGE_RATE_IS_FIXED
public static final CentralPurchaseContractField<String> SUPPLYING_SUPPLIER
public static final CentralPurchaseContractField<LocalDateTime> QUOTATION_SUBMISSION_DATE
public static final CentralPurchaseContractField<String> SUPPLIER_QUOTATION
public static final CentralPurchaseContractField<String> CORRESPNC_EXTERNAL_REFERENCE
public static final CentralPurchaseContractField<String> CORRESPNC_INTERNAL_REFERENCE
public static final CentralPurchaseContractField<String> SUPPLIER_RESP_SALES_PERSON_NAME
public static final CentralPurchaseContractField<String> SUPPLIER_PHONE_NUMBER
public static final CentralPurchaseContractField<String> RELEASE_CODE
public static final CentralPurchaseContractField<String> CREATED_BY_USER
public static final CentralPurchaseContractField<String> PURCHASING_DOCUMENT_DELETION_CODE
public static final CentralPurchaseContractField<String> PURCHASING_PROCESSING_STATUS
public static final CentralPurchaseContractField<Boolean> PURG_CONTRACT_IS_IN_PREPARATION
public static final CentralPurchaseContractField<String> PURCHASING_DOC_VERSION_REASON_CODE
public static final CentralPurchaseContractLink<CntrlPurchaseContractItem> TO_CENTRAL_PURCHASE_CONTRACT_ITEM
public static final CentralPurchaseContractLink<CntrlPurContrDistrMessages> TO_CNTRL_PUR_CONTR_DISTR_MESSAGES
public static final CentralPurchaseContractLink<CntrlPurContractHeaderNotes> TO_CNTRL_PUR_CONTR_HDR_NOTES
public static final CentralPurchaseContractLink<CntrlPurContrVersionHistory> TO_CNTRL_PUR_CONTR_VERSION_HISTORY
public CentralPurchaseContract()
public CentralPurchaseContract(@Nullable String centralPurchaseContract, @Nullable String purchaseContractType, @Nullable String purchasingDocumentCategory, @Nullable String supplier, @Nullable String companyCode, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String documentCurrency, @Nullable ZonedDateTime lastChangeDateTime, @Nullable LocalDateTime creationDate, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable BigDecimal netPaymentDays, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable BigDecimal purchaseContractTargetAmount, @Nullable String exchangeRate, @Nullable Boolean exchangeRateIsFixed, @Nullable String supplyingSupplier, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String supplierQuotation, @Nullable String correspncExternalReference, @Nullable String correspncInternalReference, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String releaseCode, @Nullable String createdByUser, @Nullable String purchasingDocumentDeletionCode, @Nullable String purchasingProcessingStatus, @Nullable Boolean purgContractIsInPreparation, @Nullable String purchasingDocVersionReasonCode, List<CntrlPurchaseContractItem> toCentralPurchaseContractItem, List<CntrlPurContrDistrMessages> toCntrlPurContrDistrMessages, List<CntrlPurContractHeaderNotes> toCntrlPurContrHdrNotes, List<CntrlPurContrVersionHistory> toCntrlPurContrVersionHistory)
@Nonnull public Class<CentralPurchaseContract> getType()
getType
in class VdmObject<CentralPurchaseContract>
public void setCentralPurchaseContract(@Nullable String centralPurchaseContract)
Original property name from the Odata EDM: CentralPurchaseContract
centralPurchaseContract
- Active Purchasing Documentpublic void setPurchaseContractType(@Nullable String purchaseContractType)
Original property name from the Odata EDM: PurchaseContractType
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.
purchaseContractType
- Identifier allowing differentiation between the various kinds of purchasing document in the SAP
system.public void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
Original property name from the Odata EDM: PurchasingDocumentCategory
purchasingDocumentCategory
- Identifier that allows you to differentiate between various kinds of purchasing document in the SAP
System.public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Supplierpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Denotes the purchasing organization.public void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
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.
purchasingGroup
- Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities.public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Start of Validity Periodpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- End of Validity Periodpublic void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency key for amounts in the system.public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Change Time Stamppublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic 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 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 setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
Original property name from the Odata EDM: NetPaymentDays
netPaymentDays
- Standard settlement period (in days).public void setIncotermsClassification(@Nullable String incotermsClassification)
Original property name from the Odata EDM: IncotermsClassification
Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example.
incotermsClassification
- Commonly used trading terms that comply with the standards established by the International Chamber of
Commerce (ICC).public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
Original property name from the Odata EDM: IncotermsTransferLocation
If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
incotermsTransferLocation
- Additional information for the primary Incoterm.public void setIncotermsVersion(@Nullable String incotermsVersion)
Original property name from the Odata EDM: IncotermsVersion
incotermsVersion
- An incoterms version is an edition containing a list of international terms for transportation that is
defined by the International Chamber of Commerce (ICC).public void setIncotermsLocation1(@Nullable String incotermsLocation1)
Original property name from the Odata EDM: IncotermsLocation1
1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston.
incotermsLocation1
- Provides additional information for the primary Incoterm. For Incoterms 2010, this field represents:public void setIncotermsLocation2(@Nullable String incotermsLocation2)
Original property name from the Odata EDM: IncotermsLocation2
No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
incotermsLocation2
- Provides additional information for the Incoterms. This field is only available for C-Clauses (if
customized appropriately). Note the following for the incoterms versions below:public void setPurchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount)
Original property name from the Odata EDM: PurchaseContractTargetAmount
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.
purchaseContractTargetAmount
- Displays the target value that is entered for each distribution at header level for a central
contract.public void setExchangeRate(@Nullable String exchangeRate)
Original property name from the Odata EDM: ExchangeRate
exchangeRate
- The exchangeRate to set.public void setExchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
Original property name from the Odata EDM: ExchangeRateIsFixed
If you fix the exchange rate, the purchase order currency and the exchange rate cannot be changed during invoice verification.
exchangeRateIsFixed
- Determines that the exchange rate used for currency translation purposes calculated or entered in the
purchasing document is fixed.public void setSupplyingSupplier(@Nullable String supplyingSupplier)
Original property name from the Odata EDM: SupplyingSupplier
If the supplier from whom the goods are ordered is not the actual goods supplier, you can enter the account number of the goods supplying business partner here.
supplyingSupplier
- Key identifying the supplier within the SAP system.public void setQuotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate)
Original property name from the Odata EDM: QuotationSubmissionDate
quotationSubmissionDate
- Date on which the supplier submitted the quotation.public void setSupplierQuotation(@Nullable String supplierQuotation)
Original property name from the Odata EDM: SupplierQuotation
supplierQuotation
- Number of supplier's quotation.public void setCorrespncExternalReference(@Nullable String correspncExternalReference)
Original property name from the Odata EDM: CorrespncExternalReference
The reference number usually identifies the individual who is responsible for the document at the customer or supplier site. It can, for example, be the person's initials.
correspncExternalReference
- The internal reference number of the customer or supplier.public void setCorrespncInternalReference(@Nullable String correspncInternalReference)
Original property name from the Odata EDM: CorrespncInternalReference
This usually identifies the person responsible for the purchasing document in your company. The reference number/code often consists of the relevant person's initials.
correspncInternalReference
- Your company's internal reference number or code.public void setSupplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName)
Original property name from the Odata EDM: SupplierRespSalesPersonName
supplierRespSalesPersonName
- Responsible Salesperson at Supplier's Officepublic void setSupplierPhoneNumber(@Nullable String supplierPhoneNumber)
Original property name from the Odata EDM: SupplierPhoneNumber
supplierPhoneNumber
- This entry is for information only. It is not copied into purchasing documents.public void setReleaseCode(@Nullable String releaseCode)
Original property name from the Odata EDM: ReleaseCode
releaseCode
- Specifies whether the purchasing document can be processed in or is blocked for follow-on functions.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
purchasingDocumentDeletionCode
- Determines whether the item in the purchasing document is deleted or blocked.public void setPurchasingProcessingStatus(@Nullable String purchasingProcessingStatus)
Original property name from the Odata EDM: PurchasingProcessingStatus
purchasingProcessingStatus
- Purchasing document processing statepublic void setPurgContractIsInPreparation(@Nullable Boolean purgContractIsInPreparation)
Original property name from the Odata EDM: PurgContractIsInPreparation
purgContractIsInPreparation
- Boolean Variable (X = True, - = False, Space = Unknown)public void setPurchasingDocVersionReasonCode(@Nullable String purchasingDocVersionReasonCode)
Original property name from the Odata EDM: PurchasingDocVersionReasonCode
Welche Gründe Ihnen hier zur Auswahl stehen, können Sie im Customizing des Einkaufs unter Versionsverwaltung -> Änderungsgründe festlegen definieren.
purchasingDocVersionReasonCode
- Indicates the reason for the change to the purchase requisition or external purchasing document item
(e.g. increase in requirements).protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CentralPurchaseContract>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CentralPurchaseContract>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CentralPurchaseContract>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CentralPurchaseContract>
@Nonnull public static <T> CentralPurchaseContractField<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> CentralPurchaseContractField<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<CentralPurchaseContract>
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<CentralPurchaseContract>
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<CentralPurchaseContract>
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<CentralPurchaseContract>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CentralPurchaseContract>
@Nonnull public List<CntrlPurchaseContractItem> fetchCentralPurchaseContractItem() 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<CntrlPurchaseContractItem> getCentralPurchaseContractItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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<CntrlPurchaseContractItem>> getCentralPurchaseContractItemIfPresent()
If the navigation property for an entity CentralPurchaseContract 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 setCentralPurchaseContractItem(@Nonnull List<CntrlPurchaseContractItem> value)
If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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 CntrlPurchaseContractItem entities.public void addCentralPurchaseContractItem(CntrlPurchaseContractItem... entity)
If the navigation property to_CentralPurchaseContractItem of a queried CentralPurchaseContract 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 CntrlPurchaseContractItem entities.@Nonnull public List<CntrlPurContrDistrMessages> fetchCntrlPurContrDistrMessages() 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<CntrlPurContrDistrMessages> getCntrlPurContrDistrMessagesOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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<CntrlPurContrDistrMessages>> getCntrlPurContrDistrMessagesIfPresent()
If the navigation property for an entity CentralPurchaseContract 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 setCntrlPurContrDistrMessages(@Nonnull List<CntrlPurContrDistrMessages> value)
If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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 CntrlPurContrDistrMessages entities.public void addCntrlPurContrDistrMessages(CntrlPurContrDistrMessages... entity)
If the navigation property to_CntrlPurContrDistrMessages of a queried CentralPurchaseContract 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 CntrlPurContrDistrMessages entities.@Nonnull public List<CntrlPurContractHeaderNotes> fetchCntrlPurContrHdrNotes() 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<CntrlPurContractHeaderNotes> getCntrlPurContrHdrNotesOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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<CntrlPurContractHeaderNotes>> getCntrlPurContrHdrNotesIfPresent()
If the navigation property for an entity CentralPurchaseContract 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 setCntrlPurContrHdrNotes(@Nonnull List<CntrlPurContractHeaderNotes> value)
If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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 CntrlPurContractHeaderNotes entities.public void addCntrlPurContrHdrNotes(CntrlPurContractHeaderNotes... entity)
If the navigation property to_CntrlPurContrHdrNotes of a queried CentralPurchaseContract 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 CntrlPurContractHeaderNotes entities.@Nonnull public List<CntrlPurContrVersionHistory> fetchCntrlPurContrVersionHistory() 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<CntrlPurContrVersionHistory> getCntrlPurContrVersionHistoryOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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<CntrlPurContrVersionHistory>> getCntrlPurContrVersionHistoryIfPresent()
If the navigation property for an entity CentralPurchaseContract 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 setCntrlPurContrVersionHistory(@Nonnull List<CntrlPurContrVersionHistory> value)
If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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 CntrlPurContrVersionHistory entities.public void addCntrlPurContrVersionHistory(CntrlPurContrVersionHistory... entity)
If the navigation property to_CntrlPurContrVersionHistory of a queried CentralPurchaseContract 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 CntrlPurContrVersionHistory entities.@Nonnull public static CentralPurchaseContract.CentralPurchaseContractBuilder builder()
@Nullable public String getCentralPurchaseContract()
Original property name from the Odata EDM: CentralPurchaseContract
@Nullable public String getPurchaseContractType()
Original property name from the Odata EDM: PurchaseContractType
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 getPurchasingDocumentCategory()
Original property name from the Odata EDM: PurchasingDocumentCategory
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
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 LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@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 getCashDiscount1Percent()
Original property name from the Odata EDM: CashDiscount1Percent
@Nullable public BigDecimal getCashDiscount2Percent()
Original property name from the Odata EDM: CashDiscount2Percent
@Nullable public BigDecimal getNetPaymentDays()
Original property name from the Odata EDM: NetPaymentDays
@Nullable public String getIncotermsClassification()
Original property name from the Odata EDM: IncotermsClassification
Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example.
@Nullable public String getIncotermsTransferLocation()
Original property name from the Odata EDM: IncotermsTransferLocation
If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
@Nullable public String getIncotermsVersion()
Original property name from the Odata EDM: IncotermsVersion
@Nullable public String getIncotermsLocation1()
Original property name from the Odata EDM: IncotermsLocation1
1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston.
@Nullable public String getIncotermsLocation2()
Original property name from the Odata EDM: IncotermsLocation2
No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination
@Nullable public BigDecimal getPurchaseContractTargetAmount()
Original property name from the Odata EDM: PurchaseContractTargetAmount
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 getExchangeRate()
Original property name from the Odata EDM: ExchangeRate
@Nullable public Boolean getExchangeRateIsFixed()
Original property name from the Odata EDM: ExchangeRateIsFixed
If you fix the exchange rate, the purchase order currency and the exchange rate cannot be changed during invoice verification.
@Nullable public String getSupplyingSupplier()
Original property name from the Odata EDM: SupplyingSupplier
If the supplier from whom the goods are ordered is not the actual goods supplier, you can enter the account number of the goods supplying business partner here.
@Nullable public LocalDateTime getQuotationSubmissionDate()
Original property name from the Odata EDM: QuotationSubmissionDate
@Nullable public String getSupplierQuotation()
Original property name from the Odata EDM: SupplierQuotation
@Nullable public String getCorrespncExternalReference()
Original property name from the Odata EDM: CorrespncExternalReference
The reference number usually identifies the individual who is responsible for the document at the customer or supplier site. It can, for example, be the person's initials.
@Nullable public String getCorrespncInternalReference()
Original property name from the Odata EDM: CorrespncInternalReference
This usually identifies the person responsible for the purchasing document in your company. The reference number/code often consists of the relevant person's initials.
@Nullable public String getSupplierRespSalesPersonName()
Original property name from the Odata EDM: SupplierRespSalesPersonName
@Nullable public String getSupplierPhoneNumber()
Original property name from the Odata EDM: SupplierPhoneNumber
@Nullable public String getReleaseCode()
Original property name from the Odata EDM: ReleaseCode
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public String getPurchasingDocumentDeletionCode()
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
@Nullable public String getPurchasingProcessingStatus()
Original property name from the Odata EDM: PurchasingProcessingStatus
@Nullable public Boolean getPurgContractIsInPreparation()
Original property name from the Odata EDM: PurgContractIsInPreparation
@Nullable public String getPurchasingDocVersionReasonCode()
Original property name from the Odata EDM: PurchasingDocVersionReasonCode
Welche Gründe Ihnen hier zur Auswahl stehen, können Sie im Customizing des Einkaufs unter Versionsverwaltung -> Änderungsgründe festlegen definieren.
@Nonnull public String toString()
toString
in class VdmObject<CentralPurchaseContract>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CentralPurchaseContract>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CentralPurchaseContract>
public int hashCode()
hashCode
in class VdmObject<CentralPurchaseContract>
Copyright © 2020 SAP SE. All rights reserved.