Values entered as shown here:
HUBUD01 12345678-12345678-12345678 main account
I got the following error as shown below, but when I checked this vendor, I got the record contains the SWIFT and account number, but Remark was empty.
Error!
Attribute (iban) is required at constructor LedgerSMB::Entity::Bank::new (defined at LedgerSMB/Entity/Bank.pm line 150) line 51
LedgerSMB::Entity::Bank::new('LedgerSMB::Entity::Bank=HASH(0x4c328b8)', 'entitysave_bank_account', 1, 'dbh', 'DBI::db=HASH(0x2ef0ab0)') called at LedgerSMB/Entity/Bank.pm line 125 LedgerSMB::Entity::Bank::save('LedgerSMB::Entity::Bank=HASH(0x4c328b8)') called at LedgerSMB/Scripts/contact.pm line 678 LedgerSMB::Scripts::contact::save_bank_account('LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 108 LedgerSMB::Handler::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0xcba898)', 'Try::Tiny::Catch=REF(0x2ef06c0)') called at lsmb-request.pl line 120 LedgerSMB::Handler::call_script('contact.pl', 'LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 84 require lsmb-request.pl called at constructor LedgerSMB::Entity::Bank::new (defined at LedgerSMB/Entity/Bank.pm line 150) line 51 LedgerSMB::Entity::Bank::new('LedgerSMB::Entity::Bank=HASH(0x4c328b8)', 'entitysave_bank_account', 1, 'dbh', 'DBI::db=HASH(0x2ef0ab0)') called at LedgerSMB/Entity/Bank.pm line 125 LedgerSMB::Entity::Bank::save('LedgerSMB::Entity::Bank=HASH(0x4c328b8)') called at LedgerSMB/Scripts/contact.pm line 678 LedgerSMB::Scripts::contact::save_bank_account('LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 108 LedgerSMB::Handler::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0xcba898)', 'Try::Tiny::Catch=REF(0x2ef06c0)') called at lsmb-request.pl line 120 LedgerSMB::Handler::call_script('contact.pl', 'LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 84 require lsmb-request.pl called at /opt/dev/stock14/contact.pl line 8
dbversion: 1.4.0, company: stock14
Diff:
I have reproduced this and noticed that also can't delete bank accounts. I expect this to be fixed today or tomorrow.
https://github.com/ledgersmb/LedgerSMB/pull/133