[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PO creation in cli



I'm trying to create a PO in the cli and am getting hung up. Here's the script:

./oe.pl "path=bin/mozilla&
login=me&
password=geekygeek&
action=save&
type=purchase_order&
vc=vendor&
vendor=K-L MANUFACTURING--10349&
oldvendor=K-L MANUFACTURING--10349&
vendor_id=10349&
currency=USD&
defaultcurrency=USD&
employee=me--10157&
ordnumber=88123&
transdate=2007-01-02&
reqdate=2007-02-02&
partnumber_1=1823100&
description_1=Black X-Small Pro Racer Skort&
qty_1=10&
sellprice_1=24.58&
id_1=397139&
taxaccounts_1=&
notes=order saved from the command line&
rowcount=2"

Every time I run the above, I get the following error:

Error: menu.pl:108: Error: menu.pl:108: Error: Vendor not on file!

I know the vendor exists because I went into the db to pull it up. So far as I can see, everything that's needed is there. On the offchance that I was missing something, I went into the GUI and viewed the source code, copied out all of the variables there and tried each one, eliminating the ones that clearly weren't needed. And I still got the above error. What am I missing?

Charley