The main thing missing is the ability to loop through things. login = username password = mypassword LOGIN MODULE CT company = My Customer's company name zipcode = 123456 [other fields as appropriate] CALL CT->save(user, form) if !id
On 12/1/06, Charley Tiggs <[EMAIL PROTECTED]> wrote: > Chris, > > I played with ledgersmb_cli.pl a couple of weeks ago and had trouble > figuring out exactly how to work it and the example wasn't clear to me > and since I knew you were actively working to make it a bit smarter, I > left it alone at that time. > > Can you give me another example of how the ledgersmb_cli.pl works as > related to, say, creating a customer? Perhaps that will help me get my > head wrapped around this easier/better. > > Charley > > Chris Travers wrote: > > I would think so. > > > > The caveat is that the sales order is closed *before* the invoice is > > posted, so you really want to be able to ensure that this happens > > atomically. Unfortunately, I don't think the SL interface was really > > set up with that in mind so you could get sent HTML to the CLI that > > you then have to parse and resubmit with a post action. If you don't > > mind installing Parse::RecDescent you can use the > > utils/cli/ledgersmb_cli.pl and this might work better for you (as it > > allows you to chain API calls transparently). If you pass an argument > > of - to it, you should be able to feed the script in via STDIN, I > > would think. > > > > Best Wishes, > > Chris Travers > > > > On 12/1/06, Charley Tiggs <[EMAIL PROTECTED]> wrote: > >> Hello, > >> > >> I'm creating sales orders via the command-line interface. If I later > >> create an invoice off of the CLI for that sales order, will the CLI > >> close the sales order? > >> > >> Charley > >> > >> ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > >> your > >> opinions on IT & business topics through brief surveys - and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Ledger-smb-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel > >> > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Ledger-smb-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Ledger-smb-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ledger-smb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
