Description | manuals and libraries |
LedgerSMB::Company::Configuration::SICs - Collection of Industry Codes
use LedgerSMB::Database;
use LedgerSMB::Company;
my $dbh = LedgerSMB::Database->new( connect_data => { ... })
->connect;
my $c = LedgerSMB::Company->new(dbh => $dbh)->configuration
->industry_codes;
Collection of Standardized Industry Codes providing access to existing codes as well as providing an API to create (instantiate) new ones.
Note that these are the codes loaded into the database. The user needs to load the coding system applicable for their jurisdiction themselves.
In addition to the attributes from the previous section, the following named arguments can (or even must) be provided to the new
constructor.
The database access handle. This is provided upon instantiation by the LedgerSMB::Company::Configuration
collection.
Instantiates a new SIC code, associated with the database that the collection is associated with, passing @args
to the constructor.
Copyright (C) 2020 The LedgerSMB Core Team
This file is licensed under the GNU General Public License version 2, or at your option any later version. A copy of the license should have been included with your software.