Class CntrlPurContrHdrDistribution
Original entity name from the Odata EDM: A_CntrlPurContrHdrDistributionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CntrlPurContrHdrDistribution instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CntrlPurContrHdrDistributionSelectableSelector for all available fields of CntrlPurContrHdrDistribution.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Days field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Days field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the CntrlPurContrDistrCurrency field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CntrlPurContrDistributionPct field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the CntrlPurContrItmDistrAmt field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the DistributionKey field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the IncotermsClassification field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.static final CntrlPurContrHdrDistributionField<Boolean>Use with available fluent helpers to apply the IsDeleted field to query operations.static final CntrlPurContrHdrDistributionField<BigDecimal>Use with available fluent helpers to apply the NetPaymentDays field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the PaymentTerms field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcmtHubCompanyCode field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcmtHubCompanyCodeGroupingID field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcmtHubPlant field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcmtHubPurchasingGroup field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcmtHubPurchasingOrg field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the PurchasingDocumentType field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the PurchasingInfoRecordUpdateCode field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ReferenceDistributionNumber field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the ShippingInstruction field to query operations.static final CntrlPurContrHdrDistributionField<Boolean>Use with available fluent helpers to apply the SourceListIsUpdated field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the SourceListRestriction field to query operations.static final CntrlPurContrHdrDistributionField<String>Use with available fluent helpers to apply the StorageLocation field to query operations.Use with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations.static final CntrlPurContrHdrDistributionLink<CntrlPurContrHeaderPartner>Use with available fluent helpers to apply the to_CntrlPurContrHeaderPartner navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCntrlPurContrHdrDistribution(String centralPurchaseContract, String distributionKey, String centralPurchaseContractItem, String procmtHubCompanyCode, String procmtHubPlant, String procmtHubPurchasingOrg, String procmtHubPurchasingGroup, String procmtHubCompanyCodeGroupingID, String cntrlPurContrDistrCurrency, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal netPaymentDays, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, String purchasingDocumentCategory, String purchasingDocumentType, String storageLocation, BigDecimal cntrlPurContrDistributionPct, String incotermsClassification, String incotermsLocation1, String shippingInstruction, BigDecimal cntrlPurContrItmDistrAmt, String procurementHubSourceSystem, Boolean isDeleted, String purchasingInfoRecordUpdateCode, Boolean sourceListIsUpdated, String sourceListRestriction, String referenceDistributionNumber, CentralPurchaseContract toCentralPurchaseContract, List<CntrlPurContrHeaderPartner> toCntrlPurContrHeaderPartner) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CntrlPurContrHeaderPartner entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CentralPurchaseContract entity (one to one) associated with this entity.Fetches the CntrlPurContrHeaderPartner entities (one to many) associated with this entity.static <T,DomainT>
CntrlPurContrHdrDistributionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CntrlPurContrHdrDistributionField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<CentralPurchaseContract>Retrieval of associated CentralPurchaseContract entity (one to one).Constraints: Not nullable, Maximum length: 5Retrieval of associated CentralPurchaseContract entity (one to one).Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 6, Scale: 3io.vavr.control.Option<List<CntrlPurContrHeaderPartner>>Retrieval of associated CntrlPurContrHeaderPartner entities (one to many).Retrieval of associated CntrlPurContrHeaderPartner entities (one to many).Constraints: Not nullable, Precision: 15, Scale: 3protected String(Key Field) Constraints: Not nullable, Maximum length: 4protected StringConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 70Constraints: nonegetKey()Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2Constraints: noneConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetCashDiscount1Days(BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount1Percent(BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCashDiscount2Days(BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount2Percent(BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidOverwrites the associated CentralPurchaseContract entity for the loaded navigation property to_CentralPurchaseContract.voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCentralPurchaseContractItem(String centralPurchaseContractItem) Constraints: Not nullable, Maximum length: 5voidsetCntrlPurContrDistrCurrency(String cntrlPurContrDistrCurrency) Constraints: Not nullable, Maximum length: 5voidsetCntrlPurContrDistributionPct(BigDecimal cntrlPurContrDistributionPct) Constraints: Not nullable, Precision: 6, Scale: 3voidOverwrites the list of associated CntrlPurContrHeaderPartner entities for the loaded navigation property to_CntrlPurContrHeaderPartner.voidsetCntrlPurContrItmDistrAmt(BigDecimal cntrlPurContrItmDistrAmt) Constraints: Not nullable, Precision: 15, Scale: 3voidsetDistributionKey(String distributionKey) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetIncotermsClassification(String incotermsClassification) Constraints: Not nullable, Maximum length: 3voidsetIncotermsLocation1(String incotermsLocation1) Constraints: Not nullable, Maximum length: 70voidsetIsDeleted(Boolean isDeleted) Constraints: nonevoidsetNetPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0voidsetPaymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubCompanyCode(String procmtHubCompanyCode) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubCompanyCodeGroupingID(String procmtHubCompanyCodeGroupingID) Constraints: Not nullable, Maximum length: 3voidsetProcmtHubPlant(String procmtHubPlant) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubPurchasingGroup(String procmtHubPurchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetProcmtHubPurchasingOrg(String procmtHubPurchasingOrg) Constraints: Not nullable, Maximum length: 4voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidsetPurchasingDocumentCategory(String purchasingDocumentCategory) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentType(String purchasingDocumentType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingInfoRecordUpdateCode(String purchasingInfoRecordUpdateCode) Constraints: Not nullable, Maximum length: 1voidsetReferenceDistributionNumber(String referenceDistributionNumber) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShippingInstruction(String shippingInstruction) Constraints: Not nullable, Maximum length: 2voidsetSourceListIsUpdated(Boolean sourceListIsUpdated) Constraints: nonevoidsetSourceListRestriction(String sourceListRestriction) Constraints: Not nullable, Maximum length: 2voidsetStorageLocation(String storageLocation) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CntrlPurContrHdrDistribution. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
DISTRIBUTION_KEY
Use with available fluent helpers to apply the DistributionKey field to query operations. -
CENTRAL_PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations. -
PROCMT_HUB_COMPANY_CODE
Use with available fluent helpers to apply the ProcmtHubCompanyCode field to query operations. -
PROCMT_HUB_PLANT
Use with available fluent helpers to apply the ProcmtHubPlant field to query operations. -
PROCMT_HUB_PURCHASING_ORG
Use with available fluent helpers to apply the ProcmtHubPurchasingOrg field to query operations. -
PROCMT_HUB_PURCHASING_GROUP
Use with available fluent helpers to apply the ProcmtHubPurchasingGroup field to query operations. -
PROCMT_HUB_COMPANY_CODE_GROUPING_ID
Use with available fluent helpers to apply the ProcmtHubCompanyCodeGroupingID field to query operations. -
CNTRL_PUR_CONTR_DISTR_CURRENCY
Use with available fluent helpers to apply the CntrlPurContrDistrCurrency field to query operations. -
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations. -
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations. -
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations. -
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations. -
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations. -
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations. -
PURCHASING_DOCUMENT_CATEGORY
Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations. -
PURCHASING_DOCUMENT_TYPE
Use with available fluent helpers to apply the PurchasingDocumentType field to query operations. -
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations. -
CNTRL_PUR_CONTR_DISTRIBUTION_PCT
Use with available fluent helpers to apply the CntrlPurContrDistributionPct field to query operations. -
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations. -
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations. -
SHIPPING_INSTRUCTION
Use with available fluent helpers to apply the ShippingInstruction field to query operations. -
CNTRL_PUR_CONTR_ITM_DISTR_AMT
Use with available fluent helpers to apply the CntrlPurContrItmDistrAmt field to query operations. -
PROCUREMENT_HUB_SOURCE_SYSTEM
Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations. -
IS_DELETED
Use with available fluent helpers to apply the IsDeleted field to query operations. -
PURCHASING_INFO_RECORD_UPDATE_CODE
Use with available fluent helpers to apply the PurchasingInfoRecordUpdateCode field to query operations. -
SOURCE_LIST_IS_UPDATED
Use with available fluent helpers to apply the SourceListIsUpdated field to query operations. -
SOURCE_LIST_RESTRICTION
Use with available fluent helpers to apply the SourceListRestriction field to query operations. -
REFERENCE_DISTRIBUTION_NUMBER
Use with available fluent helpers to apply the ReferenceDistributionNumber field to query operations. -
TO_CENTRAL_PURCHASE_CONTRACT
public static final CntrlPurContrHdrDistributionOneToOneLink<CentralPurchaseContract> TO_CENTRAL_PURCHASE_CONTRACTUse with available fluent helpers to apply the to_CentralPurchaseContract navigation property to query operations. -
TO_CNTRL_PUR_CONTR_HEADER_PARTNER
public static final CntrlPurContrHdrDistributionLink<CntrlPurContrHeaderPartner> TO_CNTRL_PUR_CONTR_HEADER_PARTNERUse with available fluent helpers to apply the to_CntrlPurContrHeaderPartner navigation property to query operations.
-
-
Constructor Details
-
CntrlPurContrHdrDistribution
public CntrlPurContrHdrDistribution() -
CntrlPurContrHdrDistribution
public CntrlPurContrHdrDistribution(@Nullable String centralPurchaseContract, @Nullable String distributionKey, @Nullable String centralPurchaseContractItem, @Nullable String procmtHubCompanyCode, @Nullable String procmtHubPlant, @Nullable String procmtHubPurchasingOrg, @Nullable String procmtHubPurchasingGroup, @Nullable String procmtHubCompanyCodeGroupingID, @Nullable String cntrlPurContrDistrCurrency, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentType, @Nullable String storageLocation, @Nullable BigDecimal cntrlPurContrDistributionPct, @Nullable String incotermsClassification, @Nullable String incotermsLocation1, @Nullable String shippingInstruction, @Nullable BigDecimal cntrlPurContrItmDistrAmt, @Nullable String procurementHubSourceSystem, @Nullable Boolean isDeleted, @Nullable String purchasingInfoRecordUpdateCode, @Nullable Boolean sourceListIsUpdated, @Nullable String sourceListRestriction, @Nullable String referenceDistributionNumber, @Nullable CentralPurchaseContract toCentralPurchaseContract, List<CntrlPurContrHeaderPartner> toCntrlPurContrHeaderPartner)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CntrlPurContrHdrDistribution>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Purchasing Document Number
-
setDistributionKey
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DistributionKey
- Parameters:
distributionKey- Distribution Number of Central Purchasing Document
-
setCentralPurchaseContractItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CentralPurchaseContractItem
- Parameters:
centralPurchaseContractItem- Item Number of Purchasing Document
-
setProcmtHubCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubCompanyCode
- Parameters:
procmtHubCompanyCode- Company Code
-
setProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Parameters:
procmtHubPlant- Plant
-
setProcmtHubPurchasingOrg
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPurchasingOrg
- Parameters:
procmtHubPurchasingOrg- Purchasing Organization
-
setProcmtHubPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProcmtHubPurchasingGroup
- Parameters:
procmtHubPurchasingGroup- Purchasing Group
-
setProcmtHubCompanyCodeGroupingID
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID
- Parameters:
procmtHubCompanyCodeGroupingID- Grouping ID for Company Codes
-
setCntrlPurContrDistrCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CntrlPurContrDistrCurrency
- Parameters:
cntrlPurContrDistrCurrency- Currency Key
-
setPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Parameters:
paymentTerms- Terms of Payment Key
-
setCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Parameters:
cashDiscount1Days- Cash discount days 1
-
setCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Parameters:
cashDiscount2Days- Cash discount days 2
-
setNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Parameters:
netPaymentDays- Net Payment Terms Period
-
setCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Parameters:
cashDiscount1Percent- Cash Discount Percentage 1
-
setCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Parameters:
cashDiscount2Percent- Cash Discount Percentage 2
-
setPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Parameters:
purchasingDocumentCategory- Purchasing Document Category
-
setPurchasingDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocumentType
- Parameters:
purchasingDocumentType- Purchasing Document Type
-
setStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setCntrlPurContrDistributionPct
Constraints: Not nullable, Precision: 6, Scale: 3Original property name from the Odata EDM: CntrlPurContrDistributionPct
- Parameters:
cntrlPurContrDistributionPct- Distribution Percentage in Central Purchasing Document
-
setIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Parameters:
incotermsClassification- Incoterms (Part 1)
-
setIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Parameters:
incotermsLocation1- Incoterms Location 1
-
setShippingInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShippingInstruction
- Parameters:
shippingInstruction- Shipping Instructions
-
setCntrlPurContrItmDistrAmt
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: CntrlPurContrItmDistrAmt
- Parameters:
cntrlPurContrItmDistrAmt- Target Value for Header Area per Distribution
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Logical System
-
setIsDeleted
Constraints: noneOriginal property name from the Odata EDM: IsDeleted
- Parameters:
isDeleted- Boolean Variable (X = True, - = False, Space = Unknown)
-
setPurchasingInfoRecordUpdateCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingInfoRecordUpdateCode
- Parameters:
purchasingInfoRecordUpdateCode- Indicator: Update Info Record
-
setSourceListIsUpdated
Constraints: noneOriginal property name from the Odata EDM: SourceListIsUpdated
- Parameters:
sourceListIsUpdated- Checkbox
-
setSourceListRestriction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceListRestriction
- Parameters:
sourceListRestriction- Source List Restriction Indicator
-
setReferenceDistributionNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReferenceDistributionNumber
- Parameters:
referenceDistributionNumber- Distribution Number of Central Purchasing Document
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CntrlPurContrHdrDistribution>
-
getKey
- Overrides:
getKeyin classVdmObject<CntrlPurContrHdrDistribution>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CntrlPurContrHdrDistribution>
-
fromMap
- Overrides:
fromMapin classVdmObject<CntrlPurContrHdrDistribution>
-
field
@Nonnull public static <T> CntrlPurContrHdrDistributionField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CntrlPurContrHdrDistributionField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CntrlPurContrHdrDistribution>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CntrlPurContrHdrDistribution>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CntrlPurContrHdrDistribution>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CntrlPurContrHdrDistribution>
-
fetchCentralPurchaseContract
Fetches the CentralPurchaseContract entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CentralPurchaseContract.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CentralPurchaseContract entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCentralPurchaseContractOrFetch
Retrieval of associated CentralPurchaseContract entity (one to one). This corresponds to the OData navigation property to_CentralPurchaseContract.If the navigation property to_CentralPurchaseContract of a queried CntrlPurContrHdrDistribution 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.
- Returns:
- List of associated CentralPurchaseContract entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCentralPurchaseContractIfPresent
@Nonnull public io.vavr.control.Option<CentralPurchaseContract> getCentralPurchaseContractIfPresent()Retrieval of associated CentralPurchaseContract entity (one to one). This corresponds to the OData navigation property to_CentralPurchaseContract.If the navigation property for an entity CntrlPurContrHdrDistribution has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CentralPurchaseContract is already loaded, the
result will contain the CentralPurchaseContract entity. If not, an
Optionwith result stateemptyis returned.
-
setCentralPurchaseContract
Overwrites the associated CentralPurchaseContract entity for the loaded navigation property to_CentralPurchaseContract.- Parameters:
value- New CentralPurchaseContract entity.
-
fetchCntrlPurContrHeaderPartner
Fetches the CntrlPurContrHeaderPartner entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CntrlPurContrHeaderPartner.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CntrlPurContrHeaderPartner entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHeaderPartnerOrFetch
Retrieval of associated CntrlPurContrHeaderPartner entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHeaderPartner.If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution 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.
- Returns:
- List of associated CntrlPurContrHeaderPartner entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCntrlPurContrHeaderPartnerIfPresent
@Nonnull public io.vavr.control.Option<List<CntrlPurContrHeaderPartner>> getCntrlPurContrHeaderPartnerIfPresent()Retrieval of associated CntrlPurContrHeaderPartner entities (one to many). This corresponds to the OData navigation property to_CntrlPurContrHeaderPartner.If the navigation property for an entity CntrlPurContrHdrDistribution has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CntrlPurContrHeaderPartner is already loaded, the
result will contain the CntrlPurContrHeaderPartner entities. If not, an
Optionwith result stateemptyis returned.
-
setCntrlPurContrHeaderPartner
Overwrites the list of associated CntrlPurContrHeaderPartner entities for the loaded navigation property to_CntrlPurContrHeaderPartner.If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution 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.
- Parameters:
value- List of CntrlPurContrHeaderPartner entities.
-
addCntrlPurContrHeaderPartner
Adds elements to the list of associated CntrlPurContrHeaderPartner entities. This corresponds to the OData navigation property to_CntrlPurContrHeaderPartner.If the navigation property to_CntrlPurContrHeaderPartner of a queried CntrlPurContrHdrDistribution 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.
- Parameters:
entity- Array of CntrlPurContrHeaderPartner entities.
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Purchasing Document Number
-
getDistributionKey
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DistributionKey
- Returns:
- Distribution Number of Central Purchasing Document
-
getCentralPurchaseContractItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CentralPurchaseContractItem
- Returns:
- Item Number of Purchasing Document
-
getProcmtHubCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubCompanyCode
- Returns:
- Company Code
-
getProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Returns:
- Plant
-
getProcmtHubPurchasingOrg
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPurchasingOrg
- Returns:
- Purchasing Organization
-
getProcmtHubPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProcmtHubPurchasingGroup
- Returns:
- Purchasing Group
-
getProcmtHubCompanyCodeGroupingID
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID
- Returns:
- Grouping ID for Company Codes
-
getCntrlPurContrDistrCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CntrlPurContrDistrCurrency
- Returns:
- Currency Key
-
getPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Returns:
- Terms of Payment Key
-
getCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Returns:
- Cash discount days 1
-
getCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Returns:
- Cash discount days 2
-
getNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Returns:
- Net Payment Terms Period
-
getCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Returns:
- Cash Discount Percentage 1
-
getCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Returns:
- Cash Discount Percentage 2
-
getPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Returns:
- Purchasing Document Category
-
getPurchasingDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocumentType
- Returns:
- Purchasing Document Type
-
getStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getCntrlPurContrDistributionPct
Constraints: Not nullable, Precision: 6, Scale: 3Original property name from the Odata EDM: CntrlPurContrDistributionPct
- Returns:
- Distribution Percentage in Central Purchasing Document
-
getIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Returns:
- Incoterms (Part 1)
-
getIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Returns:
- Incoterms Location 1
-
getShippingInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShippingInstruction
- Returns:
- Shipping Instructions
-
getCntrlPurContrItmDistrAmt
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: CntrlPurContrItmDistrAmt
- Returns:
- Target Value for Header Area per Distribution
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Logical System
-
getIsDeleted
Constraints: noneOriginal property name from the Odata EDM: IsDeleted
- Returns:
- Boolean Variable (X = True, - = False, Space = Unknown)
-
getPurchasingInfoRecordUpdateCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingInfoRecordUpdateCode
- Returns:
- Indicator: Update Info Record
-
getSourceListIsUpdated
Constraints: noneOriginal property name from the Odata EDM: SourceListIsUpdated
- Returns:
- Checkbox
-
getSourceListRestriction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceListRestriction
- Returns:
- Source List Restriction Indicator
-
getReferenceDistributionNumber
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReferenceDistributionNumber
- Returns:
- Distribution Number of Central Purchasing Document
-
toString
- Overrides:
toStringin classVdmObject<CntrlPurContrHdrDistribution>
-
equals
- Overrides:
equalsin classVdmEntity<CntrlPurContrHdrDistribution>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CntrlPurContrHdrDistribution>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CntrlPurContrHdrDistribution>
-