die "unknown reference '@{[ ref $obj ]}' for @{[ __PACKAGE__ ]}::write_to";
}
}
+ $self;
}
sub write_to_objects {
# delivered by oe_id
my $delivered = $helper->delievered->{$oi->id};
+ # calculate and write_to can be chained:
+ my $helper = SL::Helper::ShippedQty->new->calculate($orders)->write_to_objects;
+
=head1 DESCRIPTION
This module encapsulates the algorithm needed to compute the shipped qty for