Table 7006 "Price Calculation Setup"
Base Application · Microsoft.Pricing.Calculation
Across versions
- BC23present
- BC24declaration changed
- BC25-27unchanged
- BC288 fields changed
- BC29-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.Pricing.Calculation · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Price Calculation Setup |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code Δ BC28 | Code[100] | Specifies a code that you can select. | DataClassification SystemMetadata |
| 2 | Method Δ BC28 | Enum “Price Calculation Method” | Specifies the name of the price calculation method. | enum Enum 7000 “Price Calculation Method” |
| 3 | Type Δ BC28 | Enum “Price Type” | Specifies what type of amount to calculate - price or cost. | enum Enum 7009 “Price Type” |
| 4 | Asset Type Δ BC28 | Enum “Price Asset Type” | Specifies the type of the product for price calculation. | enum Enum 7004 “Price Asset Type” |
| 5 | Details Δ BC28 | Integer | Specifies the count of detailed price calculation setup records. | FlowField: count(“Dtld. Price Calculation Setup” where(“Setup Code” = field(Code))); not editable |
| 9 | Group Id | Code[100] | — | DataClassification SystemMetadata |
| 10 | Implementation Δ BC28 | Enum “Price Calculation Handler” | Specifies a codeunit that can implement the calculation method. | enum Enum 7011 “Price Calculation Handler” |
| 12 | Enabled Δ BC28 | Boolean | Specifies whether the implementation codeunit is enabled. | |
| 13 | Default Δ BC28 | Boolean | Specifies if this is the default implementation. You cannot remove the Default check mark, instead pick another record for the same calculation method to become the default implementation. |
Keys
- PK: Code (clustered)
- Key2: Group Id, Default, Enabled
Events published
OnAfterDefineCode()(integration)
Procedures
GetUID(): TextCopyDefaultFlagTo(var ToRec: Record "Price Calculation Setup")CountEnabledExeptions(): IntegerFindDefault(CalculationMethod: enum "Price Calculation Method"; PriceType: Enum "Price Type"): BooleanFindDefault(GroupId: Text): BooleanMoveFrom(var TempPriceCalculationSetup: Record "Price Calculation Setup" temporary): Boolean
Plus 2 local procedures.
Triggers
OnInsert
Relations
- drill-down page Page 7006 “Price Calculation Setup”
- lookup page Page 7006 “Price Calculation Setup”
- Details: CalcFormula Table 7008 “Dtld. Price Calculation Setup”
Referenced by
1 fields in 1 objects relate to this table (TableRelation or CalcFormula).
- Table 7008 “Dtld. Price Calculation Setup”: Setup Code
Pages and codeunits on this table
- Page 7006 “Price Calculation Setup” (source table)
- Page 7025 “Price Calculation Methods” (source table)
- Page 7026 “Price Calculation Method Card” (source table)
- Page 7027 “Price Calculation Setup Lines” (source table)
- Page 7028 “Price Calc. Implementations” (source table)
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Price Calculation Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.