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 <..hidden..> 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
..hidden..
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
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel