public class PurgPricingProcedureItem extends VdmEntity<PurgPricingProcedureItem>
Original entity name from the Odata EDM: A_PurgPricingProcedureItemType
Modifier and Type | Class and Description |
---|---|
static class |
PurgPricingProcedureItem.PurgPricingProcedureItemBuilder
Helper class to allow for fluent creation of PurgPricingProcedureItem instances.
|
Modifier and Type | Field and Description |
---|---|
static PurgPricingProcedureItemField<String> |
ACCOUNT_KEY_FOR_GL_ACCOUNT
Use with available fluent helpers to apply the AccountKeyForGLAccount field to query operations.
|
static PurgPricingProcedureItemField<String> |
ACCT_KEY_FOR_ACCRUALS_GL_ACCOUNT
Use with available fluent helpers to apply the AcctKeyForAccrualsGLAccount field to query operations.
|
static PurgPricingProcedureItemSelectable |
ALL_FIELDS
Selector for all available fields of PurgPricingProcedureItem.
|
static PurgPricingProcedureItemField<Boolean> |
CNDN_IS_ACCT_DETN_RELEVANT
Use with available fluent helpers to apply the CndnIsAcctDetnRelevant field to query operations.
|
static PurgPricingProcedureItemField<String> |
CONDITION_APPLICATION
Use with available fluent helpers to apply the ConditionApplication field to query operations.
|
static PurgPricingProcedureItemField<Boolean> |
CONDITION_IS_FOR_STATISTICS
Use with available fluent helpers to apply the ConditionIsForStatistics field to query operations.
|
static PurgPricingProcedureItemField<Boolean> |
CONDITION_IS_MANDATORY
Use with available fluent helpers to apply the ConditionIsMandatory field to query operations.
|
static PurgPricingProcedureItemField<Boolean> |
CONDITION_IS_MANUALLY_DTMND
Use with available fluent helpers to apply the ConditionIsManuallyDtmnd field to query operations.
|
static PurgPricingProcedureItemField<String> |
CONDITION_TYPE
Use with available fluent helpers to apply the ConditionType field to query operations.
|
static PurgPricingProcedureItemField<String> |
CONDITION_USAGE
Use with available fluent helpers to apply the ConditionUsage field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRCG_PROCED_ITEM_FROM_REF_STEP
Use with available fluent helpers to apply the PrcgProcedItemFromRefStep field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRCG_PROCED_ITEM_SUBTOTAL
Use with available fluent helpers to apply the PrcgProcedItemSubtotal field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRCG_PROCED_ITEM_TO_REF_STEP
Use with available fluent helpers to apply the PrcgProcedItemToRefStep field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRICING_PROCEDURE
Use with available fluent helpers to apply the PricingProcedure field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRICING_PROCEDURE_COUNTER
Use with available fluent helpers to apply the PricingProcedureCounter field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRICING_PROCEDURE_ITEM_PRINT_TYPE
Use with available fluent helpers to apply the PricingProcedureItemPrintType field to query operations.
|
static PurgPricingProcedureItemField<String> |
PRICING_PROCEDURE_STEP
Use with available fluent helpers to apply the PricingProcedureStep field to query operations.
|
static PurgPricingProcedureItemOneToOneLink<PurgPricingConditionType> |
TO_PURG_PRICING_CONDITION_TYPE
Use with available fluent helpers to apply the to_PurgPricingConditionType navigation property to query
operations.
|
static PurgPricingProcedureItemOneToOneLink<PurgPricingProcedure> |
TO_PURG_PRICING_PROCEDURE
Use with available fluent helpers to apply the to_PurgPricingProcedure navigation property to query
operations.
|
static PurgPricingProcedureItemLink<PurgPrcgProcedItemText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurgPricingProcedureItem() |
PurgPricingProcedureItem(String conditionUsage,
String conditionApplication,
String pricingProcedure,
String pricingProcedureStep,
String pricingProcedureCounter,
String conditionType,
String prcgProcedItemFromRefStep,
String prcgProcedItemToRefStep,
Boolean conditionIsManuallyDtmnd,
String prcgProcedItemSubtotal,
Boolean conditionIsForStatistics,
String accountKeyForGLAccount,
String acctKeyForAccrualsGLAccount,
String pricingProcedureItemPrintType,
Boolean conditionIsMandatory,
Boolean cndnIsAcctDetnRelevant,
PurgPricingConditionType toPurgPricingConditionType,
PurgPricingProcedure toPurgPricingProcedure,
List<PurgPrcgProcedItemText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addText(PurgPrcgProcedItemText... entity)
Adds elements to the list of associated PurgPrcgProcedItemText entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static PurgPricingProcedureItem.PurgPricingProcedureItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PurgPricingConditionType |
fetchPurgPricingConditionType()
Fetches the PurgPricingConditionType entity (one to one) associated with this entity.
|
PurgPricingProcedure |
fetchPurgPricingProcedure()
Fetches the PurgPricingProcedure entity (one to one) associated with this entity.
|
List<PurgPrcgProcedItemText> |
fetchText()
Fetches the PurgPrcgProcedItemText entities (one to many) associated with this entity.
|
static <T> PurgPricingProcedureItemField<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 |
getAccountKeyForGLAccount()
Constraints: Not nullable, Maximum length: 3
|
String |
getAcctKeyForAccrualsGLAccount()
Constraints: Not nullable, Maximum length: 3
|
Boolean |
getCndnIsAcctDetnRelevant()
Constraints: none
|
String |
getConditionApplication()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Boolean |
getConditionIsForStatistics()
Constraints: none
|
Boolean |
getConditionIsMandatory()
Constraints: none
|
Boolean |
getConditionIsManuallyDtmnd()
Constraints: none
|
String |
getConditionType()
Constraints: Not nullable, Maximum length: 4
|
String |
getConditionUsage()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getPrcgProcedItemFromRefStep()
Constraints: Not nullable, Maximum length: 3
|
String |
getPrcgProcedItemSubtotal()
Constraints: Not nullable, Maximum length: 1
|
String |
getPrcgProcedItemToRefStep()
Constraints: Not nullable, Maximum length: 3
|
String |
getPricingProcedure()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getPricingProcedureCounter()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPricingProcedureItemPrintType()
Constraints: Not nullable, Maximum length: 1
|
String |
getPricingProcedureStep()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
Optional<PurgPricingConditionType> |
getPurgPricingConditionTypeIfPresent()
Retrieval of associated PurgPricingConditionType entity (one to one).
|
PurgPricingConditionType |
getPurgPricingConditionTypeOrFetch()
Retrieval of associated PurgPricingConditionType entity (one to one).
|
Optional<PurgPricingProcedure> |
getPurgPricingProcedureIfPresent()
Retrieval of associated PurgPricingProcedure entity (one to one).
|
PurgPricingProcedure |
getPurgPricingProcedureOrFetch()
Retrieval of associated PurgPricingProcedure entity (one to one).
|
Optional<List<PurgPrcgProcedItemText>> |
getTextIfPresent()
Retrieval of associated PurgPrcgProcedItemText entities (one to many).
|
List<PurgPrcgProcedItemText> |
getTextOrFetch()
Retrieval of associated PurgPrcgProcedItemText entities (one to many).
|
Class<PurgPricingProcedureItem> |
getType() |
int |
hashCode() |
void |
setAccountKeyForGLAccount(String accountKeyForGLAccount)
Constraints: Not nullable, Maximum length: 3
|
void |
setAcctKeyForAccrualsGLAccount(String acctKeyForAccrualsGLAccount)
Constraints: Not nullable, Maximum length: 3
|
void |
setCndnIsAcctDetnRelevant(Boolean cndnIsAcctDetnRelevant)
Constraints: none
|
void |
setConditionApplication(String conditionApplication)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setConditionIsForStatistics(Boolean conditionIsForStatistics)
Constraints: none
|
void |
setConditionIsMandatory(Boolean conditionIsMandatory)
Constraints: none
|
void |
setConditionIsManuallyDtmnd(Boolean conditionIsManuallyDtmnd)
Constraints: none
|
void |
setConditionType(String conditionType)
Constraints: Not nullable, Maximum length: 4
|
void |
setConditionUsage(String conditionUsage)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setPrcgProcedItemFromRefStep(String prcgProcedItemFromRefStep)
Constraints: Not nullable, Maximum length: 3
|
void |
setPrcgProcedItemSubtotal(String prcgProcedItemSubtotal)
Constraints: Not nullable, Maximum length: 1
|
void |
setPrcgProcedItemToRefStep(String prcgProcedItemToRefStep)
Constraints: Not nullable, Maximum length: 3
|
void |
setPricingProcedure(String pricingProcedure)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setPricingProcedureCounter(String pricingProcedureCounter)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPricingProcedureItemPrintType(String pricingProcedureItemPrintType)
Constraints: Not nullable, Maximum length: 1
|
void |
setPricingProcedureStep(String pricingProcedureStep)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPurgPricingConditionType(PurgPricingConditionType value)
Overwrites the associated PurgPricingConditionType entity for the loaded navigation property
to_PurgPricingConditionType.
|
void |
setPurgPricingProcedure(PurgPricingProcedure value)
Overwrites the associated PurgPricingProcedure entity for the loaded navigation property
to_PurgPricingProcedure.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setText(List<PurgPrcgProcedItemText> value)
Overwrites the list of associated PurgPrcgProcedItemText entities for the loaded navigation property
to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PurgPricingProcedureItemSelectable ALL_FIELDS
public static final PurgPricingProcedureItemField<String> CONDITION_USAGE
public static final PurgPricingProcedureItemField<String> CONDITION_APPLICATION
public static final PurgPricingProcedureItemField<String> PRICING_PROCEDURE
public static final PurgPricingProcedureItemField<String> PRICING_PROCEDURE_STEP
public static final PurgPricingProcedureItemField<String> PRICING_PROCEDURE_COUNTER
public static final PurgPricingProcedureItemField<String> CONDITION_TYPE
public static final PurgPricingProcedureItemField<String> PRCG_PROCED_ITEM_FROM_REF_STEP
public static final PurgPricingProcedureItemField<String> PRCG_PROCED_ITEM_TO_REF_STEP
public static final PurgPricingProcedureItemField<Boolean> CONDITION_IS_MANUALLY_DTMND
public static final PurgPricingProcedureItemField<String> PRCG_PROCED_ITEM_SUBTOTAL
public static final PurgPricingProcedureItemField<Boolean> CONDITION_IS_FOR_STATISTICS
public static final PurgPricingProcedureItemField<String> ACCOUNT_KEY_FOR_GL_ACCOUNT
public static final PurgPricingProcedureItemField<String> ACCT_KEY_FOR_ACCRUALS_GL_ACCOUNT
public static final PurgPricingProcedureItemField<String> PRICING_PROCEDURE_ITEM_PRINT_TYPE
public static final PurgPricingProcedureItemField<Boolean> CONDITION_IS_MANDATORY
public static final PurgPricingProcedureItemField<Boolean> CNDN_IS_ACCT_DETN_RELEVANT
public static final PurgPricingProcedureItemOneToOneLink<PurgPricingConditionType> TO_PURG_PRICING_CONDITION_TYPE
public static final PurgPricingProcedureItemOneToOneLink<PurgPricingProcedure> TO_PURG_PRICING_PROCEDURE
public static final PurgPricingProcedureItemLink<PurgPrcgProcedItemText> TO_TEXT
public PurgPricingProcedureItem()
public PurgPricingProcedureItem(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String pricingProcedure, @Nullable String pricingProcedureStep, @Nullable String pricingProcedureCounter, @Nullable String conditionType, @Nullable String prcgProcedItemFromRefStep, @Nullable String prcgProcedItemToRefStep, @Nullable Boolean conditionIsManuallyDtmnd, @Nullable String prcgProcedItemSubtotal, @Nullable Boolean conditionIsForStatistics, @Nullable String accountKeyForGLAccount, @Nullable String acctKeyForAccrualsGLAccount, @Nullable String pricingProcedureItemPrintType, @Nullable Boolean conditionIsMandatory, @Nullable Boolean cndnIsAcctDetnRelevant, @Nullable PurgPricingConditionType toPurgPricingConditionType, @Nullable PurgPricingProcedure toPurgPricingProcedure, List<PurgPrcgProcedItemText> toText)
@Nonnull public Class<PurgPricingProcedureItem> getType()
getType
in class VdmObject<PurgPricingProcedureItem>
public void setConditionUsage(@Nullable String conditionUsage)
Original property name from the Odata EDM: ConditionUsage
conditionUsage
- Determines for which area the condition is used (for example, pricing or output).public void setConditionApplication(@Nullable String conditionApplication)
Original property name from the Odata EDM: ConditionApplication
conditionApplication
- Subdivides the usage of a condition (for example, pricing) for use in different application areas (for
example, sales & distribution or purchasing).public void setPricingProcedure(@Nullable String pricingProcedure)
Original property name from the Odata EDM: PricingProcedure
Procedures are used, for example, in the following applications:Pricing in Sales and DistributionAccount determinationCalculating taxes on sales/purchases
pricingProcedure
- Specifies the conditions that are allowed for a document and defines the sequence in which they are
used.public void setPricingProcedureStep(@Nullable String pricingProcedureStep)
Original property name from the Odata EDM: PricingProcedureStep
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.public void setPricingProcedureCounter(@Nullable String pricingProcedureCounter)
Original property name from the Odata EDM: PricingProcedureCounter
During automatic pricing, the system takes into account the sequence specified by the counter.
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.public void setConditionType(@Nullable String conditionType)
Original property name from the Odata EDM: ConditionType
conditionType
- The condition type is used for different functions. In pricing, for example, the condition type lets
you differentiate between different kinds of discount; in output determination, between different
output types such as order confirmation or delivery note; in batch determination, between different
strategy types.public void setPrcgProcedItemFromRefStep(@Nullable String prcgProcedItemFromRefStep)
Original property name from the Odata EDM: PrcgProcedItemFromRefStep
If you specify a to-reference step at the same time, the condition values of the two steps specified and the conditions values of the steps in between are totaled. In this case, percentage surcharges are calculated on the basis of the total.Example:| Step | Condition Type | Description | From-Step | To-Step | Account Key |10 A-B1 Wages 20 A-B2 Salaries 30 A-B3 Overtime/Wages 40 A-Z1 Vacation bonus 10 30 E11The surcharge for step 40 is added to the total of steps 10 to 30.
prcgProcedItemFromRefStep
- The step referring to a condition, whose value is the basis for percentage surcharges.public void setPrcgProcedItemToRefStep(@Nullable String prcgProcedItemToRefStep)
Original property name from the Odata EDM: PrcgProcedItemToRefStep
If you specify a from-reference step at the same time, the condition values of the two steps specified and the condition values of the steps in between are totaled.Example:| Step | Condition Type | Description | From-Step | To-Step | Account Key |10 A-B1 Wages 20 A-B2 Salaries 30 A-B3 Overtime/Wages 40 A-Z1 Vacation bonus 10 30 E11The surcharge for step 40 is added to the total of steps 10 to 30.
prcgProcedItemToRefStep
- The step referring to a condition, up to which the condition values of the previous steps are totaled.
Percentage surcharges are calculated on the basis of the total.public void setConditionIsManuallyDtmnd(@Nullable Boolean conditionIsManuallyDtmnd)
Original property name from the Odata EDM: ConditionIsManuallyDtmnd
conditionIsManuallyDtmnd
- Conditions, that are given this indicator in the pricing procedure, are only included in determination
(price determination, outputdetermination, batch determination) either if they are entered manually,
for example, on the condition overview screen in Pricing or if they are transferred from an external
process, such as costing.public void setPrcgProcedItemSubtotal(@Nullable String prcgProcedItemSubtotal)
Original property name from the Odata EDM: PrcgProcedItemSubtotal
If the same fields are used to store different condition amounts, the system totals the individual amounts.These condition amounts or subtotals are used as a starting point for further calculations. You may, for example, want a subtotal of all the discounts included in the pricing of a sales order.
prcgProcedItemSubtotal
- Controls whether and in which fields condition amounts or subtotals (for example, a customer discount
or the cost of a material) are stored.public void setConditionIsForStatistics(@Nullable Boolean conditionIsForStatistics)
Original property name from the Odata EDM: ConditionIsForStatistics
conditionIsForStatistics
- This indicator causes a surcharge or discount to be set in the document statistically (that is,
without altering the value).public void setAccountKeyForGLAccount(@Nullable String accountKeyForGLAccount)
Original property name from the Odata EDM: AccountKeyForGLAccount
The account key enables the system to post amounts to certain types of revenue account. For example, the system can post freight charges (generated by the freight pricing condition) to the relevant freight revenue account.
accountKeyForGLAccount
- Key that identifies different types of G/L account.public void setAcctKeyForAccrualsGLAccount(@Nullable String acctKeyForAccrualsGLAccount)
Original property name from the Odata EDM: AcctKeyForAccrualsGLAccount
With the aid of the account key, the system can post amounts to certain types of accruals accounts. For example, rebate accruals which are calculated from pricing conditions can be posted to the corresponding account for rebate accruals.
acctKeyForAccrualsGLAccount
- Key which identifies various types of G/L accounts for accruals or provisions.public void setPricingProcedureItemPrintType(@Nullable String pricingProcedureItemPrintType)
Original property name from the Odata EDM: PricingProcedureItemPrintType
The following print types are available:' ' : Condition line is not printedThe other print types have the following settings and influence processing accordingly.'A' : in total: general'B' : in total: if value <> zero'C' : in total: if value <> value of predecessor'D' : in total: if value <> zero and value <> value of predecessor'a' : at item : general'b' : at item : if value <> zero'c' : at item : if value <> value of predecessor'd' : at item : if value <> zero and value <> value of predecessor
pricingProcedureItemPrintType
- Controls the output of condition lines when printing documents such as order confirmations or
invoices.public void setConditionIsMandatory(@Nullable Boolean conditionIsMandatory)
Original property name from the Odata EDM: ConditionIsMandatory
If, for example, you always want to include a tax condition (VAT or sales tax) during pricing, you can set this indicator for the appropriate tax condition type.
conditionIsMandatory
- Indicates whether the condition is mandatory when the system carries out pricing using this pricing
procedure.public void setCndnIsAcctDetnRelevant(@Nullable Boolean cndnIsAcctDetnRelevant)
Original property name from the Odata EDM: CndnIsAcctDetnRelevant
In the pricing procedure, the following settings for the price condition have been made:The price condition is used for statistics only, that is, you have selected the Statistics indicator.You have selected an Account key that defines two accounts.Note: The Accruals key is not taken into account.You use this indicator to define that the statistical price condition is posted to account-based Profitability Analysis (CO-PA) as journal entry to an extension ledger of Financial Accounting. You do this to increase and improve information relevant for management reporting:You can select the indicator in Customizing of a pricing procedure.You can display the indicator in a business document on the Condition Detail screen.You might want to post the following statistical price conditions to CO-PA:WarrantiesDelivery costsSurchargesDiscountCommissionRebateFor information about profitability and cost management, see http://help.sap.com/s4hana. Choose a release and then Product Assistance and choose your language. Then choose Finance -> Cost Management and Profitability Analysis -> Profitability and Cost Management.
cndnIsAcctDetnRelevant
- Defines whether a statistical price condition is relevant for account determination.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurgPricingProcedureItem>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurgPricingProcedureItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurgPricingProcedureItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurgPricingProcedureItem>
@Nonnull public static <T> PurgPricingProcedureItemField<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> PurgPricingProcedureItemField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<PurgPricingProcedureItem>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<PurgPricingProcedureItem>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<PurgPricingProcedureItem>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<PurgPricingProcedureItem>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<PurgPricingProcedureItem>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PurgPricingProcedureItem>
@Nullable public PurgPricingConditionType fetchPurgPricingConditionType() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public PurgPricingConditionType getPurgPricingConditionTypeOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PurgPricingConditionType of a queried PurgPricingProcedureItem 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 Optional<PurgPricingConditionType> getPurgPricingConditionTypeIfPresent()
If the navigation property for an entity PurgPricingProcedureItem has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with
result state empty
is returned.public void setPurgPricingConditionType(PurgPricingConditionType value)
value
- New PurgPricingConditionType entity.@Nullable public PurgPricingProcedure fetchPurgPricingProcedure() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable public PurgPricingProcedure getPurgPricingProcedureOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PurgPricingProcedure of a queried PurgPricingProcedureItem 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 Optional<PurgPricingProcedure> getPurgPricingProcedureIfPresent()
If the navigation property for an entity PurgPricingProcedureItem has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with result state
empty
is returned.public void setPurgPricingProcedure(PurgPricingProcedure value)
value
- New PurgPricingProcedure entity.@Nonnull public List<PurgPrcgProcedItemText> fetchText() 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<PurgPrcgProcedItemText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried PurgPricingProcedureItem 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 Optional<List<PurgPrcgProcedItemText>> getTextIfPresent()
If the navigation property for an entity PurgPricingProcedureItem has not been resolved yet, this method
will not query further information. Instead its Optional
result state will be
empty
.
Optional
with result state
empty
is returned.public void setText(@Nonnull List<PurgPrcgProcedItemText> value)
If the navigation property to_Text of a queried PurgPricingProcedureItem 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 PurgPrcgProcedItemText entities.public void addText(PurgPrcgProcedItemText... entity)
If the navigation property to_Text of a queried PurgPricingProcedureItem 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 PurgPrcgProcedItemText entities.public static PurgPricingProcedureItem.PurgPricingProcedureItemBuilder builder()
@Nullable public String getConditionUsage()
Original property name from the Odata EDM: ConditionUsage
@Nullable public String getConditionApplication()
Original property name from the Odata EDM: ConditionApplication
@Nullable public String getPricingProcedure()
Original property name from the Odata EDM: PricingProcedure
Procedures are used, for example, in the following applications:Pricing in Sales and DistributionAccount determinationCalculating taxes on sales/purchases
@Nullable public String getPricingProcedureStep()
Original property name from the Odata EDM: PricingProcedureStep
@Nullable public String getPricingProcedureCounter()
Original property name from the Odata EDM: PricingProcedureCounter
During automatic pricing, the system takes into account the sequence specified by the counter.
@Nullable public String getConditionType()
Original property name from the Odata EDM: ConditionType
@Nullable public String getPrcgProcedItemFromRefStep()
Original property name from the Odata EDM: PrcgProcedItemFromRefStep
If you specify a to-reference step at the same time, the condition values of the two steps specified and the conditions values of the steps in between are totaled. In this case, percentage surcharges are calculated on the basis of the total.Example:| Step | Condition Type | Description | From-Step | To-Step | Account Key |10 A-B1 Wages 20 A-B2 Salaries 30 A-B3 Overtime/Wages 40 A-Z1 Vacation bonus 10 30 E11The surcharge for step 40 is added to the total of steps 10 to 30.
@Nullable public String getPrcgProcedItemToRefStep()
Original property name from the Odata EDM: PrcgProcedItemToRefStep
If you specify a from-reference step at the same time, the condition values of the two steps specified and the condition values of the steps in between are totaled.Example:| Step | Condition Type | Description | From-Step | To-Step | Account Key |10 A-B1 Wages 20 A-B2 Salaries 30 A-B3 Overtime/Wages 40 A-Z1 Vacation bonus 10 30 E11The surcharge for step 40 is added to the total of steps 10 to 30.
@Nullable public Boolean getConditionIsManuallyDtmnd()
Original property name from the Odata EDM: ConditionIsManuallyDtmnd
@Nullable public String getPrcgProcedItemSubtotal()
Original property name from the Odata EDM: PrcgProcedItemSubtotal
If the same fields are used to store different condition amounts, the system totals the individual amounts.These condition amounts or subtotals are used as a starting point for further calculations. You may, for example, want a subtotal of all the discounts included in the pricing of a sales order.
@Nullable public Boolean getConditionIsForStatistics()
Original property name from the Odata EDM: ConditionIsForStatistics
@Nullable public String getAccountKeyForGLAccount()
Original property name from the Odata EDM: AccountKeyForGLAccount
The account key enables the system to post amounts to certain types of revenue account. For example, the system can post freight charges (generated by the freight pricing condition) to the relevant freight revenue account.
@Nullable public String getAcctKeyForAccrualsGLAccount()
Original property name from the Odata EDM: AcctKeyForAccrualsGLAccount
With the aid of the account key, the system can post amounts to certain types of accruals accounts. For example, rebate accruals which are calculated from pricing conditions can be posted to the corresponding account for rebate accruals.
@Nullable public String getPricingProcedureItemPrintType()
Original property name from the Odata EDM: PricingProcedureItemPrintType
The following print types are available:' ' : Condition line is not printedThe other print types have the following settings and influence processing accordingly.'A' : in total: general'B' : in total: if value <> zero'C' : in total: if value <> value of predecessor'D' : in total: if value <> zero and value <> value of predecessor'a' : at item : general'b' : at item : if value <> zero'c' : at item : if value <> value of predecessor'd' : at item : if value <> zero and value <> value of predecessor
@Nullable public Boolean getConditionIsMandatory()
Original property name from the Odata EDM: ConditionIsMandatory
If, for example, you always want to include a tax condition (VAT or sales tax) during pricing, you can set this indicator for the appropriate tax condition type.
@Nullable public Boolean getCndnIsAcctDetnRelevant()
Original property name from the Odata EDM: CndnIsAcctDetnRelevant
In the pricing procedure, the following settings for the price condition have been made:The price condition is used for statistics only, that is, you have selected the Statistics indicator.You have selected an Account key that defines two accounts.Note: The Accruals key is not taken into account.You use this indicator to define that the statistical price condition is posted to account-based Profitability Analysis (CO-PA) as journal entry to an extension ledger of Financial Accounting. You do this to increase and improve information relevant for management reporting:You can select the indicator in Customizing of a pricing procedure.You can display the indicator in a business document on the Condition Detail screen.You might want to post the following statistical price conditions to CO-PA:WarrantiesDelivery costsSurchargesDiscountCommissionRebateFor information about profitability and cost management, see http://help.sap.com/s4hana. Choose a release and then Product Assistance and choose your language. Then choose Finance -> Cost Management and Profitability Analysis -> Profitability and Cost Management.
public String toString()
toString
in class VdmObject<PurgPricingProcedureItem>
public boolean equals(Object o)
equals
in class VdmObject<PurgPricingProcedureItem>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PurgPricingProcedureItem>
public int hashCode()
hashCode
in class VdmObject<PurgPricingProcedureItem>
Copyright © 2019 SAP SE. All rights reserved.