Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 734b356d

Von Kivitendo Admin vor fast 10 Jahren hinzugefügt

  • ID 734b356deb35edabe16cf67517b3064fd32a7740
  • Vorgänger fb902c0a
  • Nachfolger 978a03de

Doku in SL/DB/Part.pm - Typos und Umschreiben

Unterschiede anzeigen:

SL/DB/Part.pm
These types are sadly represented by data inside the class and cannot be
migrated into a flag. To work around this, each C<Part> object knows what type
it currently is. Since the type ist data driven, there ist no explicit setting
it currently is. Since the type is data driven, there ist no explicit setting
method for it, but you can construct them explicitly with C<new_part>,
C<new_service>, and C<new_assembly>. A Buchungsgruppe should be supplied in this
case, but it will use the default Buchungsgruppe if you don't.
......
=item C<new_assembly %PARAMS>
Will set the appropriate data fields so that the resulting instance will be of
tthe requested type. Since part of the distinction are accounting targets,
the requested type. Since accounting targets are part of the distinction,
providing a C<Buchungsgruppe> is recommended. If none is given the constructor
will load a default one and set the accounting targets from it.
......
=item C<orphaned>
Checks if this articke is used in orders, invoices, delivery orders or
Checks if this article is used in orders, invoices, delivery orders or
assemblies.
=item C<buchungsgruppe BUCHUNGSGRUPPE>
Used to set the accounting informations from a L<SL:DB::Buchungsgruppe> object.
Used to set the accounting information from a L<SL:DB::Buchungsgruppe> object.
Please note, that this is a write only accessor, the original Buchungsgruppe can
not be retrieved from an article once set.

Auch abrufbar als: Unified diff