From: Jan Büren Date: Fri, 23 Oct 2015 12:35:55 +0000 (+0200) Subject: POD zu update_attributes ergänzt X-Git-Tag: release-3.4.1~631 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2271551b46c84fa256c7a2e0a46c04cddf31e89e;p=kivitendo-erp.git POD zu update_attributes ergänzt mit der Bitte an Sven einmal gegenzulesen. --- 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