ePages 6.11.0 - DE_EPAGES/Order/Hooks/Tax.pm

Package DE_EPAGES::Order::Hooks::Tax

hooks to set TaxClass or TaxArea to undef, when TaxClass or TaxArea will be deleted.

Functions

OnDeleteTaxArea
OnDeleteTaxClass

OnDeleteTaxArea

Get all LineItemContainers with the submited TaxAreaID. For each of these LineItemContainer set the TaxArea to undef.

Syntax
OnDeleteTaxArea($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • TaxAreaID

OnDeleteTaxClass

Get all LineItems with the submited TaxClassID. For each of these LineItems set the TaxClass to undef.

Syntax
OnDeleteTaxClass($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • TaxClassID