Revision 66022cbd
Von Sven Schöling vor fast 15 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
43 | 43 |
|
44 | 44 |
use strict; |
45 | 45 |
|
46 |
=head1 NAME |
|
47 |
|
|
48 |
OE.pm - Order entry module |
|
49 |
|
|
50 |
=head1 DESCRIPTION |
|
51 |
|
|
52 |
OE.pm is part of the OE module. OE is responsible for sales and purchase orders, as well as sales quotations and purchase requests. This file abstracts the database tables C<oe> and C<orderitems>. |
|
53 |
|
|
54 |
=head1 FUNCTIONS |
|
55 |
|
|
56 |
=over 4 |
|
57 |
|
|
58 |
=cut |
|
59 |
|
|
60 | 46 |
sub transactions { |
61 | 47 |
$main::lxdebug->enter_sub(); |
62 | 48 |
|
... | ... | |
957 | 943 |
return $rc; |
958 | 944 |
} |
959 | 945 |
|
960 |
=item retrieve_simple PARAMS |
|
961 |
|
|
962 |
simple OE retrieval by id. does not look up customer, vendor, units or any other stuff. only oe and orderitems. |
|
963 |
|
|
964 |
my $order = retrieve_simple(id => 2); |
|
965 |
|
|
966 |
$order => { |
|
967 |
%_OE_CONTENT, |
|
968 |
orderitems => [ |
|
969 |
%_ORDERITEM_ROW_1, |
|
970 |
%_ORDERITEM_ROW_2, |
|
971 |
... |
|
972 |
] |
|
973 |
} |
|
974 |
|
|
975 |
=cut |
|
976 | 946 |
sub retrieve_simple { |
977 | 947 |
$main::lxdebug->enter_sub(); |
978 | 948 |
|
... | ... | |
1308 | 1278 |
} |
1309 | 1279 |
|
1310 | 1280 |
1; |
1281 |
|
|
1282 |
__END__ |
|
1283 |
|
|
1284 |
=head1 NAME |
|
1285 |
|
|
1286 |
OE.pm - Order entry module |
|
1287 |
|
|
1288 |
=head1 DESCRIPTION |
|
1289 |
|
|
1290 |
OE.pm is part of the OE module. OE is responsible for sales and purchase orders, as well as sales quotations and purchase requests. This file abstracts the database tables C<oe> and C<orderitems>. |
|
1291 |
|
|
1292 |
=head1 FUNCTIONS |
|
1293 |
|
|
1294 |
=over 4 |
|
1295 |
|
|
1296 |
=item retrieve_simple PARAMS |
|
1297 |
|
|
1298 |
simple OE retrieval by id. does not look up customer, vendor, units or any other stuff. only oe and orderitems. |
|
1299 |
|
|
1300 |
my $order = retrieve_simple(id => 2); |
|
1301 |
|
|
1302 |
$order => { |
|
1303 |
%_OE_CONTENT, |
|
1304 |
orderitems => [ |
|
1305 |
%_ORDERITEM_ROW_1, |
|
1306 |
%_ORDERITEM_ROW_2, |
|
1307 |
... |
|
1308 |
] |
|
1309 |
} |
|
1310 |
|
|
1311 |
=back |
|
1312 |
|
|
1313 |
=cut |
Auch abrufbar als: Unified diff
Dokumentation einheitlich in den Footer verschoben, Datei mit END abgeschlossen (beschleunigt parsen), und POD Fehler gefixt.