final |
|---|
readonly |
Opening records this module can take at a tenant's birth — the state carried over from the old system: an opening
balance, the open items of customers and suppliers. Declared on the module, repeatable. The consultant fills
opening/{file}.json in the tenant's template; the loader writes the records once, at the birth, and never again.
#[OpeningRecord(entity: 'OpenItem', file: 'open_items', record: OpenItemRecord::class,
loader: OpenItemsLoader::class, dependsOn: ['Partner'])]
final class AccountingModule extends AbstractUi5Module { … }
An opening record depends on master data only — never on another opening record.
| Methods | ||
|---|---|---|
public
|
__construct(
string $entity,
string $file,
class-string $record,
class-string<OpeningRecordInterface> $loader,
list<string> $dependsOn = [],
)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$entity
|
# |
public
|
string
|
$file
|
# |
public
|
class-string
|
$record
|
# |
public
|
class-string<OpeningRecordInterface>
|
$loader
|
# |
public
|
list<string>
|
$dependsOn
|
# |