Skip to content

Codeunit WSB_PriceSignalingMgtTTE

Provides functionality for Price Signaling.

Properties

Name Value
Access Public

Methods

wgFncPurchLineUnitPriceAlert

Checks whether or not a direct unit cost alert should be shown.

Parameters

Type Name Description
Record "Purchase Line" vRecPurchLine The purchase line to check for outdated prices.
Boolean pShowNotification Whether to show a notification if we find an outdated price.

Returns

Type Description
Boolean System.Xml.XmlElement

wgFncSalesLineUnitPriceAlert

Checks whether or not a unit price alert should be shown.

Parameters

Type Name Description
Record "Sales Line" vRecSalesLine The sales line to check for outdated prices.
Boolean pShowNotification Whether to show a notification if we find an outdated price.

Returns

Type Description
Boolean System.Xml.XmlElement

wgFncSetPurchLinePriceSignalingStyleExpr

Checks whether or not StyleExpr should be applied.

Parameters

Type Name Description
Record "Purchase Line" vRecPurchLine VAR Record "Purchase Line".
Boolean pShowNotification Boolean.
Boolean pActiveSubscriptionExists Boolean.

Returns

Type Description
Boolean Return variable rStyleExpr of type Boolean.

wgFncSetSalesLinePriceSignalingStyleExpr

Checks whether or not StyleExpr should be applied.

Parameters

Type Name Description
Record "Sales Line" vRecSalesLine VAR Record "Sales Line".
Boolean pShowNotification Boolean.
Boolean pActiveSubscriptionExists Boolean.

Returns

Type Description
Boolean Return variable rStyleExpr of type Boolean.