X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPart.pm;h=57f0f31ab1f88c5db739e2b0716cb8c55442de67;hb=b47574cb2bdd79d3c172f67d94d3eada4bd3f981;hp=e4148baabce8a055d5046b779c4750d25eabbb70;hpb=e3a83f49048717d0f519e2f760ef2988eb0824e0;p=kivitendo-erp.git diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index e4148baab..57f0f31ab 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -209,8 +209,6 @@ sub displayable_name { join ' ', grep $_, map $_[0]->$_, qw(partnumber description); } -sub displayable_name { goto &long_description; } - 1; __END__ @@ -245,7 +243,7 @@ flavours called: These types are sadly represented by data inside the class and cannot be migrated into a flag. To work around this, each C object knows what type -it currently is. Since the type ist data driven, there ist no explicit setting +it currently is. Since the type is data driven, there ist no explicit setting method for it, but you can construct them explicitly with C, C, and C. A Buchungsgruppe should be supplied in this case, but it will use the default Buchungsgruppe if you don't. @@ -265,7 +263,7 @@ L and others. =item C Will set the appropriate data fields so that the resulting instance will be of -tthe requested type. Since part of the distinction are accounting targets, +the requested type. Since accounting targets are part of the distinction, providing a C is recommended. If none is given the constructor will load a default one and set the accounting targets from it. @@ -338,12 +336,12 @@ The information retrieved by the function is cached. =item C -Checks if this articke is used in orders, invoices, delivery orders or +Checks if this article is used in orders, invoices, delivery orders or assemblies. =item C -Used to set the accounting informations from a L object. +Used to set the accounting information from a L object. Please note, that this is a write only accessor, the original Buchungsgruppe can not be retrieved from an article once set.