Package DE_EPAGES::Tax::API::Table::TaxRate
interface for table TaxRate
@EXPORT_OK |
Functions
- DeleteTaxRate
- ExistsTaxRate
- GetAllInfoTaxRates
- GetAllPKeyTaxRates
- GetInfoTaxRate
- GetInfoTaxRatesByTaxAreaID
- GetInfoTaxRatesByTaxClassID
- GetPKeyTaxRatesByTaxAreaID
- GetPKeyTaxRatesByTaxClassID
- InsertTaxRate
- UpdateTaxRate
DeleteTaxRate
Deletes a(n) TaxRate.
Syntax |
DeleteTaxRate($TaxAreaID, $TaxClassID); DeleteTaxRate($hTaxRate); # if $hTaxRate includes TaxAreaID, TaxClassID |
Input |
|
ExistsTaxRate
Returns true if the TaxRate exists.
Syntax |
$exists = ExistsTaxRate($TaxAreaID, $TaxClassID); |
Input |
|
Return |
|
GetAllInfoTaxRates
Returns all objects of TaxRate.
Syntax |
$ahTaxRates = GetAllInfoTaxRates(); |
Return |
|
GetAllPKeyTaxRates
Returns all TaxRate identifiers.
Syntax |
$ahTaxRateIDs = GetAllPKeyTaxRates(); |
Return |
|
GetInfoTaxRate
Returns the TaxRate by identifier.
Syntax |
$hTaxRate = GetInfoTaxRate($TaxAreaID, $TaxClassID); |
Input |
|
Return |
|
GetInfoTaxRatesByTaxAreaID
Returns objects of TaxRate by primary key element TaxAreaID.
Syntax |
$ahTaxRates = GetInfoTaxRatesByTaxAreaID($TaxAreaID); |
Input |
|
Return |
|
GetInfoTaxRatesByTaxClassID
Returns objects of TaxRate by alternate key TaxClassID.
Syntax |
$ahTaxRates = GetInfoTaxRatesByTaxClassID($TaxClassID); |
Input |
|
Return |
|
GetPKeyTaxRatesByTaxAreaID
Returns primary keys of TaxRate by primary key element TaxAreaID.
Syntax |
$ahKeys = GetPKeyTaxRatesByTaxAreaID($TaxAreaID); |
Input |
|
Return |
|
GetPKeyTaxRatesByTaxClassID
Returns primary keys of TaxRate by alternate key TaxClassID.
Syntax |
$ahKeys = GetPKeyTaxRatesByTaxClassID($TaxClassID); |
Input |
|
Return |
|
InsertTaxRate
Creates an entry of TaxRate.
Syntax |
InsertTaxRate($hTaxRate); |
Input |
|
UpdateTaxRate
Updates a(n) TaxRate if any element was changed.
Syntax |
UpdateTaxRate($TaxAreaID, $TaxClassID, $hTaxRate); UpdateTaxRate($hTaxRate); # if $hTaxRate includes TaxAreaID, TaxClassID |
Input |
|