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
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
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
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
OnBeforeGetParafiscalTaxAmountCalcsums
[IntegrationEvent(False,False)]
local procedure OnBeforeGetParafiscalTaxAmountCalcsums(PriceListLine: Record "Price List Line", var ParafiscalTaxLineBuffer: Record "Parafisc.Tax Line Buffer SLCAP" temporary)
Parameters
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
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
See also