CBI-Wrapper
view release on metacpan or search on metacpan
lib/CBI/Wrapper.pm view on Meta::CPAN
=item *
L</create_flow()> is called;
=item *
a CBI::Wrapper::Flow is passed with L</set_flow_CBI($CBI_flow)>;
=item *
a file is L<loaded|/load($filename)>.
=back
=head2 load($filename)
Load a file with the filename passed as param.
This will set a new current CBI::Wrapper::Flow object
with the file content.
This will B<NOT> set the current header and disposals.
=head1 OTHER CBI FLOWS
You can configure other flows (es. MAV) editing CBI::Wrapper/RecordMapping.pm
In that file every disposal config is like this:
my $IB = [
{from => 1, to => 1, name => 'filler1', type => 'an', truncate => 'no'},
];
where
=over 4
=item *
from is the starting column
=item *
to is the ending column
=item *
type is the field data type (n = numeric, an = string)
=item *
truncate denotes if the string content will be truncated automatically (if length > field length)
or if an error will be thrown.
=back
=head1 ONLINE RESOURCES
=over 4
=item *
Official documentation L<https://www.cbi-org.eu/My-Menu/Servizio-CBI-Documentazione/Servizio-CBI-Documentazione-Standard>
(Registration required)
=back
=head1 ACKNOWLEDGEMENTS
Lorenzo Battistini - Author of the Python module from which this code is derived.
=head1 AUTHOR
Samuele Bonino <samuele.bonino at resbinaria.com>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2022 Res Binaria Di Paolo Capaldo (<https://www.resbinaria.com/>)
Original python code:
Copyright (C) 2012 Agile Business Group sagl (<http://www.agilebg.com>)
Copyright (C) 2012 Domsense srl (<http://www.domsense.com>)
Copyright (C) 2012 Associazione OpenERP Italia
All Rights Reserved
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
=cut
( run in 0.814 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )