public class PurchaseContract extends VdmEntity<PurchaseContract>
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<Calendar> |
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<Calendar> |
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<Calendar> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static PurchaseContractField<Calendar> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
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,
Calendar validityStartDate,
String purchaseContractType,
Calendar validityEndDate,
Calendar 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,
Calendar 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() |
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.
|
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
|
Calendar |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
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
|
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
|
List<PurchaseContractItem> |
getPurchaseContractItemOrFetch()
Retrieval of associated PurchaseContractItem entities (one to many).
|
com.google.common.base.Optional<List<PurchaseContractItem>> |
getPurchaseContractItemOrNull()
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
|
List<PurCtrPartners> |
getPurCtrPartnersOrFetch()
Retrieval of associated PurCtrPartners entities (one to many).
|
com.google.common.base.Optional<List<PurCtrPartners>> |
getPurCtrPartnersOrNull()
Retrieval of associated PurCtrPartners entities (one to many).
|
Calendar |
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() |
Calendar |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
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(Calendar 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(Calendar 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(Calendar validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(Calendar validityStartDate)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final 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<Calendar> VALIDITY_START_DATE
public static final PurchaseContractField<String> PURCHASE_CONTRACT_TYPE
public static final PurchaseContractField<Calendar> VALIDITY_END_DATE
public static final PurchaseContractField<Calendar> 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<Calendar> 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
@Generated(value="lombok") public PurchaseContract()
@ConstructorProperties(value={"purchaseContract","paymentTerms","cashDiscount1Days","cashDiscount2Days","netPaymentDays","cashDiscount1Percent","cashDiscount2Percent","documentCurrency","exchangeRate","exchangeRateIsFixed","validityStartDate","purchaseContractType","validityEndDate","quotationSubmissionDate","correspncExternalReference","supplierQuotation","supplierRespSalesPersonName","supplierPhoneNumber","supplyingSupplier","incotermsClassification","incotermsTransferLocation","purchaseContractTargetAmount","companyCode","invoicingParty","correspncInternalReference","releaseCode","incotermsVersion","incotermsLocation1","incotermsLocation2","purchasingDocumentDeletionCode","creationDate","createdByUser","supplier","purchasingOrganization","purchasingGroup","erpConfigContext","toPurchaseContractItem","toPurCtrPartners"}) @Generated(value="lombok") 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 Calendar validityStartDate, @Nullable String purchaseContractType, @Nullable Calendar validityEndDate, @Nullable Calendar 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 Calendar 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 static <T> PurchaseContractField<T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public 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 com.google.common.base.Optional<List<PurchaseContractItem>> getPurchaseContractItemOrNull()
If the navigation property to_PurchaseContractItem for an entity PurchaseContract has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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 com.google.common.base.Optional<List<PurCtrPartners>> getPurCtrPartnersOrNull()
If the navigation property to_PurCtrPartners for an entity PurchaseContract has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.@Generated(value="lombok") public static PurchaseContract.PurchaseContractBuilder builder()
@Nullable @Generated(value="lombok") public String getPurchaseContract()
@Nullable @Generated(value="lombok") public String getPaymentTerms()
@Nullable @Generated(value="lombok") public BigDecimal getCashDiscount1Days()
@Nullable @Generated(value="lombok") public BigDecimal getCashDiscount2Days()
@Nullable @Generated(value="lombok") public BigDecimal getNetPaymentDays()
@Nullable @Generated(value="lombok") public BigDecimal getCashDiscount1Percent()
@Nullable @Generated(value="lombok") public BigDecimal getCashDiscount2Percent()
@Nullable @Generated(value="lombok") public String getDocumentCurrency()
@Nullable @Generated(value="lombok") public String getExchangeRate()
@Nullable @Generated(value="lombok") public Boolean getExchangeRateIsFixed()
@Nullable @Generated(value="lombok") public Calendar getValidityStartDate()
@Nullable @Generated(value="lombok") public String getPurchaseContractType()
@Nullable @Generated(value="lombok") public Calendar getValidityEndDate()
@Nullable @Generated(value="lombok") public Calendar getQuotationSubmissionDate()
@Nullable @Generated(value="lombok") public String getCorrespncExternalReference()
@Nullable @Generated(value="lombok") public String getSupplierQuotation()
@Nullable @Generated(value="lombok") public String getSupplierRespSalesPersonName()
@Nullable @Generated(value="lombok") public String getSupplierPhoneNumber()
@Nullable @Generated(value="lombok") public String getSupplyingSupplier()
@Nullable @Generated(value="lombok") public String getIncotermsClassification()
@Nullable @Generated(value="lombok") public String getIncotermsTransferLocation()
@Nullable @Generated(value="lombok") public BigDecimal getPurchaseContractTargetAmount()
@Nullable @Generated(value="lombok") public String getCompanyCode()
@Nullable @Generated(value="lombok") public String getInvoicingParty()
@Nullable @Generated(value="lombok") public String getCorrespncInternalReference()
@Nullable @Generated(value="lombok") public String getReleaseCode()
@Nullable @Generated(value="lombok") public String getIncotermsVersion()
@Nullable @Generated(value="lombok") public String getIncotermsLocation1()
@Nullable @Generated(value="lombok") public String getIncotermsLocation2()
@Nullable @Generated(value="lombok") public String getPurchasingDocumentDeletionCode()
@Nullable @Generated(value="lombok") public Calendar getCreationDate()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public String getSupplier()
@Nullable @Generated(value="lombok") public String getPurchasingOrganization()
@Nullable @Generated(value="lombok") public String getPurchasingGroup()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setPurchaseContract(@Nullable String purchaseContract)
purchaseContract
- @Generated(value="lombok") public void setPaymentTerms(@Nullable String paymentTerms)
paymentTerms
- @Generated(value="lombok") public void setCashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
cashDiscount1Days
- @Generated(value="lombok") public void setCashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
cashDiscount2Days
- @Generated(value="lombok") public void setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
netPaymentDays
- @Generated(value="lombok") public void setCashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
cashDiscount1Percent
- @Generated(value="lombok") public void setCashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
cashDiscount2Percent
- @Generated(value="lombok") public void setDocumentCurrency(@Nullable String documentCurrency)
documentCurrency
- @Generated(value="lombok") public void setExchangeRate(@Nullable String exchangeRate)
exchangeRate
- @Generated(value="lombok") public void setExchangeRateIsFixed(@Nullable Boolean exchangeRateIsFixed)
exchangeRateIsFixed
- @Generated(value="lombok") public void setValidityStartDate(@Nullable Calendar validityStartDate)
validityStartDate
- @Generated(value="lombok") public void setPurchaseContractType(@Nullable String purchaseContractType)
purchaseContractType
- @Generated(value="lombok") public void setValidityEndDate(@Nullable Calendar validityEndDate)
validityEndDate
- @Generated(value="lombok") public void setQuotationSubmissionDate(@Nullable Calendar quotationSubmissionDate)
quotationSubmissionDate
- @Generated(value="lombok") public void setCorrespncExternalReference(@Nullable String correspncExternalReference)
correspncExternalReference
- @Generated(value="lombok") public void setSupplierQuotation(@Nullable String supplierQuotation)
supplierQuotation
- @Generated(value="lombok") public void setSupplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName)
supplierRespSalesPersonName
- @Generated(value="lombok") public void setSupplierPhoneNumber(@Nullable String supplierPhoneNumber)
supplierPhoneNumber
- @Generated(value="lombok") public void setSupplyingSupplier(@Nullable String supplyingSupplier)
supplyingSupplier
- @Generated(value="lombok") public void setIncotermsClassification(@Nullable String incotermsClassification)
incotermsClassification
- @Generated(value="lombok") public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
incotermsTransferLocation
- @Generated(value="lombok") public void setPurchaseContractTargetAmount(@Nullable BigDecimal purchaseContractTargetAmount)
purchaseContractTargetAmount
- @Generated(value="lombok") public void setCompanyCode(@Nullable String companyCode)
companyCode
- @Generated(value="lombok") public void setInvoicingParty(@Nullable String invoicingParty)
invoicingParty
- @Generated(value="lombok") public void setCorrespncInternalReference(@Nullable String correspncInternalReference)
correspncInternalReference
- @Generated(value="lombok") public void setReleaseCode(@Nullable String releaseCode)
releaseCode
- @Generated(value="lombok") public void setIncotermsVersion(@Nullable String incotermsVersion)
incotermsVersion
- @Generated(value="lombok") public void setIncotermsLocation1(@Nullable String incotermsLocation1)
incotermsLocation1
- @Generated(value="lombok") public void setIncotermsLocation2(@Nullable String incotermsLocation2)
incotermsLocation2
- @Generated(value="lombok") public void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
purchasingDocumentDeletionCode
- @Generated(value="lombok") public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setSupplier(@Nullable String supplier)
supplier
- @Generated(value="lombok") public void setPurchasingOrganization(@Nullable String purchasingOrganization)
purchasingOrganization
- @Generated(value="lombok") public void setPurchasingGroup(@Nullable String purchasingGroup)
purchasingGroup
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<PurchaseContract>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<PurchaseContract>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<PurchaseContract>
Copyright © 2017 SAP SE. All rights reserved.