public class PurchaseContract extends VdmEntity<PurchaseContract>
Original entity name from the Odata EDM: A_PurchaseContractType
Modifier and Type | Class and Description |
---|---|
static class |
PurchaseContract.PurchaseContractBuilder |
Modifier and Type | Field and Description |
---|---|
static PurchaseContractSelectable |
ALL_FIELDS
Selector for all available fields of PurchaseContract.
|
static PurchaseContractField<BigDecimal> |
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
|
static PurchaseContractField<BigDecimal> |
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
|
static PurchaseContractField<BigDecimal> |
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
|
static PurchaseContractField<BigDecimal> |
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
|
static PurchaseContractField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static PurchaseContractField<String> |
CORRESPNC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.
|
static PurchaseContractField<String> |
CORRESPNC_INTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.
|
static PurchaseContractField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static PurchaseContractField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static PurchaseContractField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static PurchaseContractField<String> |
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations.
|
static PurchaseContractField<Boolean> |
EXCHANGE_RATE_IS_FIXED
Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.
|
static PurchaseContractField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static PurchaseContractField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static PurchaseContractField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static PurchaseContractField<String> |
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
|
static PurchaseContractField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static PurchaseContractField<String> |
INVOICING_PARTY
Use with available fluent helpers to apply the InvoicingParty field to query operations.
|
static PurchaseContractField<BigDecimal> |
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations.
|
static PurchaseContractField<String> |
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations.
|
static PurchaseContractField<String> |
PURCHASE_CONTRACT
Use with available fluent helpers to apply the PurchaseContract field to query operations.
|
static PurchaseContractField<BigDecimal> |
PURCHASE_CONTRACT_TARGET_AMOUNT
Use with available fluent helpers to apply the PurchaseContractTargetAmount field to query operations.
|
static PurchaseContractField<String> |
PURCHASE_CONTRACT_TYPE
Use with available fluent helpers to apply the PurchaseContractType field to query operations.
|
static PurchaseContractField<String> |
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.
|
static PurchaseContractField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static PurchaseContractField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static PurchaseContractField<LocalDateTime> |
QUOTATION_SUBMISSION_DATE
Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.
|
static PurchaseContractField<String> |
RELEASE_CODE
Use with available fluent helpers to apply the ReleaseCode field to query operations.
|
static PurchaseContractField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static PurchaseContractField<String> |
SUPPLIER_PHONE_NUMBER
Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.
|
static PurchaseContractField<String> |
SUPPLIER_QUOTATION
Use with available fluent helpers to apply the SupplierQuotation field to query operations.
|
static PurchaseContractField<String> |
SUPPLIER_RESP_SALES_PERSON_NAME
Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.
|
static PurchaseContractField<String> |
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier field to query operations.
|
static PurchaseContractLink<PurCtrPartners> |
TO_PUR_CTR_PARTNERS
Use with available fluent helpers to apply the to_PurCtrPartners navigation property to query operations.
|
static PurchaseContractLink<PurchaseContractItem> |
TO_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the to_PurchaseContractItem navigation property to query operations.
|
static PurchaseContractField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static PurchaseContractField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurchaseContract() |
PurchaseContract(String purchaseContract,
String paymentTerms,
BigDecimal cashDiscount1Days,
BigDecimal cashDiscount2Days,
BigDecimal netPaymentDays,
BigDecimal cashDiscount1Percent,
BigDecimal cashDiscount2Percent,
String documentCurrency,
String exchangeRate,
Boolean exchangeRateIsFixed,
LocalDateTime validityStartDate,
String purchaseContractType,
LocalDateTime validityEndDate,
LocalDateTime quotationSubmissionDate,
String correspncExternalReference,
String supplierQuotation,
String supplierRespSalesPersonName,
String supplierPhoneNumber,
String supplyingSupplier,
String incotermsClassification,
String incotermsTransferLocation,
BigDecimal purchaseContractTargetAmount,
String companyCode,
String invoicingParty,
String correspncInternalReference,
String releaseCode,
String incotermsVersion,
String incotermsLocation1,
String incotermsLocation2,
String purchasingDocumentDeletionCode,
LocalDateTime creationDate,
String createdByUser,
String supplier,
String purchasingOrganization,
String purchasingGroup,
ErpConfigContext erpConfigContext,
List<PurchaseContractItem> toPurchaseContractItem,
List<PurCtrPartners> toPurCtrPartners) |
Modifier and Type | Method and Description |
---|---|
void |
addPurchaseContractItem(PurchaseContractItem... entity)
Adds elements to the list of associated PurchaseContractItem entities.
|
void |
addPurCtrPartners(PurCtrPartners... entity)
Adds elements to the list of associated PurCtrPartners entities.
|
static PurchaseContract.PurchaseContractBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PurchaseContractItem> |
fetchPurchaseContractItem()
Fetches the PurchaseContractItem entities (one to many) associated with this entity.
|
List<PurCtrPartners> |
fetchPurCtrPartners()
Fetches the PurCtrPartners entities (one to many) associated with this entity.
|
static <T> PurchaseContractField<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 |
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
|
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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
|
String |
getInvoicingParty()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getNetPaymentDays()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchaseContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Optional<List<PurchaseContractItem>> |
getPurchaseContractItemIfPresent()
Retrieval of associated PurchaseContractItem entities (one to many).
|
List<PurchaseContractItem> |
getPurchaseContractItemOrFetch()
Retrieval of associated PurchaseContractItem entities (one to many).
|
BigDecimal |
getPurchaseContractTargetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getPurchaseContractType()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingDocumentDeletionCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
Optional<List<PurCtrPartners>> |
getPurCtrPartnersIfPresent()
Retrieval of associated PurCtrPartners entities (one to many).
|
List<PurCtrPartners> |
getPurCtrPartnersOrFetch()
Retrieval of associated PurCtrPartners entities (one to many).
|
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<PurchaseContract> |
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 |
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 |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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 |
setInvoicingParty(String invoicingParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setNetPaymentDays(BigDecimal netPaymentDays)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setPaymentTerms(String paymentTerms)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchaseContract(String purchaseContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseContractItem(List<PurchaseContractItem> value)
Overwrites the list of associated PurchaseContractItem entities for the loaded navigation property to_PurchaseContractItem.
|
void |
setPurchaseContractTargetAmount(BigDecimal purchaseContractTargetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setPurchaseContractType(String purchaseContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingGroup(String purchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurchasingOrganization(String purchasingOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurCtrPartners(List<PurCtrPartners> value)
Overwrites the list of associated PurCtrPartners entities for the loaded navigation property to_PurCtrPartners.
|
void |
setQuotationSubmissionDate(LocalDateTime quotationSubmissionDate)
Constraints: Not nullable, Precision: 0
|
void |
setReleaseCode(String releaseCode)
Constraints: Not nullable, Maximum length: 1
|
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() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PurchaseContractSelectable ALL_FIELDS
public static final PurchaseContractField<String> PURCHASE_CONTRACT
public static final PurchaseContractField<String> PAYMENT_TERMS
public static final PurchaseContractField<BigDecimal> CASH_DISCOUNT1_DAYS
public static final PurchaseContractField<BigDecimal> CASH_DISCOUNT2_DAYS
public static final PurchaseContractField<BigDecimal> NET_PAYMENT_DAYS
public static final PurchaseContractField<BigDecimal> CASH_DISCOUNT1_PERCENT
public static final PurchaseContractField<BigDecimal> CASH_DISCOUNT2_PERCENT
public static final PurchaseContractField<String> DOCUMENT_CURRENCY
public static final PurchaseContractField<String> EXCHANGE_RATE
public static final PurchaseContractField<Boolean> EXCHANGE_RATE_IS_FIXED
public static final PurchaseContractField<LocalDateTime> VALIDITY_START_DATE
public static final PurchaseContractField<String> PURCHASE_CONTRACT_TYPE
public static final PurchaseContractField<LocalDateTime> VALIDITY_END_DATE
public static final PurchaseContractField<LocalDateTime> QUOTATION_SUBMISSION_DATE
public static final PurchaseContractField<String> CORRESPNC_EXTERNAL_REFERENCE
public static final PurchaseContractField<String> SUPPLIER_QUOTATION
public static final PurchaseContractField<String> SUPPLIER_RESP_SALES_PERSON_NAME
public static final PurchaseContractField<String> SUPPLIER_PHONE_NUMBER
public static final PurchaseContractField<String> SUPPLYING_SUPPLIER
public static final PurchaseContractField<String> INCOTERMS_CLASSIFICATION
public static final PurchaseContractField<String> INCOTERMS_TRANSFER_LOCATION
public static final PurchaseContractField<BigDecimal> PURCHASE_CONTRACT_TARGET_AMOUNT
public static final PurchaseContractField<String> COMPANY_CODE
public static final PurchaseContractField<String> INVOICING_PARTY
public static final PurchaseContractField<String> CORRESPNC_INTERNAL_REFERENCE
public static final PurchaseContractField<String> RELEASE_CODE
public static final PurchaseContractField<String> INCOTERMS_VERSION
public static final PurchaseContractField<String> INCOTERMS_LOCATION1
public static final PurchaseContractField<String> INCOTERMS_LOCATION2
public static final PurchaseContractField<String> PURCHASING_DOCUMENT_DELETION_CODE
public static final PurchaseContractField<LocalDateTime> CREATION_DATE
public static final PurchaseContractField<String> CREATED_BY_USER
public static final PurchaseContractField<String> SUPPLIER
public static final PurchaseContractField<String> PURCHASING_ORGANIZATION
public static final PurchaseContractField<String> PURCHASING_GROUP
public static final PurchaseContractLink<PurchaseContractItem> TO_PURCHASE_CONTRACT_ITEM
public static final PurchaseContractLink<PurCtrPartners> TO_PUR_CTR_PARTNERS
public PurchaseContract()
public PurchaseContract(@Nullable String purchaseContract, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable String documentCurrency, @Nullable String exchangeRate, @Nullable Boolean exchangeRateIsFixed, @Nullable LocalDateTime validityStartDate, @Nullable String purchaseContractType, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String correspncExternalReference, @Nullable String supplierQuotation, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String supplyingSupplier, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable BigDecimal purchaseContractTargetAmount, @Nullable String companyCode, @Nullable String invoicingParty, @Nullable String correspncInternalReference, @Nullable String releaseCode, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String purchasingDocumentDeletionCode, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable String supplier, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable ErpConfigContext erpConfigContext, List<PurchaseContractItem> toPurchaseContractItem, List<PurCtrPartners> toPurCtrPartners)
public Class<PurchaseContract> getType()
getType
in class VdmObject<PurchaseContract>
public void setPurchaseContract(@Nullable String purchaseContract)
Original property name from the Odata EDM: PurchaseContract
purchaseContract
- Purchasing Contract Headerpublic void setPaymentTerms(@Nullable String paymentTerms)
Original property name from the Odata EDM: PaymentTerms
paymentTerms
- Terms of Payment Keypublic void setCashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
Original property name from the Odata EDM: CashDiscount1Days
cashDiscount1Days
- Cash Discount Days 1public void setCashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
Original property name from the Odata EDM: CashDiscount2Days
cashDiscount2Days
- Cash Discount Days 2public void setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
Original property name from the Odata EDM: NetPaymentDays
netPaymentDays
- Net Payment Terms Periodpublic void setCashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
Original property name from the Odata EDM: CashDiscount1Percent
cashDiscount1Percent
- Cash Discount Percentage 1public void setCashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
Original property name from the Odata EDM: CashDiscount2Percent
cashDiscount2Percent
- Cash Discount Percentage 2public void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency Keypublic void setExchangeRate(@Nullable String exchangeRate)
Original property name from the Odata EDM: ExchangeRate
exchangeRate
- public void setExchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
Original property name from the Odata EDM: ExchangeRateIsFixed
exchangeRateIsFixed
- Indicator for Fixed Exchange Ratepublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Start of Validity Periodpublic void setPurchaseContractType(@Nullable String purchaseContractType)
Original property name from the Odata EDM: PurchaseContractType
purchaseContractType
- Purchasing Document Typepublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- End of Validity Periodpublic void setQuotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate)
Original property name from the Odata EDM: QuotationSubmissionDate
quotationSubmissionDate
- Quotation Submission Datepublic void setCorrespncExternalReference(@Nullable String correspncExternalReference)
Original property name from the Odata EDM: CorrespncExternalReference
correspncExternalReference
- Your Referencepublic void setSupplierQuotation(@Nullable String supplierQuotation)
Original property name from the Odata EDM: SupplierQuotation
supplierQuotation
- Quotation Numberpublic 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
- Supplier's Telephone Numberpublic void setSupplyingSupplier(@Nullable String supplyingSupplier)
Original property name from the Odata EDM: SupplyingSupplier
supplyingSupplier
- Goods Supplierpublic void setIncotermsClassification(@Nullable String incotermsClassification)
Original property name from the Odata EDM: IncotermsClassification
incotermsClassification
- Incoterms (Part 1)public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
Original property name from the Odata EDM: IncotermsTransferLocation
incotermsTransferLocation
- Incoterms (Part 2)public void setPurchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount)
Original property name from the Odata EDM: PurchaseContractTargetAmount
purchaseContractTargetAmount
- Target Value for Header Area per Distributionpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setInvoicingParty(@Nullable String invoicingParty)
Original property name from the Odata EDM: InvoicingParty
invoicingParty
- Different Invoicing Partypublic void setCorrespncInternalReference(@Nullable String correspncInternalReference)
Original property name from the Odata EDM: CorrespncInternalReference
correspncInternalReference
- Our Referencepublic void setReleaseCode(@Nullable String releaseCode)
Original property name from the Odata EDM: ReleaseCode
releaseCode
- Release Indicator: Purchasing Documentpublic void setIncotermsVersion(@Nullable String incotermsVersion)
Original property name from the Odata EDM: IncotermsVersion
incotermsVersion
- Incoterms Versionpublic void setIncotermsLocation1(@Nullable String incotermsLocation1)
Original property name from the Odata EDM: IncotermsLocation1
incotermsLocation1
- Incoterms Location 1public void setIncotermsLocation2(@Nullable String incotermsLocation2)
Original property name from the Odata EDM: IncotermsLocation2
incotermsLocation2
- Incoterms Location 2public void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
purchasingDocumentDeletionCode
- Deletion Indicator in Purchasing Documentpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Supplierpublic void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Purchasing Organizationpublic void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
purchasingGroup
- Purchasing Groupprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurchaseContract>
protected Map<String,Object> getKey()
getKey
in class VdmObject<PurchaseContract>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurchaseContract>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurchaseContract>
@Nonnull public static <T> PurchaseContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> PurchaseContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PurchaseContract>
public List<PurchaseContractItem> fetchPurchaseContractItem() 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.public List<PurchaseContractItem> getPurchaseContractItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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.public Optional<List<PurchaseContractItem>> getPurchaseContractItemIfPresent()
If the navigation property for an entity PurchaseContract has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurchaseContractItem(@Nonnull List<PurchaseContractItem> value)
If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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 PurchaseContractItem entities.public void addPurchaseContractItem(PurchaseContractItem... entity)
If the navigation property to_PurchaseContractItem of a queried PurchaseContract 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 PurchaseContractItem entities.public List<PurCtrPartners> fetchPurCtrPartners() 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.public List<PurCtrPartners> getPurCtrPartnersOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PurCtrPartners of a queried PurchaseContract 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.public Optional<List<PurCtrPartners>> getPurCtrPartnersIfPresent()
If the navigation property for an entity PurchaseContract has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurCtrPartners(@Nonnull List<PurCtrPartners> value)
If the navigation property to_PurCtrPartners of a queried PurchaseContract 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 PurCtrPartners entities.public void addPurCtrPartners(PurCtrPartners... entity)
If the navigation property to_PurCtrPartners of a queried PurchaseContract 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 PurCtrPartners entities.public static PurchaseContract.PurchaseContractBuilder builder()
@Nullable public String getPurchaseContract()
Original property name from the Odata EDM: PurchaseContract
@Nullable public String getPaymentTerms()
Original property name from the Odata EDM: PaymentTerms
@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 getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@Nullable public String getExchangeRate()
Original property name from the Odata EDM: ExchangeRate
@Nullable public Boolean getExchangeRateIsFixed()
Original property name from the Odata EDM: ExchangeRateIsFixed
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public String getPurchaseContractType()
Original property name from the Odata EDM: PurchaseContractType
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public LocalDateTime getQuotationSubmissionDate()
Original property name from the Odata EDM: QuotationSubmissionDate
@Nullable public String getCorrespncExternalReference()
Original property name from the Odata EDM: CorrespncExternalReference
@Nullable public String getSupplierQuotation()
Original property name from the Odata EDM: SupplierQuotation
@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 getSupplyingSupplier()
Original property name from the Odata EDM: SupplyingSupplier
@Nullable public String getIncotermsClassification()
Original property name from the Odata EDM: IncotermsClassification
@Nullable public String getIncotermsTransferLocation()
Original property name from the Odata EDM: IncotermsTransferLocation
@Nullable public BigDecimal getPurchaseContractTargetAmount()
Original property name from the Odata EDM: PurchaseContractTargetAmount
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getInvoicingParty()
Original property name from the Odata EDM: InvoicingParty
@Nullable public String getCorrespncInternalReference()
Original property name from the Odata EDM: CorrespncInternalReference
@Nullable public String getReleaseCode()
Original property name from the Odata EDM: ReleaseCode
@Nullable public String getIncotermsVersion()
Original property name from the Odata EDM: IncotermsVersion
@Nullable public String getIncotermsLocation1()
Original property name from the Odata EDM: IncotermsLocation1
@Nullable public String getIncotermsLocation2()
Original property name from the Odata EDM: IncotermsLocation2
@Nullable public String getPurchasingDocumentDeletionCode()
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<PurchaseContract>
erpConfigContext
- public String toString()
toString
in class VdmObject<PurchaseContract>
public boolean equals(Object o)
equals
in class VdmObject<PurchaseContract>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PurchaseContract>
public int hashCode()
hashCode
in class VdmObject<PurchaseContract>
Copyright © 2018 SAP SE. All rights reserved.