Re: [Ledger-smb-devel] question

2008-03-19 Thread herman vierendeels
this is a 2-dimensional hash example my %hash2=(aa=>'aaa',bb=>'bbb',cc=>'ccc'); my $hash2_ref=\%hash2; print "$hash2_ref->{aa}\n"; my %hash1=(a=>\%hash2,b=>\%hash2,c=>\%hash2); my $hash1_ref=\%hash1; print "$hash1_ref->{a}{bb}\n"; Best is to put such pieces of code in a little file and test it

[Ledger-smb-devel] question

2008-03-19 Thread shaker yasa
Hello I need to understand , what is the meaning of theamount in this code at ic.pm $form->{amount}{"IC_$_"} It display the ref of the IC_... but what is the amount. Thanks for your cooperation Shaekir Khzym _

[Ledger-smb-devel] Entering a Sales Invoice via a script.

2008-03-19 Thread Del Miller
I am in need of pushing sales invoices into lsmb via a script. Writing the script is not a problem but I need to know the minimum fields required to get an invoice in. I've looked at the oe.pl module (and ended up confused at best) and also the 'enter sales invoice' web page that lsmb generat