X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FInstanceConfiguration.pm;h=d0b6b3a820e73841369362640d51a108905b9e70;hb=6cdf91d333da67f1ad46b101eecf6ab953cecf73;hp=d9b7129a7d5642991978846fb6f383de220638e6;hpb=82053b457be3de2ee5285dc13633222f4d30802c;p=kivitendo-erp.git diff --git a/SL/InstanceConfiguration.pm b/SL/InstanceConfiguration.pm index d9b7129a7..d0b6b3a82 100644 --- a/SL/InstanceConfiguration.pm +++ b/SL/InstanceConfiguration.pm @@ -153,6 +153,38 @@ sub get_default_bin_id { my ($self) = @_; return ($self->{data}->{bin_id}); } +sub get_default_warehouse_id_ignore_onhand { + my ($self) = @_; + return ($self->{data}->{warehouse_id_ignore_onhand}); +} + +sub get_default_bin_id_ignore_onhand { + my ($self) = @_; + return ($self->{data}->{bin_id_ignore_onhand}); +} + + +sub get_transfer_default { + my ($self) = @_; + return ($self->{data}->{transfer_default}); +} + +sub get_transfer_default_use_master_default_bin { + my ($self) = @_; + return ($self->{data}->{transfer_default_use_master_default_bin}); +} + +sub get_transfer_default_ignore_onhand { + my ($self) = @_; + return ($self->{data}->{transfer_default_ignore_onhand}); +} +# currently unused - value is set via audit_control (Bücherkontrolle) +sub get_max_future_booking_interval { + my ($self) = @_; + return ($self->{data}->{max_future_booking_interval}); +} + + 1; @@ -274,6 +306,30 @@ Returns the default warehouse_id Returns the default bin_id +=item C + +Returns the default warehouse_id for transfers without checking the +current stock quantity + +=item C + +Returns the default bin_id for transfers without checking the. +current stock quantity + + + +=item C + +=item C + +=item C + +Returns the default behavior for the transfer out default feature (true or false) + +=item C + +Returns the maximum interval value for future bookings + =back =head1 BUGS