Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e8dce44b

Von Sven Schöling vor mehr als 7 Jahren hinzugefügt

  • ID e8dce44b2cd1d753714980ea0d920fd5ea337705
  • Vorgänger 0d6c87b0
  • Nachfolger f88b9da2

ShippedQty: Explizite Doku zu Fehlbedienung bei nicht geladenen Relationships

Unterschiede anzeigen:

SL/Helper/ShippedQty.pm
C<delivered> is guaranteed only to be the correct boolean value, but not
any specific value.
Note: C<write_to> will avoid loading unnecessary objects. This means if it is
called with an Order object that has not loaded its orderitems yet, only
C<delivered> will be set in the Order object. A subsequent C<<
$order->orderitems->[0]->{delivered} >> will return C<undef>, and C<<
$order->orderitems->[0]->shipped_qty >> will invoke another implicit
calculation.
=item C<shipped_qty>
Valid after L</calculate>. Returns a hasref with shipped qtys by orderitems id.

Auch abrufbar als: Unified diff