X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b01d84a98b1091f452adc5857903ea85c1e644f1..2271551b46c84fa256c7a2e0a46c04cddf31e89e:/SL/DB/Object.pm diff --git a/SL/DB/Object.pm b/SL/DB/Object.pm index 81ef97890..252e8ad10 100755 --- a/SL/DB/Object.pm +++ b/SL/DB/Object.pm @@ -265,7 +265,16 @@ C in the database). Assigns the attributes from C<%attributes> by calling the C function and saves the object afterwards. Returns -the object itself. +the object itself or error if referential integrity is broken. +Correct usage: + + update_attributes(warehouse_id => wh_id, bin_id => bin_id); + +Wrong usage: + + update_attributes(warehouse_id => wh_id); + update_attributes(bin_id => bin_id); + =item _get_manager_class