public class SchAgrmtHeader extends VdmEntity<SchAgrmtHeader>
Original entity name from the Odata EDM: A_SchAgrmtHeaderType
Modifier and Type | Class and Description |
---|---|
static class |
SchAgrmtHeader.SchAgrmtHeaderBuilder |
Modifier and Type | Field and Description |
---|---|
static SchAgrmtHeaderSelectable |
ALL_FIELDS
Selector for all available fields of SchAgrmtHeader.
|
static SchAgrmtHeaderField<BigDecimal> |
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
|
static SchAgrmtHeaderField<BigDecimal> |
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
|
static SchAgrmtHeaderField<BigDecimal> |
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
|
static SchAgrmtHeaderField<BigDecimal> |
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
|
static SchAgrmtHeaderField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static SchAgrmtHeaderField<String> |
COMPANY_VAT_REGISTRATION
Use with available fluent helpers to apply the CompanyVATRegistration field to query operations.
|
static SchAgrmtHeaderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SchAgrmtHeaderField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static SchAgrmtHeaderField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static SchAgrmtHeaderField<String> |
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations.
|
static SchAgrmtHeaderField<Boolean> |
EXCHANGE_RATE_IS_FIXED
Use with available fluent helpers to apply the ExchangeRateIsFixed field to query operations.
|
static SchAgrmtHeaderField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static SchAgrmtHeaderField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static SchAgrmtHeaderField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static SchAgrmtHeaderField<String> |
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
|
static SchAgrmtHeaderField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static SchAgrmtHeaderField<String> |
INVOICING_PARTY
Use with available fluent helpers to apply the InvoicingParty field to query operations.
|
static SchAgrmtHeaderField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static SchAgrmtHeaderField<BigDecimal> |
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations.
|
static SchAgrmtHeaderField<String> |
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.
|
static SchAgrmtHeaderField<LocalDateTime> |
PURCHASING_DOCUMENT_ORDER_DATE
Use with available fluent helpers to apply the PurchasingDocumentOrderDate field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_DOCUMENT_ORIGIN
Use with available fluent helpers to apply the PurchasingDocumentOrigin field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_DOCUMENT_TYPE
Use with available fluent helpers to apply the PurchasingDocumentType field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static SchAgrmtHeaderField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static SchAgrmtHeaderField<LocalDateTime> |
QUOTATION_SUBMISSION_DATE
Use with available fluent helpers to apply the QuotationSubmissionDate field to query operations.
|
static SchAgrmtHeaderField<Boolean> |
SCHEDULE_AGREEMENT_HAS_RELEASE_DOC
Use with available fluent helpers to apply the ScheduleAgreementHasReleaseDoc field to query operations.
|
static SchAgrmtHeaderField<String> |
SCHEDULING_AGREEMENT
Use with available fluent helpers to apply the SchedulingAgreement field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLIER_ADDRESS_ID
Use with available fluent helpers to apply the SupplierAddressID field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLIER_PHONE_NUMBER
Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLIER_QUOTATION_EXTERNAL_ID
Use with available fluent helpers to apply the SupplierQuotationExternalID field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLIER_RESP_SALES_PERSON_NAME
Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.
|
static SchAgrmtHeaderField<String> |
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier field to query operations.
|
static SchAgrmtHeaderField<BigDecimal> |
TARGET_AMOUNT
Use with available fluent helpers to apply the TargetAmount field to query operations.
|
static SchAgrmtHeaderLink<SchAgrmtPartner> |
TO_SCH_AGRMT_PARTNER
Use with available fluent helpers to apply the to_SchAgrmtPartner navigation property to query operations.
|
static SchAgrmtHeaderLink<SchAgrmtItem> |
TO_SCHEDG_AGRMT_ITM
Use with available fluent helpers to apply the to_SchedgAgrmtItm navigation property to query operations.
|
static SchAgrmtHeaderField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static SchAgrmtHeaderField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
static SchAgrmtHeaderField<String> |
VAT_REGISTRATION_COUNTRY
Use with available fluent helpers to apply the VATRegistrationCountry field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SchAgrmtHeader() |
SchAgrmtHeader(String schedulingAgreement,
String documentCurrency,
String incotermsClassification,
String incotermsTransferLocation,
String paymentTerms,
BigDecimal cashDiscount1Days,
BigDecimal cashDiscount2Days,
BigDecimal cashDiscount1Percent,
BigDecimal cashDiscount2Percent,
BigDecimal netPaymentDays,
BigDecimal targetAmount,
String companyCode,
String exchangeRate,
Boolean exchangeRateIsFixed,
String incotermsLocation1,
String incotermsLocation2,
String incotermsVersion,
LocalDateTime purchasingDocumentOrderDate,
Boolean scheduleAgreementHasReleaseDoc,
String supplier,
String supplierAddressID,
LocalDateTime validityStartDate,
String purchasingDocumentCategory,
LocalDateTime validityEndDate,
String purchasingDocumentOrigin,
String purchasingDocumentDeletionCode,
LocalDateTime quotationSubmissionDate,
String supplierQuotationExternalID,
String supplierRespSalesPersonName,
String supplierPhoneNumber,
String invoicingParty,
String supplyingSupplier,
String companyVATRegistration,
String purchasingDocumentType,
String vATRegistrationCountry,
String createdByUser,
LocalDateTime creationDate,
String language,
String purchasingOrganization,
String purchasingGroup,
ErpConfigContext erpConfigContext,
List<SchAgrmtPartner> toSchAgrmtPartner,
List<SchAgrmtItem> toSchedgAgrmtItm) |
Modifier and Type | Method and Description |
---|---|
void |
addSchAgrmtPartner(SchAgrmtPartner... entity)
Adds elements to the list of associated SchAgrmtPartner entities.
|
void |
addSchedgAgrmtItm(SchAgrmtItem... entity)
Adds elements to the list of associated SchAgrmtItem entities.
|
static SchAgrmtHeader.SchAgrmtHeaderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SchAgrmtPartner> |
fetchSchAgrmtPartner()
Fetches the SchAgrmtPartner entities (one to many) associated with this entity.
|
List<SchAgrmtItem> |
fetchSchedgAgrmtItm()
Fetches the SchAgrmtItem entities (one to many) associated with this entity.
|
static <T> SchAgrmtHeaderField<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 |
getCompanyVATRegistration()
Constraints: Not nullable, Maximum length: 20
|
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() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getNetPaymentDays()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingDocumentCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocumentDeletionCode()
Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getPurchasingDocumentOrderDate()
Constraints: Not nullable, Precision: 0
|
String |
getPurchasingDocumentOrigin()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocumentType()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getQuotationSubmissionDate()
Constraints: Not nullable, Precision: 0
|
Optional<List<SchAgrmtPartner>> |
getSchAgrmtPartnerIfPresent()
Retrieval of associated SchAgrmtPartner entities (one to many).
|
List<SchAgrmtPartner> |
getSchAgrmtPartnerOrFetch()
Retrieval of associated SchAgrmtPartner entities (one to many).
|
Optional<List<SchAgrmtItem>> |
getSchedgAgrmtItmIfPresent()
Retrieval of associated SchAgrmtItem entities (one to many).
|
List<SchAgrmtItem> |
getSchedgAgrmtItmOrFetch()
Retrieval of associated SchAgrmtItem entities (one to many).
|
Boolean |
getScheduleAgreementHasReleaseDoc()
Constraints: none
|
String |
getSchedulingAgreement()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierAddressID()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierPhoneNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getSupplierQuotationExternalID()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierRespSalesPersonName()
Constraints: Not nullable, Maximum length: 30
|
String |
getSupplyingSupplier()
Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getTargetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
Class<SchAgrmtHeader> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getVATRegistrationCountry()
Constraints: Not nullable, Maximum length: 3
|
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 |
setCompanyVATRegistration(String companyVATRegistration)
Constraints: Not nullable, Maximum length: 20
|
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 |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setNetPaymentDays(BigDecimal netPaymentDays)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setPaymentTerms(String paymentTerms)
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 |
setPurchasingDocumentOrderDate(LocalDateTime purchasingDocumentOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setPurchasingDocumentOrigin(String purchasingDocumentOrigin)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingDocumentType(String purchasingDocumentType)
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 |
setQuotationSubmissionDate(LocalDateTime quotationSubmissionDate)
Constraints: Not nullable, Precision: 0
|
void |
setSchAgrmtPartner(List<SchAgrmtPartner> value)
Overwrites the list of associated SchAgrmtPartner entities for the loaded navigation property to_SchAgrmtPartner.
|
void |
setSchedgAgrmtItm(List<SchAgrmtItem> value)
Overwrites the list of associated SchAgrmtItem entities for the loaded navigation property to_SchedgAgrmtItm.
|
void |
setScheduleAgreementHasReleaseDoc(Boolean scheduleAgreementHasReleaseDoc)
Constraints: none
|
void |
setSchedulingAgreement(String schedulingAgreement)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierAddressID(String supplierAddressID)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierPhoneNumber(String supplierPhoneNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setSupplierQuotationExternalID(String supplierQuotationExternalID)
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 |
setTargetAmount(BigDecimal targetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setVATRegistrationCountry(String vATRegistrationCountry)
Constraints: Not nullable, Maximum length: 3
|
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 SchAgrmtHeaderSelectable ALL_FIELDS
public static final SchAgrmtHeaderField<String> SCHEDULING_AGREEMENT
public static final SchAgrmtHeaderField<String> DOCUMENT_CURRENCY
public static final SchAgrmtHeaderField<String> INCOTERMS_CLASSIFICATION
public static final SchAgrmtHeaderField<String> INCOTERMS_TRANSFER_LOCATION
public static final SchAgrmtHeaderField<String> PAYMENT_TERMS
public static final SchAgrmtHeaderField<BigDecimal> CASH_DISCOUNT1_DAYS
public static final SchAgrmtHeaderField<BigDecimal> CASH_DISCOUNT2_DAYS
public static final SchAgrmtHeaderField<BigDecimal> CASH_DISCOUNT1_PERCENT
public static final SchAgrmtHeaderField<BigDecimal> CASH_DISCOUNT2_PERCENT
public static final SchAgrmtHeaderField<BigDecimal> NET_PAYMENT_DAYS
public static final SchAgrmtHeaderField<BigDecimal> TARGET_AMOUNT
public static final SchAgrmtHeaderField<String> COMPANY_CODE
public static final SchAgrmtHeaderField<String> EXCHANGE_RATE
public static final SchAgrmtHeaderField<Boolean> EXCHANGE_RATE_IS_FIXED
public static final SchAgrmtHeaderField<String> INCOTERMS_LOCATION1
public static final SchAgrmtHeaderField<String> INCOTERMS_LOCATION2
public static final SchAgrmtHeaderField<String> INCOTERMS_VERSION
public static final SchAgrmtHeaderField<LocalDateTime> PURCHASING_DOCUMENT_ORDER_DATE
public static final SchAgrmtHeaderField<Boolean> SCHEDULE_AGREEMENT_HAS_RELEASE_DOC
public static final SchAgrmtHeaderField<String> SUPPLIER
public static final SchAgrmtHeaderField<String> SUPPLIER_ADDRESS_ID
public static final SchAgrmtHeaderField<LocalDateTime> VALIDITY_START_DATE
public static final SchAgrmtHeaderField<String> PURCHASING_DOCUMENT_CATEGORY
public static final SchAgrmtHeaderField<LocalDateTime> VALIDITY_END_DATE
public static final SchAgrmtHeaderField<String> PURCHASING_DOCUMENT_ORIGIN
public static final SchAgrmtHeaderField<String> PURCHASING_DOCUMENT_DELETION_CODE
public static final SchAgrmtHeaderField<LocalDateTime> QUOTATION_SUBMISSION_DATE
public static final SchAgrmtHeaderField<String> SUPPLIER_QUOTATION_EXTERNAL_ID
public static final SchAgrmtHeaderField<String> SUPPLIER_RESP_SALES_PERSON_NAME
public static final SchAgrmtHeaderField<String> SUPPLIER_PHONE_NUMBER
public static final SchAgrmtHeaderField<String> INVOICING_PARTY
public static final SchAgrmtHeaderField<String> SUPPLYING_SUPPLIER
public static final SchAgrmtHeaderField<String> COMPANY_VAT_REGISTRATION
public static final SchAgrmtHeaderField<String> PURCHASING_DOCUMENT_TYPE
public static final SchAgrmtHeaderField<String> VAT_REGISTRATION_COUNTRY
public static final SchAgrmtHeaderField<String> CREATED_BY_USER
public static final SchAgrmtHeaderField<LocalDateTime> CREATION_DATE
public static final SchAgrmtHeaderField<String> LANGUAGE
public static final SchAgrmtHeaderField<String> PURCHASING_ORGANIZATION
public static final SchAgrmtHeaderField<String> PURCHASING_GROUP
public static final SchAgrmtHeaderLink<SchAgrmtPartner> TO_SCH_AGRMT_PARTNER
public static final SchAgrmtHeaderLink<SchAgrmtItem> TO_SCHEDG_AGRMT_ITM
public SchAgrmtHeader()
public SchAgrmtHeader(@Nullable String schedulingAgreement, @Nullable String documentCurrency, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal targetAmount, @Nullable String companyCode, @Nullable String exchangeRate, @Nullable Boolean exchangeRateIsFixed, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String incotermsVersion, @Nullable LocalDateTime purchasingDocumentOrderDate, @Nullable Boolean scheduleAgreementHasReleaseDoc, @Nullable String supplier, @Nullable String supplierAddressID, @Nullable LocalDateTime validityStartDate, @Nullable String purchasingDocumentCategory, @Nullable LocalDateTime validityEndDate, @Nullable String purchasingDocumentOrigin, @Nullable String purchasingDocumentDeletionCode, @Nullable LocalDateTime quotationSubmissionDate, @Nullable String supplierQuotationExternalID, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String invoicingParty, @Nullable String supplyingSupplier, @Nullable String companyVATRegistration, @Nullable String purchasingDocumentType, @Nullable String vATRegistrationCountry, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String language, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable ErpConfigContext erpConfigContext, List<SchAgrmtPartner> toSchAgrmtPartner, List<SchAgrmtItem> toSchedgAgrmtItm)
public Class<SchAgrmtHeader> getType()
getType
in class VdmObject<SchAgrmtHeader>
public void setSchedulingAgreement(@Nullable String schedulingAgreement)
Original property name from the Odata EDM: SchedulingAgreement
schedulingAgreement
- Purchasing Document Numberpublic void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency Keypublic 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 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 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 setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
Original property name from the Odata EDM: NetPaymentDays
netPaymentDays
- Net Payment Terms Periodpublic void setTargetAmount(@Nullable BigDecimal targetAmount)
Original property name from the Odata EDM: TargetAmount
targetAmount
- Target Value for Header Area per Distributionpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic 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 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 setIncotermsVersion(@Nullable String incotermsVersion)
Original property name from the Odata EDM: IncotermsVersion
incotermsVersion
- Incoterms Versionpublic void setPurchasingDocumentOrderDate(@Nullable LocalDateTime purchasingDocumentOrderDate)
Original property name from the Odata EDM: PurchasingDocumentOrderDate
purchasingDocumentOrderDate
- Purchasing Document Datepublic void setScheduleAgreementHasReleaseDoc(@Nullable Boolean scheduleAgreementHasReleaseDoc)
Original property name from the Odata EDM: ScheduleAgreementHasReleaseDoc
scheduleAgreementHasReleaseDoc
- Indicator for scheduling agreement release documentationpublic void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Supplierpublic void setSupplierAddressID(@Nullable String supplierAddressID)
Original property name from the Odata EDM: SupplierAddressID
supplierAddressID
- Address numberpublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Start of Validity Periodpublic void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
Original property name from the Odata EDM: PurchasingDocumentCategory
purchasingDocumentCategory
- Purchasing Document Categorypublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- End of Validity Periodpublic void setPurchasingDocumentOrigin(@Nullable String purchasingDocumentOrigin)
Original property name from the Odata EDM: PurchasingDocumentOrigin
purchasingDocumentOrigin
- Status of Purchasing Documentpublic void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
purchasingDocumentDeletionCode
- Deletion Indicator in Purchasing Documentpublic void setQuotationSubmissionDate(@Nullable LocalDateTime quotationSubmissionDate)
Original property name from the Odata EDM: QuotationSubmissionDate
quotationSubmissionDate
- Quotation Submission Datepublic void setSupplierQuotationExternalID(@Nullable String supplierQuotationExternalID)
Original property name from the Odata EDM: SupplierQuotationExternalID
supplierQuotationExternalID
- 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 setInvoicingParty(@Nullable String invoicingParty)
Original property name from the Odata EDM: InvoicingParty
invoicingParty
- Different Invoicing Partypublic void setSupplyingSupplier(@Nullable String supplyingSupplier)
Original property name from the Odata EDM: SupplyingSupplier
supplyingSupplier
- Goods Supplierpublic void setCompanyVATRegistration(@Nullable String companyVATRegistration)
Original property name from the Odata EDM: CompanyVATRegistration
companyVATRegistration
- VAT Registration Numberpublic void setPurchasingDocumentType(@Nullable String purchasingDocumentType)
Original property name from the Odata EDM: PurchasingDocumentType
purchasingDocumentType
- Purchasing Document Typepublic void setVATRegistrationCountry(@Nullable String vATRegistrationCountry)
Original property name from the Odata EDM: VATRegistrationCountry
vATRegistrationCountry
- Country of Sales Tax ID Numberpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic 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<SchAgrmtHeader>
protected Map<String,Object> getKey()
getKey
in class VdmObject<SchAgrmtHeader>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SchAgrmtHeader>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SchAgrmtHeader>
@Nonnull public static <T> SchAgrmtHeaderField<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> SchAgrmtHeaderField<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<SchAgrmtHeader>
public List<SchAgrmtPartner> fetchSchAgrmtPartner() 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<SchAgrmtPartner> getSchAgrmtPartnerOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SchAgrmtPartner of a queried SchAgrmtHeader 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<SchAgrmtPartner>> getSchAgrmtPartnerIfPresent()
If the navigation property for an entity SchAgrmtHeader 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 setSchAgrmtPartner(@Nonnull List<SchAgrmtPartner> value)
If the navigation property to_SchAgrmtPartner of a queried SchAgrmtHeader 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 SchAgrmtPartner entities.public void addSchAgrmtPartner(SchAgrmtPartner... entity)
If the navigation property to_SchAgrmtPartner of a queried SchAgrmtHeader 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 SchAgrmtPartner entities.public List<SchAgrmtItem> fetchSchedgAgrmtItm() 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<SchAgrmtItem> getSchedgAgrmtItmOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SchedgAgrmtItm of a queried SchAgrmtHeader 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<SchAgrmtItem>> getSchedgAgrmtItmIfPresent()
If the navigation property for an entity SchAgrmtHeader 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 setSchedgAgrmtItm(@Nonnull List<SchAgrmtItem> value)
If the navigation property to_SchedgAgrmtItm of a queried SchAgrmtHeader 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 SchAgrmtItem entities.public void addSchedgAgrmtItm(SchAgrmtItem... entity)
If the navigation property to_SchedgAgrmtItm of a queried SchAgrmtHeader 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 SchAgrmtItem entities.public static SchAgrmtHeader.SchAgrmtHeaderBuilder builder()
@Nullable public String getSchedulingAgreement()
Original property name from the Odata EDM: SchedulingAgreement
@Nullable public String getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@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 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 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 BigDecimal getTargetAmount()
Original property name from the Odata EDM: TargetAmount
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@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 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 getIncotermsVersion()
Original property name from the Odata EDM: IncotermsVersion
@Nullable public LocalDateTime getPurchasingDocumentOrderDate()
Original property name from the Odata EDM: PurchasingDocumentOrderDate
@Nullable public Boolean getScheduleAgreementHasReleaseDoc()
Original property name from the Odata EDM: ScheduleAgreementHasReleaseDoc
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getSupplierAddressID()
Original property name from the Odata EDM: SupplierAddressID
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public String getPurchasingDocumentCategory()
Original property name from the Odata EDM: PurchasingDocumentCategory
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getPurchasingDocumentOrigin()
Original property name from the Odata EDM: PurchasingDocumentOrigin
@Nullable public String getPurchasingDocumentDeletionCode()
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
@Nullable public LocalDateTime getQuotationSubmissionDate()
Original property name from the Odata EDM: QuotationSubmissionDate
@Nullable public String getSupplierQuotationExternalID()
Original property name from the Odata EDM: SupplierQuotationExternalID
@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 getInvoicingParty()
Original property name from the Odata EDM: InvoicingParty
@Nullable public String getSupplyingSupplier()
Original property name from the Odata EDM: SupplyingSupplier
@Nullable public String getCompanyVATRegistration()
Original property name from the Odata EDM: CompanyVATRegistration
@Nullable public String getPurchasingDocumentType()
Original property name from the Odata EDM: PurchasingDocumentType
@Nullable public String getVATRegistrationCountry()
Original property name from the Odata EDM: VATRegistrationCountry
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@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<SchAgrmtHeader>
erpConfigContext
- public String toString()
toString
in class VdmObject<SchAgrmtHeader>
public boolean equals(Object o)
equals
in class VdmObject<SchAgrmtHeader>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SchAgrmtHeader>
public int hashCode()
hashCode
in class VdmObject<SchAgrmtHeader>
Copyright © 2018 SAP SE. All rights reserved.