use parent qw(SL::DB::Object);
use Rose::Object::MakeMethods::Generic (
- scalar => [ qw(record_item record) ],
+ scalar => [ qw(record_item record fast) ],
);
sub name { die 'name needs to be implemented' }
sub price_from_source { die 'price_from_source needs to be implemented:' . "@_" }
+sub discount_from_source { die 'discount_from_source needs to be implemented:' . "@_" }
+
sub part {
$_[0]->record_item->part;
}
information needed for the retrieval can be deleted elsewhere, then you must
guard against that.
-If the price for the same coditions changed, return the new price. It will be
+If the price for the same conditions changed, return the new price. It will be
presented as an option to the user if the record is still editable.
If the price is not valid anymore or not reconstructable, return a price with