use SL::Locale::String qw(t8);
use SL::DB::DeliveryOrder::TypeData qw(:types :subs);
+my @export_types = qw(SALES_DELIVERY_ORDER_TYPE PURCHASE_DELIVERY_ORDER_TYPE SUPPLIER_DELIVERY_ORDER_TYPE RMA_DELIVERY_ORDER_TYPE);
+
+our @EXPORT_OK = (@export_types);
+our %EXPORT_TAGS = (types => \@export_types);
+
use Rose::Object::MakeMethods::Generic scalar => [ qw(c) ];
sub new {
}
sub access {
- get($_[0]->c->type, "right");
+ my ($self, $string) = @_;
+ get3($_[0]->c->type, "rights", $string);
}
sub is_quotation {
get3($_[0]->c->type, "properties", "nr_key");
}
+sub transfer {
+ get3($_[0]->c->type, "properties", "transfer");
+}
+
sub part_classification_query {
my ($self, $string) = @_;
get($self->c->type, "part_classification_query");