PCRuntimePriceMode::supportsAttributeBasedPricing Method [AX 2012]

Determines if attribute based pricing is supported given the configuration context.

client server public static boolean supportsAttributeBasedPricing(
    PCPriceMethod _priceMethod, 
    PCRuntimeMode _runtimeMode, 
    Common _sourceDocumentLine, 
   [boolean _checkIsPriceBreakdownEnabled])

Run On

Called

Parameters

_priceMethod
Type: PCPriceMethod Enumeration
The price method.
_runtimeMode
Type: PCRuntimeMode Enumeration
The runtime mode.
_sourceDocumentLine
Type: Common Table
The source document line.
_checkIsPriceBreakdownEnabled
Type: boolean
Checks, if the IsPriceBreakdownEnabled parameter is enabled in the EcoResProductParameters table.

Return Value

Type: boolean
true if the price breakdown should be enabled; false, otherwise.
Show: