-sub get_all_count {
- my ($class,%params) = @_;
- $params{object_id} = 1;
- $params{object_type} = 'sales_order';
- return SL::File->get_all_count(%params);
-}
-
-sub get_all {
- my ($class,%params) = @_;
- $params{object_id} = 1;
- $params{object_type} = 'sales_order';
- SL::File->get_all(%params);
-}
-
-sub get_all_versions {
- my ($class,%params) = @_;
- $params{object_id} = 1;
- $params{object_type} = 'sales_order';
- SL::File->get_all_versions(%params);
-}
+sub get_all { SL::File->get_all (%common_params, @_) }
+sub get_all_count { SL::File->get_all_count (%common_params, @_) }
+sub get_all_versions { SL::File->get_all_versions(%common_params, @_) }
+sub delete_all { SL::File->delete_all (%common_params, @_) }