entspricht jeweils invnumber/ordnumber/donumber
sub items { goto &orderitems; }
sub add_items { goto &add_orderitems; }
sub payment_terms { goto &payment; }
+sub record_number { goto &donumber; }
sub sales_order {
my $self = shift;
sub items { goto &invoiceitems; }
sub add_items { goto &add_invoiceitems; }
+sub record_number { goto &invnumber; };
sub is_sales {
# For compatibility with Order, DeliveryOrder
sub items { goto &orderitems; }
sub add_items { goto &add_orderitems; }
+sub record_number { goto &number; }
sub type {
my $self = shift;