Table of Contents

Codeunit "Price List Paraf. Tax SLCAP"

ID 70344870
Namespace: CapVision.Finance.ParafiscalTaxes.PriceLists

Properties

Name Value
Access Public
SingleInstance True

Methods

GetParafiscalTaxAmount

Obtient le montant total HT des taxes parafiscales pour la ligne de prix spécifiée.

procedure GetParafiscalTaxAmount(PriceListLine: Record "Price List Line"): Decimal

Parameters

Name Type Description
PriceListLine Record "Price List Line"

Record "Price List Line".

Returns

Type Description
Decimal

Return value of type Boolean.

GetParafiscalTaxAmountPerUnit

Obtient le prix/coût unitaire HT des taxes parafiscales pour la ligne de prix spécifiée.

procedure GetParafiscalTaxAmountPerUnit(PriceListLine: Record "Price List Line"): Decimal

Parameters

Name Type Description
PriceListLine Record "Price List Line"

Record "Price List Line".

Returns

Type Description
Decimal

Return value of type Decimal.

GetUnitAmountExcludingAllTaxes

Obtient le prix/coût unitaire de la ligne hors toutes taxes (hors TVA et hors taxes parafiscales).

procedure GetUnitAmountExcludingAllTaxes(PriceListLine: Record "Price List Line"): Decimal

Parameters

Name Type Description
PriceListLine Record "Price List Line"

Record "Price List Line".

Returns

Type Description
Decimal

Return value of type Boolean.

Populate

Obtient le détail des taxes parafiscales pour la ligne de prix spécifiée.

procedure Populate(PriceListLine: Record "Price List Line", var ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)

Parameters

Name Type Description
PriceListLine Record "Price List Line"

Record "Price List Line".

ParafiscalTaxLineBuffer Table CapVision.Finance.ParafiscalTaxes."Parafisc.Tax Line Buffer SLCAP"

VAR Record "Parafiscal Tax Line Buffer SLCAP".

Events

OnBeforeGetCalculationBasisForPriceListLine

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCalculationBasisForPriceListLine(PriceListLine: Record "Price List Line", QtyFieldNo: Integer, CalculationBasis: Enum "Calculation Base SLCAP", var BaseValue: Decimal, var Handled: Boolean)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
QtyFieldNo Integer
CalculationBasis Enum CapVision.Finance.ParafiscalTaxes."Calculation Base SLCAP"
BaseValue Decimal
Handled Boolean

OnGetCalculationBasisGetFactorForPriceListLine

[IntegrationEvent(False,False)]
local procedure OnGetCalculationBasisGetFactorForPriceListLine(PriceListLine: Record "Price List Line", QtyFieldNo: Integer, var Factor: Decimal, var Handled: Boolean)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
QtyFieldNo Integer
Factor Decimal
Handled Boolean

OnGetCalculationBasisGetQuantityForPriceListLine

[IntegrationEvent(False,False)]
local procedure OnGetCalculationBasisGetQuantityForPriceListLine(PriceListLine: Record "Price List Line", CalculationBasis: Enum "Calculation Base SLCAP", Quantity: Decimal, QtyPerUnitOfMeasure: Decimal, var BaseValue: Decimal, var Handled: Boolean)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
CalculationBasis Enum CapVision.Finance.ParafiscalTaxes."Calculation Base SLCAP"
Quantity Decimal
QtyPerUnitOfMeasure Decimal
BaseValue Decimal
Handled Boolean

OnBeforeInsertParafiscalTaxEntry

[IntegrationEvent(False,False)]
internal procedure OnBeforeInsertParafiscalTaxEntry(var ParafiscalTaxEntry: Record "Parafiscal Tax Entry SLCAP", PriceListLine: Record "Price List Line", ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)

Parameters

Name Type Description
ParafiscalTaxEntry Table CapVision.Finance.ParafiscalTaxes.History."Parafiscal Tax Entry SLCAP"
PriceListLine Record "Price List Line"
ParafiscalTaxLineBuffer Table CapVision.Finance.ParafiscalTaxes."Parafisc.Tax Line Buffer SLCAP"

OnBeforeGetParafiscalTaxAmountCalcsums

[IntegrationEvent(False,False)]
local procedure OnBeforeGetParafiscalTaxAmountCalcsums(PriceListLine: Record "Price List Line", var ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
ParafiscalTaxLineBuffer Table CapVision.Finance.ParafiscalTaxes."Parafisc.Tax Line Buffer SLCAP"

OnBeforePopulate

[IntegrationEvent(False,False)]
local procedure OnBeforePopulate(PriceListLine: Record "Price List Line", QtyFieldNo: Integer, var PostingDate: Date, var ItemParafiscalTax: Record "Item Parafiscal Tax SLCAP", var ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
QtyFieldNo Integer
PostingDate Date
ItemParafiscalTax Table CapVision.Finance.ParafiscalTaxes."Item Parafiscal Tax SLCAP"
ParafiscalTaxLineBuffer Table CapVision.Finance.ParafiscalTaxes."Parafisc.Tax Line Buffer SLCAP"

OnAfterPopulate

[IntegrationEvent(False,False)]
local procedure OnAfterPopulate(PriceListLine: Record "Price List Line", QtyFieldNo: Integer, PostingDate: Date, var ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)

Parameters

Name Type Description
PriceListLine Record "Price List Line"
QtyFieldNo Integer
PostingDate Date
ParafiscalTaxLineBuffer Table CapVision.Finance.ParafiscalTaxes."Parafisc.Tax Line Buffer SLCAP"

See also