Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 506234c0

Von Sven Schöling vor etwa 1 Jahr hinzugefügt

  • ID 506234c0f7d335265470cf523eb7358a37f108c2
  • Vorgänger 23f7ae7d
  • Nachfolger 48243bb3

Model::Record: docs

Unterschiede anzeigen:

SL/Model/Record.pm
345 345

  
346 346
SL::Model::Record - shared computations for orders (Order), delivery orders (DeliveryOrder), invoices (Invoice) and reclamations (Reclamation)
347 347

  
348
=head1 SYNOPSIS
348
=head1 DESCRIPTION
349 349

  
350
This module contains shared behaviour among the main record object types. A given record needs to be already parsed into a Rose object.
351
All records are treated agnostically and the underlying class needs to implement a type_data call to query for differing behaviour.
350 352

  
353
Currently the following types and subtypes are supported:
351 354

  
352
=head1 DESCRIPTION
355
=over 4
356

  
357
=item * L<SL::DB::Order>
358

  
359
=over 4
360

  
361
=item * C<sales_order>
362

  
363
=item * C<purchase_order>
364

  
365
=item * C<sales_quotation>
366

  
367
=item * C<purchase_quotation>
368

  
369
=back
370

  
371
=item * L<SL::DB::DeliveryOrder>
372

  
373
=over 4
374

  
375
=item * C<sales_delivery_order>
376

  
377
=item * C<purchase_delivery_order>
378

  
379
=item * C<supplier_delivery_order>
380

  
381
=item * C<rma_delivery_order>
382

  
383
=back
384

  
385
=item * L<SL::DB::Reclamation>
386

  
387
=over 4
388

  
389
=item * C<sales_reclamation>
390

  
391
=item * C<purchase_reclamation>
392

  
393
=back
394

  
395
=back
396

  
397
The base record types need to implement a type_data call that can be queried
398
for various type informations.
399

  
400
Invoices are not supported as of now, but are planned for the future.
401

  
402
=head1 METHODS
353 403

  
354 404
=over 4
355 405

  

Auch abrufbar als: Unified diff