Name

MV_TAX_TYPE_FIELD — name of column containing enumerated tax names

SYNOPSIS

{ column... }

DESCRIPTION

Name of the column whose value will be retrieved in search of symbolic tax name.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Put the following in catalog.cfg:

Variable MV_TAX_TYPE_FIELD tax_name

NOTES

AVAILABILITY

MV_TAX_TYPE_FIELD is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Interpolate.pm
Line 5555 (context shows lines 5545-5559 in tax_vat():5522)

my $sfield = $1;
my $state  = $opt->{state} || $::Values->{$sfield};
return 0 if ! $state;
my $stable   = $opt->{state_table}
    || $::Variable->{MV_STATE_TABLE}
    || 'state';
my $s_taxfield   = $opt->{state_tax_field}
    || $::Variable->{MV_STATE_TAX_FIELD}
    || 'tax';
my $s_taxtype   = $opt->{tax_type_field} 
      || $::Variable->{MV_TAX_TYPE_FIELD}
      || 'tax_name';
  my $db = database_exists_ref($stable)
    or return 0;
  my $addl = '';

AUTHORS

Interchange Development Group

SEE ALSO

MV_COUNTRY_TAX_FIELD(7ic), MV_STATE_TABLE(7ic), MV_COUNTRY_TABLE(7ic), MV_STATE_TAX_FIELD(7ic), MV_TAX_CATEGORY_FIELD(7ic)

DocBook! Interchange!