'custinfo', // create a base customer based on company.
'location', // default warehouse.
+ 'period', // adds years and months -1 to +10 from now.
// accounts - fixme - we need a better 'base set'
// 'costcat' -- fixme - we need to init this..
*/
-
- function addExtraYears()
- {
- $p = DB_DataObject::Factory('period');
- if ($p->count()) {
- echo "SKIP - already have periods\n";
- return;
- }
- $p->initPeriods($this);
- $p->initPeriods($this);
- $p->initPeriods($this);
- $p->initPeriods($this);
-
- }
+
function addAccounts()
{
$ac = DB_DataObject::factory('accnt');