public class SalesContract extends VdmEntity<SalesContract>
Original entity name from the Odata EDM: A_SalesContractType
Modifier and Type | Class and Description |
---|---|
static class |
SalesContract.SalesContractBuilder
Helper class to allow for fluent creation of SalesContract instances.
|
Modifier and Type | Field and Description |
---|---|
static SalesContractSelectable |
ALL_FIELDS
Selector for all available fields of SalesContract.
|
static SalesContractField<String> |
CONTRACT_MANUAL_COMPLETION
Use with available fluent helpers to apply the ContractManualCompletion field to query operations.
|
static SalesContractField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static SalesContractField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static SalesContractField<String> |
CUSTOMER_PAYMENT_TERMS
Use with available fluent helpers to apply the CustomerPaymentTerms field to query operations.
|
static SalesContractField<LocalDateTime> |
CUSTOMER_PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the CustomerPurchaseOrderDate field to query operations.
|
static SalesContractField<String> |
CUSTOMER_PURCHASE_ORDER_TYPE
Use with available fluent helpers to apply the CustomerPurchaseOrderType field to query operations.
|
static SalesContractField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static SalesContractField<LocalDateTime> |
FASHION_CANCEL_DATE
Use with available fluent helpers to apply the FashionCancelDate field to query operations.
|
static SalesContractField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static SalesContractField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static SalesContractField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static SalesContractField<String> |
INCOTERMS_TRANSFER_LOCATION
Use with available fluent helpers to apply the IncotermsTransferLocation field to query operations.
|
static SalesContractField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static SalesContractField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static SalesContractField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static SalesContractField<String> |
NMBR_OF_SALES_CONTRACT_VALDTY_PERD
Use with available fluent helpers to apply the NmbrOfSalesContractValdtyPerd field to query operations.
|
static SalesContractField<String> |
ORGANIZATION_DIVISION
Use with available fluent helpers to apply the OrganizationDivision field to query operations.
|
static SalesContractField<String> |
OVERALL_SD_DOCUMENT_REJECTION_STS
Use with available fluent helpers to apply the OverallSDDocumentRejectionSts field to query operations.
|
static SalesContractField<String> |
OVERALL_SD_PROCESS_STATUS
Use with available fluent helpers to apply the OverallSDProcessStatus field to query operations.
|
static SalesContractField<String> |
PAYMENT_METHOD
Use with available fluent helpers to apply the PaymentMethod field to query operations.
|
static SalesContractField<LocalDateTime> |
PRICING_DATE
Use with available fluent helpers to apply the PricingDate field to query operations.
|
static SalesContractField<String> |
PURCHASE_ORDER_BY_CUSTOMER
Use with available fluent helpers to apply the PurchaseOrderByCustomer field to query operations.
|
static SalesContractField<String> |
REFERENCE_SD_DOCUMENT
Use with available fluent helpers to apply the ReferenceSDDocument field to query operations.
|
static SalesContractField<String> |
REFERENCE_SD_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the ReferenceSDDocumentCategory field to query operations.
|
static SalesContractField<String> |
RETAIL_ADDITIONAL_CUSTOMER_GRP10
Use with available fluent helpers to apply the RetailAdditionalCustomerGrp10 field to query operations.
|
static SalesContractField<String> |
RETAIL_ADDITIONAL_CUSTOMER_GRP6
Use with available fluent helpers to apply the RetailAdditionalCustomerGrp6 field to query operations.
|
static SalesContractField<String> |
RETAIL_ADDITIONAL_CUSTOMER_GRP7
Use with available fluent helpers to apply the RetailAdditionalCustomerGrp7 field to query operations.
|
static SalesContractField<String> |
RETAIL_ADDITIONAL_CUSTOMER_GRP8
Use with available fluent helpers to apply the RetailAdditionalCustomerGrp8 field to query operations.
|
static SalesContractField<String> |
RETAIL_ADDITIONAL_CUSTOMER_GRP9
Use with available fluent helpers to apply the RetailAdditionalCustomerGrp9 field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT
Use with available fluent helpers to apply the SalesContract field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT_APPROVAL_REASON
Use with available fluent helpers to apply the SalesContractApprovalReason field to query operations.
|
static SalesContractField<LocalDateTime> |
SALES_CONTRACT_DATE
Use with available fluent helpers to apply the SalesContractDate field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT_FOLLOW_UP_ACTION
Use with available fluent helpers to apply the SalesContractFollowUpAction field to query operations.
|
static SalesContractField<LocalDateTime> |
SALES_CONTRACT_SIGNED_DATE
Use with available fluent helpers to apply the SalesContractSignedDate field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT_TYPE
Use with available fluent helpers to apply the SalesContractType field to query operations.
|
static SalesContractField<LocalDateTime> |
SALES_CONTRACT_VALIDITY_END_DATE
Use with available fluent helpers to apply the SalesContractValidityEndDate field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT_VALIDITY_PERD_CAT
Use with available fluent helpers to apply the SalesContractValidityPerdCat field to query operations.
|
static SalesContractField<String> |
SALES_CONTRACT_VALIDITY_PERD_UNIT
Use with available fluent helpers to apply the SalesContractValidityPerdUnit field to query operations.
|
static SalesContractField<LocalDateTime> |
SALES_CONTRACT_VALIDITY_START_DATE
Use with available fluent helpers to apply the SalesContractValidityStartDate field to query operations.
|
static SalesContractField<String> |
SALES_DISTRICT
Use with available fluent helpers to apply the SalesDistrict field to query operations.
|
static SalesContractField<String> |
SALES_DOC_APPROVAL_STATUS
Use with available fluent helpers to apply the SalesDocApprovalStatus field to query operations.
|
static SalesContractField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static SalesContractField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static SalesContractField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static SalesContractField<String> |
SD_DOCUMENT_REASON
Use with available fluent helpers to apply the SDDocumentReason field to query operations.
|
static SalesContractField<LocalDateTime> |
SLS_CONTRACT_FOLLOW_UP_ACTION_DATE
Use with available fluent helpers to apply the SlsContractFollowUpActionDate field to query operations.
|
static SalesContractField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static SalesContractLink<SalesContractItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static SalesContractLink<SalesContractPartner> |
TO_PARTNER
Use with available fluent helpers to apply the to_Partner navigation property to query operations.
|
static SalesContractLink<SalesContractPrcgElmnt> |
TO_PRICING_ELEMENT
Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.
|
static SalesContractField<String> |
TOTAL_CREDIT_CHECK_STATUS
Use with available fluent helpers to apply the TotalCreditCheckStatus field to query operations.
|
static SalesContractField<BigDecimal> |
TOTAL_NET_AMOUNT
Use with available fluent helpers to apply the TotalNetAmount field to query operations.
|
static SalesContractField<String> |
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SalesContract() |
SalesContract(String salesContract,
String salesContractType,
String salesOrganization,
String distributionChannel,
String organizationDivision,
String salesGroup,
String salesOffice,
String salesDistrict,
String soldToParty,
LocalDateTime creationDate,
String createdByUser,
LocalDateTime lastChangeDate,
ZonedDateTime lastChangeDateTime,
String purchaseOrderByCustomer,
String customerPurchaseOrderType,
LocalDateTime customerPurchaseOrderDate,
LocalDateTime salesContractDate,
BigDecimal totalNetAmount,
String transactionCurrency,
String sDDocumentReason,
LocalDateTime pricingDate,
String incotermsClassification,
String incotermsTransferLocation,
String incotermsLocation1,
String incotermsLocation2,
String incotermsVersion,
String customerPaymentTerms,
String paymentMethod,
LocalDateTime salesContractValidityStartDate,
LocalDateTime salesContractValidityEndDate,
String salesContractValidityPerdUnit,
String salesContractValidityPerdCat,
LocalDateTime salesContractSignedDate,
String nmbrOfSalesContractValdtyPerd,
String salesContractFollowUpAction,
LocalDateTime slsContractFollowUpActionDate,
String contractManualCompletion,
String referenceSDDocument,
String referenceSDDocumentCategory,
String salesDocApprovalStatus,
String salesContractApprovalReason,
String overallSDProcessStatus,
String totalCreditCheckStatus,
String overallSDDocumentRejectionSts,
LocalDateTime fashionCancelDate,
String retailAdditionalCustomerGrp6,
String retailAdditionalCustomerGrp7,
String retailAdditionalCustomerGrp8,
String retailAdditionalCustomerGrp9,
String retailAdditionalCustomerGrp10,
List<SalesContractItem> toItem,
List<SalesContractPartner> toPartner,
List<SalesContractPrcgElmnt> toPricingElement) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(SalesContractItem... entity)
Adds elements to the list of associated SalesContractItem entities.
|
void |
addPartner(SalesContractPartner... entity)
Adds elements to the list of associated SalesContractPartner entities.
|
void |
addPricingElement(SalesContractPrcgElmnt... entity)
Adds elements to the list of associated SalesContractPrcgElmnt entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SalesContract.SalesContractBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SalesContractItem> |
fetchItem()
Fetches the SalesContractItem entities (one to many) associated with this entity.
|
List<SalesContractPartner> |
fetchPartner()
Fetches the SalesContractPartner entities (one to many) associated with this entity.
|
List<SalesContractPrcgElmnt> |
fetchPricingElement()
Fetches the SalesContractPrcgElmnt entities (one to many) associated with this entity.
|
static <T> SalesContractField<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) |
String |
getContractManualCompletion()
Constraints: Not nullable, Maximum length: 1
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustomerPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getCustomerPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustomerPurchaseOrderType()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
LocalDateTime |
getFashionCancelDate()
Constraints: Not nullable, Precision: 0
|
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
|
io.vavr.control.Option<List<SalesContractItem>> |
getItemIfPresent()
Retrieval of associated SalesContractItem entities (one to many).
|
List<SalesContractItem> |
getItemOrFetch()
Retrieval of associated SalesContractItem entities (one to many).
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getNmbrOfSalesContractValdtyPerd()
Constraints: Not nullable, Maximum length: 3
|
String |
getOrganizationDivision()
Constraints: Not nullable, Maximum length: 2
|
String |
getOverallSDDocumentRejectionSts()
Constraints: Not nullable, Maximum length: 1
|
String |
getOverallSDProcessStatus()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<SalesContractPartner>> |
getPartnerIfPresent()
Retrieval of associated SalesContractPartner entities (one to many).
|
List<SalesContractPartner> |
getPartnerOrFetch()
Retrieval of associated SalesContractPartner entities (one to many).
|
String |
getPaymentMethod()
Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getPricingDate()
Constraints: Not nullable, Precision: 0
|
io.vavr.control.Option<List<SalesContractPrcgElmnt>> |
getPricingElementIfPresent()
Retrieval of associated SalesContractPrcgElmnt entities (one to many).
|
List<SalesContractPrcgElmnt> |
getPricingElementOrFetch()
Retrieval of associated SalesContractPrcgElmnt entities (one to many).
|
String |
getPurchaseOrderByCustomer()
Constraints: Not nullable, Maximum length: 35
|
String |
getReferenceSDDocument()
Constraints: Not nullable, Maximum length: 10
|
String |
getReferenceSDDocumentCategory()
Constraints: Not nullable, Maximum length: 4
|
String |
getRetailAdditionalCustomerGrp10()
Constraints: Not nullable, Maximum length: 3
|
String |
getRetailAdditionalCustomerGrp6()
Constraints: Not nullable, Maximum length: 3
|
String |
getRetailAdditionalCustomerGrp7()
Constraints: Not nullable, Maximum length: 3
|
String |
getRetailAdditionalCustomerGrp8()
Constraints: Not nullable, Maximum length: 3
|
String |
getRetailAdditionalCustomerGrp9()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSalesContractApprovalReason()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getSalesContractDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesContractFollowUpAction()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getSalesContractSignedDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesContractType()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getSalesContractValidityEndDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesContractValidityPerdCat()
Constraints: Not nullable, Maximum length: 2
|
String |
getSalesContractValidityPerdUnit()
Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getSalesContractValidityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesDistrict()
Constraints: Not nullable, Maximum length: 6
|
String |
getSalesDocApprovalStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getSDDocumentReason()
Constraints: Not nullable, Maximum length: 3
|
LocalDateTime |
getSlsContractFollowUpActionDate()
Constraints: Not nullable, Precision: 0
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getTotalCreditCheckStatus()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getTotalNetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getTransactionCurrency()
Constraints: Not nullable, Maximum length: 5
|
Class<SalesContract> |
getType() |
int |
hashCode() |
void |
setContractManualCompletion(String contractManualCompletion)
Constraints: Not nullable, Maximum length: 1
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustomerPaymentTerms(String customerPaymentTerms)
Constraints: Not nullable, Maximum length: 4
|
void |
setCustomerPurchaseOrderDate(LocalDateTime customerPurchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustomerPurchaseOrderType(String customerPurchaseOrderType)
Constraints: Not nullable, Maximum length: 4
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setFashionCancelDate(LocalDateTime fashionCancelDate)
Constraints: Not nullable, Precision: 0
|
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 |
setItem(List<SalesContractItem> value)
Overwrites the list of associated SalesContractItem entities for the loaded navigation property
to_Item.
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setNmbrOfSalesContractValdtyPerd(String nmbrOfSalesContractValdtyPerd)
Constraints: Not nullable, Maximum length: 3
|
void |
setOrganizationDivision(String organizationDivision)
Constraints: Not nullable, Maximum length: 2
|
void |
setOverallSDDocumentRejectionSts(String overallSDDocumentRejectionSts)
Constraints: Not nullable, Maximum length: 1
|
void |
setOverallSDProcessStatus(String overallSDProcessStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPartner(List<SalesContractPartner> value)
Overwrites the list of associated SalesContractPartner entities for the loaded navigation property
to_Partner.
|
void |
setPaymentMethod(String paymentMethod)
Constraints: Not nullable, Maximum length: 1
|
void |
setPricingDate(LocalDateTime pricingDate)
Constraints: Not nullable, Precision: 0
|
void |
setPricingElement(List<SalesContractPrcgElmnt> value)
Overwrites the list of associated SalesContractPrcgElmnt entities for the loaded navigation property
to_PricingElement.
|
void |
setPurchaseOrderByCustomer(String purchaseOrderByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setReferenceSDDocument(String referenceSDDocument)
Constraints: Not nullable, Maximum length: 10
|
void |
setReferenceSDDocumentCategory(String referenceSDDocumentCategory)
Constraints: Not nullable, Maximum length: 4
|
void |
setRetailAdditionalCustomerGrp10(String retailAdditionalCustomerGrp10)
Constraints: Not nullable, Maximum length: 3
|
void |
setRetailAdditionalCustomerGrp6(String retailAdditionalCustomerGrp6)
Constraints: Not nullable, Maximum length: 3
|
void |
setRetailAdditionalCustomerGrp7(String retailAdditionalCustomerGrp7)
Constraints: Not nullable, Maximum length: 3
|
void |
setRetailAdditionalCustomerGrp8(String retailAdditionalCustomerGrp8)
Constraints: Not nullable, Maximum length: 3
|
void |
setRetailAdditionalCustomerGrp9(String retailAdditionalCustomerGrp9)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesContract(String salesContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSalesContractApprovalReason(String salesContractApprovalReason)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesContractDate(LocalDateTime salesContractDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesContractFollowUpAction(String salesContractFollowUpAction)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesContractSignedDate(LocalDateTime salesContractSignedDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesContractType(String salesContractType)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesContractValidityEndDate(LocalDateTime salesContractValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesContractValidityPerdCat(String salesContractValidityPerdCat)
Constraints: Not nullable, Maximum length: 2
|
void |
setSalesContractValidityPerdUnit(String salesContractValidityPerdUnit)
Constraints: Not nullable, Maximum length: 1
|
void |
setSalesContractValidityStartDate(LocalDateTime salesContractValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesDistrict(String salesDistrict)
Constraints: Not nullable, Maximum length: 6
|
void |
setSalesDocApprovalStatus(String salesDocApprovalStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setSDDocumentReason(String sDDocumentReason)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSlsContractFollowUpActionDate(LocalDateTime slsContractFollowUpActionDate)
Constraints: Not nullable, Precision: 0
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setTotalCreditCheckStatus(String totalCreditCheckStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setTotalNetAmount(BigDecimal totalNetAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setTransactionCurrency(String transactionCurrency)
Constraints: Not nullable, Maximum length: 5
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SalesContractSelectable ALL_FIELDS
public static final SalesContractField<String> SALES_CONTRACT
public static final SalesContractField<String> SALES_CONTRACT_TYPE
public static final SalesContractField<String> SALES_ORGANIZATION
public static final SalesContractField<String> DISTRIBUTION_CHANNEL
public static final SalesContractField<String> ORGANIZATION_DIVISION
public static final SalesContractField<String> SALES_GROUP
public static final SalesContractField<String> SALES_OFFICE
public static final SalesContractField<String> SALES_DISTRICT
public static final SalesContractField<String> SOLD_TO_PARTY
public static final SalesContractField<LocalDateTime> CREATION_DATE
public static final SalesContractField<String> CREATED_BY_USER
public static final SalesContractField<LocalDateTime> LAST_CHANGE_DATE
public static final SalesContractField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final SalesContractField<String> PURCHASE_ORDER_BY_CUSTOMER
public static final SalesContractField<String> CUSTOMER_PURCHASE_ORDER_TYPE
public static final SalesContractField<LocalDateTime> CUSTOMER_PURCHASE_ORDER_DATE
public static final SalesContractField<LocalDateTime> SALES_CONTRACT_DATE
public static final SalesContractField<BigDecimal> TOTAL_NET_AMOUNT
public static final SalesContractField<String> TRANSACTION_CURRENCY
public static final SalesContractField<String> SD_DOCUMENT_REASON
public static final SalesContractField<LocalDateTime> PRICING_DATE
public static final SalesContractField<String> INCOTERMS_CLASSIFICATION
public static final SalesContractField<String> INCOTERMS_TRANSFER_LOCATION
public static final SalesContractField<String> INCOTERMS_LOCATION1
public static final SalesContractField<String> INCOTERMS_LOCATION2
public static final SalesContractField<String> INCOTERMS_VERSION
public static final SalesContractField<String> CUSTOMER_PAYMENT_TERMS
public static final SalesContractField<String> PAYMENT_METHOD
public static final SalesContractField<LocalDateTime> SALES_CONTRACT_VALIDITY_START_DATE
public static final SalesContractField<LocalDateTime> SALES_CONTRACT_VALIDITY_END_DATE
public static final SalesContractField<String> SALES_CONTRACT_VALIDITY_PERD_UNIT
public static final SalesContractField<String> SALES_CONTRACT_VALIDITY_PERD_CAT
public static final SalesContractField<LocalDateTime> SALES_CONTRACT_SIGNED_DATE
public static final SalesContractField<String> NMBR_OF_SALES_CONTRACT_VALDTY_PERD
public static final SalesContractField<String> SALES_CONTRACT_FOLLOW_UP_ACTION
public static final SalesContractField<LocalDateTime> SLS_CONTRACT_FOLLOW_UP_ACTION_DATE
public static final SalesContractField<String> CONTRACT_MANUAL_COMPLETION
public static final SalesContractField<String> REFERENCE_SD_DOCUMENT
public static final SalesContractField<String> REFERENCE_SD_DOCUMENT_CATEGORY
public static final SalesContractField<String> SALES_DOC_APPROVAL_STATUS
public static final SalesContractField<String> SALES_CONTRACT_APPROVAL_REASON
public static final SalesContractField<String> OVERALL_SD_PROCESS_STATUS
public static final SalesContractField<String> TOTAL_CREDIT_CHECK_STATUS
public static final SalesContractField<String> OVERALL_SD_DOCUMENT_REJECTION_STS
public static final SalesContractField<LocalDateTime> FASHION_CANCEL_DATE
public static final SalesContractField<String> RETAIL_ADDITIONAL_CUSTOMER_GRP6
public static final SalesContractField<String> RETAIL_ADDITIONAL_CUSTOMER_GRP7
public static final SalesContractField<String> RETAIL_ADDITIONAL_CUSTOMER_GRP8
public static final SalesContractField<String> RETAIL_ADDITIONAL_CUSTOMER_GRP9
public static final SalesContractField<String> RETAIL_ADDITIONAL_CUSTOMER_GRP10
public static final SalesContractLink<SalesContractItem> TO_ITEM
public static final SalesContractLink<SalesContractPartner> TO_PARTNER
public static final SalesContractLink<SalesContractPrcgElmnt> TO_PRICING_ELEMENT
public SalesContract()
public SalesContract(@Nullable String salesContract, @Nullable String salesContractType, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, @Nullable String salesGroup, @Nullable String salesOffice, @Nullable String salesDistrict, @Nullable String soldToParty, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String purchaseOrderByCustomer, @Nullable String customerPurchaseOrderType, @Nullable LocalDateTime customerPurchaseOrderDate, @Nullable LocalDateTime salesContractDate, @Nullable BigDecimal totalNetAmount, @Nullable String transactionCurrency, @Nullable String sDDocumentReason, @Nullable LocalDateTime pricingDate, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String incotermsVersion, @Nullable String customerPaymentTerms, @Nullable String paymentMethod, @Nullable LocalDateTime salesContractValidityStartDate, @Nullable LocalDateTime salesContractValidityEndDate, @Nullable String salesContractValidityPerdUnit, @Nullable String salesContractValidityPerdCat, @Nullable LocalDateTime salesContractSignedDate, @Nullable String nmbrOfSalesContractValdtyPerd, @Nullable String salesContractFollowUpAction, @Nullable LocalDateTime slsContractFollowUpActionDate, @Nullable String contractManualCompletion, @Nullable String referenceSDDocument, @Nullable String referenceSDDocumentCategory, @Nullable String salesDocApprovalStatus, @Nullable String salesContractApprovalReason, @Nullable String overallSDProcessStatus, @Nullable String totalCreditCheckStatus, @Nullable String overallSDDocumentRejectionSts, @Nullable LocalDateTime fashionCancelDate, @Nullable String retailAdditionalCustomerGrp6, @Nullable String retailAdditionalCustomerGrp7, @Nullable String retailAdditionalCustomerGrp8, @Nullable String retailAdditionalCustomerGrp9, @Nullable String retailAdditionalCustomerGrp10, List<SalesContractItem> toItem, List<SalesContractPartner> toPartner, List<SalesContractPrcgElmnt> toPricingElement)
@Nonnull public Class<SalesContract> getType()
getType
in class VdmObject<SalesContract>
public void setSalesContract(@Nullable String salesContract)
Original property name from the Odata EDM: SalesContract
salesContract
- Sales Contractpublic void setSalesContractType(@Nullable String salesContractType)
Original property name from the Odata EDM: SalesContractType
salesContractType
- Sales Document Typepublic void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setOrganizationDivision(@Nullable String organizationDivision)
Original property name from the Odata EDM: OrganizationDivision
organizationDivision
- Divisionpublic void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
salesGroup
- Sales grouppublic void setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
salesOffice
- Sales officepublic void setSalesDistrict(@Nullable String salesDistrict)
Original property name from the Odata EDM: SalesDistrict
salesDistrict
- Sales Districtpublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Sold-To Partypublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on which the record was createdpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)public void setPurchaseOrderByCustomer(@Nullable String purchaseOrderByCustomer)
Original property name from the Odata EDM: PurchaseOrderByCustomer
purchaseOrderByCustomer
- Customer Referencepublic void setCustomerPurchaseOrderType(@Nullable String customerPurchaseOrderType)
Original property name from the Odata EDM: CustomerPurchaseOrderType
customerPurchaseOrderType
- Customer Purchase Order Typepublic void setCustomerPurchaseOrderDate(@Nullable LocalDateTime customerPurchaseOrderDate)
Original property name from the Odata EDM: CustomerPurchaseOrderDate
customerPurchaseOrderDate
- Customer Reference Datepublic void setSalesContractDate(@Nullable LocalDateTime salesContractDate)
Original property name from the Odata EDM: SalesContractDate
salesContractDate
- Document Date (Date Received/Sent)public void setTotalNetAmount(@Nullable BigDecimal totalNetAmount)
Original property name from the Odata EDM: TotalNetAmount
totalNetAmount
- Net Value of the Sales Order in Document Currencypublic void setTransactionCurrency(@Nullable String transactionCurrency)
Original property name from the Odata EDM: TransactionCurrency
transactionCurrency
- SD document currencypublic void setSDDocumentReason(@Nullable String sDDocumentReason)
Original property name from the Odata EDM: SDDocumentReason
sDDocumentReason
- Order Reason (Reason for the Business Transaction)public void setPricingDate(@Nullable LocalDateTime pricingDate)
Original property name from the Odata EDM: PricingDate
pricingDate
- Date for Pricing and Exchange Ratepublic 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 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 setCustomerPaymentTerms(@Nullable String customerPaymentTerms)
Original property name from the Odata EDM: CustomerPaymentTerms
customerPaymentTerms
- Terms of payment keypublic void setPaymentMethod(@Nullable String paymentMethod)
Original property name from the Odata EDM: PaymentMethod
paymentMethod
- Payment Methodpublic void setSalesContractValidityStartDate(@Nullable LocalDateTime salesContractValidityStartDate)
Original property name from the Odata EDM: SalesContractValidityStartDate
salesContractValidityStartDate
- Valid-From Date (Outline Agreements, Product Proposals)public void setSalesContractValidityEndDate(@Nullable LocalDateTime salesContractValidityEndDate)
Original property name from the Odata EDM: SalesContractValidityEndDate
salesContractValidityEndDate
- Valid-To Date (Outline Agreements, Product Proposals)public void setSalesContractValidityPerdUnit(@Nullable String salesContractValidityPerdUnit)
Original property name from the Odata EDM: SalesContractValidityPerdUnit
salesContractValidityPerdUnit
- Unit of Validity Period of Contractpublic void setSalesContractValidityPerdCat(@Nullable String salesContractValidityPerdCat)
Original property name from the Odata EDM: SalesContractValidityPerdCat
salesContractValidityPerdCat
- Validity Period Category of Contractpublic void setSalesContractSignedDate(@Nullable LocalDateTime salesContractSignedDate)
Original property name from the Odata EDM: SalesContractSignedDate
salesContractSignedDate
- Date on Which Contract Is Signedpublic void setNmbrOfSalesContractValdtyPerd(@Nullable String nmbrOfSalesContractValdtyPerd)
Original property name from the Odata EDM: NmbrOfSalesContractValdtyPerd
nmbrOfSalesContractValdtyPerd
- Validity Period of Contractpublic void setSalesContractFollowUpAction(@Nullable String salesContractFollowUpAction)
Original property name from the Odata EDM: SalesContractFollowUpAction
salesContractFollowUpAction
- Action at end of contractpublic void setSlsContractFollowUpActionDate(@Nullable LocalDateTime slsContractFollowUpActionDate)
Original property name from the Odata EDM: SlsContractFollowUpActionDate
slsContractFollowUpActionDate
- Date for Actionpublic void setContractManualCompletion(@Nullable String contractManualCompletion)
Original property name from the Odata EDM: ContractManualCompletion
contractManualCompletion
- Manual Completion of Contractpublic void setReferenceSDDocument(@Nullable String referenceSDDocument)
Original property name from the Odata EDM: ReferenceSDDocument
referenceSDDocument
- Document number of the reference documentpublic void setReferenceSDDocumentCategory(@Nullable String referenceSDDocumentCategory)
Original property name from the Odata EDM: ReferenceSDDocumentCategory
referenceSDDocumentCategory
- Document Category of Preceding SD Documentpublic void setSalesDocApprovalStatus(@Nullable String salesDocApprovalStatus)
Original property name from the Odata EDM: SalesDocApprovalStatus
salesDocApprovalStatus
- Document Approval Statuspublic void setSalesContractApprovalReason(@Nullable String salesContractApprovalReason)
Original property name from the Odata EDM: SalesContractApprovalReason
salesContractApprovalReason
- Approval Request Reason IDpublic void setOverallSDProcessStatus(@Nullable String overallSDProcessStatus)
Original property name from the Odata EDM: OverallSDProcessStatus
overallSDProcessStatus
- Overall Processing Status (Header/All Items)public void setTotalCreditCheckStatus(@Nullable String totalCreditCheckStatus)
Original property name from the Odata EDM: TotalCreditCheckStatus
totalCreditCheckStatus
- Overall Status of Credit Checkspublic void setOverallSDDocumentRejectionSts(@Nullable String overallSDDocumentRejectionSts)
Original property name from the Odata EDM: OverallSDDocumentRejectionSts
overallSDDocumentRejectionSts
- Rejection Status (All Items)public void setFashionCancelDate(@Nullable LocalDateTime fashionCancelDate)
Original property name from the Odata EDM: FashionCancelDate
fashionCancelDate
- Cancellation Datepublic void setRetailAdditionalCustomerGrp6(@Nullable String retailAdditionalCustomerGrp6)
Original property name from the Odata EDM: RetailAdditionalCustomerGrp6
retailAdditionalCustomerGrp6
- Customer Group 6public void setRetailAdditionalCustomerGrp7(@Nullable String retailAdditionalCustomerGrp7)
Original property name from the Odata EDM: RetailAdditionalCustomerGrp7
retailAdditionalCustomerGrp7
- Customer Group 7public void setRetailAdditionalCustomerGrp8(@Nullable String retailAdditionalCustomerGrp8)
Original property name from the Odata EDM: RetailAdditionalCustomerGrp8
retailAdditionalCustomerGrp8
- Customer Group 8public void setRetailAdditionalCustomerGrp9(@Nullable String retailAdditionalCustomerGrp9)
Original property name from the Odata EDM: RetailAdditionalCustomerGrp9
retailAdditionalCustomerGrp9
- Customer Group 9public void setRetailAdditionalCustomerGrp10(@Nullable String retailAdditionalCustomerGrp10)
Original property name from the Odata EDM: RetailAdditionalCustomerGrp10
retailAdditionalCustomerGrp10
- Customer Group 10protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SalesContract>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SalesContract>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SalesContract>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SalesContract>
@Nonnull public static <T> SalesContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> SalesContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SalesContract>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SalesContract>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SalesContract>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SalesContract>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SalesContract>
@Nonnull public List<SalesContractItem> fetchItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<SalesContractItem> getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried SalesContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<SalesContractItem>> getItemIfPresent()
If the navigation property for an entity SalesContract has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setItem(@Nonnull List<SalesContractItem> value)
If the navigation property to_Item of a queried SalesContract 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 SalesContractItem entities.public void addItem(SalesContractItem... entity)
If the navigation property to_Item of a queried SalesContract 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 SalesContractItem entities.@Nonnull public List<SalesContractPartner> fetchPartner() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<SalesContractPartner> getPartnerOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Partner of a queried SalesContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<SalesContractPartner>> getPartnerIfPresent()
If the navigation property for an entity SalesContract has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setPartner(@Nonnull List<SalesContractPartner> value)
If the navigation property to_Partner of a queried SalesContract 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 SalesContractPartner entities.public void addPartner(SalesContractPartner... entity)
If the navigation property to_Partner of a queried SalesContract 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 SalesContractPartner entities.@Nonnull public List<SalesContractPrcgElmnt> fetchPricingElement() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<SalesContractPrcgElmnt> getPricingElementOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PricingElement of a queried SalesContract is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<SalesContractPrcgElmnt>> getPricingElementIfPresent()
If the navigation property for an entity SalesContract has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setPricingElement(@Nonnull List<SalesContractPrcgElmnt> value)
If the navigation property to_PricingElement of a queried SalesContract 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 SalesContractPrcgElmnt entities.public void addPricingElement(SalesContractPrcgElmnt... entity)
If the navigation property to_PricingElement of a queried SalesContract 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 SalesContractPrcgElmnt entities.@Nonnull public static SalesContract.SalesContractBuilder builder()
@Nullable public String getSalesContract()
Original property name from the Odata EDM: SalesContract
@Nullable public String getSalesContractType()
Original property name from the Odata EDM: SalesContractType
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getOrganizationDivision()
Original property name from the Odata EDM: OrganizationDivision
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
@Nullable public String getSalesOffice()
Original property name from the Odata EDM: SalesOffice
@Nullable public String getSalesDistrict()
Original property name from the Odata EDM: SalesDistrict
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@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 LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getPurchaseOrderByCustomer()
Original property name from the Odata EDM: PurchaseOrderByCustomer
@Nullable public String getCustomerPurchaseOrderType()
Original property name from the Odata EDM: CustomerPurchaseOrderType
@Nullable public LocalDateTime getCustomerPurchaseOrderDate()
Original property name from the Odata EDM: CustomerPurchaseOrderDate
@Nullable public LocalDateTime getSalesContractDate()
Original property name from the Odata EDM: SalesContractDate
@Nullable public BigDecimal getTotalNetAmount()
Original property name from the Odata EDM: TotalNetAmount
@Nullable public String getTransactionCurrency()
Original property name from the Odata EDM: TransactionCurrency
@Nullable public String getSDDocumentReason()
Original property name from the Odata EDM: SDDocumentReason
@Nullable public LocalDateTime getPricingDate()
Original property name from the Odata EDM: PricingDate
@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 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 String getCustomerPaymentTerms()
Original property name from the Odata EDM: CustomerPaymentTerms
@Nullable public String getPaymentMethod()
Original property name from the Odata EDM: PaymentMethod
@Nullable public LocalDateTime getSalesContractValidityStartDate()
Original property name from the Odata EDM: SalesContractValidityStartDate
@Nullable public LocalDateTime getSalesContractValidityEndDate()
Original property name from the Odata EDM: SalesContractValidityEndDate
@Nullable public String getSalesContractValidityPerdUnit()
Original property name from the Odata EDM: SalesContractValidityPerdUnit
@Nullable public String getSalesContractValidityPerdCat()
Original property name from the Odata EDM: SalesContractValidityPerdCat
@Nullable public LocalDateTime getSalesContractSignedDate()
Original property name from the Odata EDM: SalesContractSignedDate
@Nullable public String getNmbrOfSalesContractValdtyPerd()
Original property name from the Odata EDM: NmbrOfSalesContractValdtyPerd
@Nullable public String getSalesContractFollowUpAction()
Original property name from the Odata EDM: SalesContractFollowUpAction
@Nullable public LocalDateTime getSlsContractFollowUpActionDate()
Original property name from the Odata EDM: SlsContractFollowUpActionDate
@Nullable public String getContractManualCompletion()
Original property name from the Odata EDM: ContractManualCompletion
@Nullable public String getReferenceSDDocument()
Original property name from the Odata EDM: ReferenceSDDocument
@Nullable public String getReferenceSDDocumentCategory()
Original property name from the Odata EDM: ReferenceSDDocumentCategory
@Nullable public String getSalesDocApprovalStatus()
Original property name from the Odata EDM: SalesDocApprovalStatus
@Nullable public String getSalesContractApprovalReason()
Original property name from the Odata EDM: SalesContractApprovalReason
@Nullable public String getOverallSDProcessStatus()
Original property name from the Odata EDM: OverallSDProcessStatus
@Nullable public String getTotalCreditCheckStatus()
Original property name from the Odata EDM: TotalCreditCheckStatus
@Nullable public String getOverallSDDocumentRejectionSts()
Original property name from the Odata EDM: OverallSDDocumentRejectionSts
@Nullable public LocalDateTime getFashionCancelDate()
Original property name from the Odata EDM: FashionCancelDate
@Nullable public String getRetailAdditionalCustomerGrp6()
Original property name from the Odata EDM: RetailAdditionalCustomerGrp6
@Nullable public String getRetailAdditionalCustomerGrp7()
Original property name from the Odata EDM: RetailAdditionalCustomerGrp7
@Nullable public String getRetailAdditionalCustomerGrp8()
Original property name from the Odata EDM: RetailAdditionalCustomerGrp8
@Nullable public String getRetailAdditionalCustomerGrp9()
Original property name from the Odata EDM: RetailAdditionalCustomerGrp9
@Nullable public String getRetailAdditionalCustomerGrp10()
Original property name from the Odata EDM: RetailAdditionalCustomerGrp10
@Nonnull public String toString()
toString
in class VdmObject<SalesContract>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SalesContract>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SalesContract>
public int hashCode()
hashCode
in class VdmObject<SalesContract>
Copyright © 2021 SAP SE. All rights reserved.