[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Billing/invoicing for GNUmed
From: |
Sebastian Hilbert |
Subject: |
Re: [Gnumed-devel] Billing/invoicing for GNUmed |
Date: |
Sun, 6 Jun 2010 22:34:37 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.33-6-desktop; KDE/4.4.3; i686; ; ) |
Am Sonntag 06 Juni 2010, 11:16:18 schrieb Sebastian Hilbert:
Here is the command line to add a new customer:
./ct.pl "path=./bin/mozilla&action=add&level=Master%2520Data--
Add%2520Customer&db=customer&customernumber=4&greeting=Herr&selected_company_greeting=&name=Evik+Kneevel&department_1=&department_2=&street=Russenstr.
+52&zipcode=04289&city=Leipzig&country=Deutschland&contact=&phone=&fax=&email=&homepage=&creditlimit=0&terms=&payment_id=&discount=0&taxnumber=&ustid=&c_vendor_id=&account_number=&bank_code=&bank=&iban=&bic=&business=&language_id=&klass=&taxzone_id=0&salesman_id=¬es=&shipto_id=0&shiptoname=&shiptodepartment_1=&shiptodepartment_2=&shiptostreet=&shiptozipcode=&shiptocity=&shiptocountry=&shiptocontact=&shiptophone=&shiptofax=&shiptoemail=&cp_id=&cp_id=0&cp_gender=m&cp_title=&selected_cp_title=&cp_abteilung=&selected_cp_abteilung=&cp_givenname=&cp_name=&cp_phone1=&cp_phone2=&cp_fax=&cp_mobile1=&cp_mobile2=&cp_satphone=&cp_satfax=&cp_project=&cp_email=&cp_privatphone=&cp_privatemail=&cp_birthday=&bcc=&delivery_id=0&from=&to=&NOTE_id=&FU_id=&NOTE_subject=&NOTE_body=&FU_date=&FU_created_for_user=861&id=&business_save=&title_save=Kunde+erfassen&callback=ct.pl%3Faction%3Dadd%26db%3Dcustomer&db=customer&action=Speichern&&login=tux&password=linux"
It was hand craftet which really is a PITA ( I am still offering those
stickerns :-)
It works like that:
Install Firefox and the extension Livehttpheaders
manually perform the action in question (e.g. add customer)
observer the referrer and content part
rework that into a workable command line
cd /usr/lib/lx-office-erp
perl ./ar.pl "<Referer following ?>&<Content>"
which leads to:
/ct.pl "path=./bin/mozilla&action=add&level=Master%2520Data--
Add%2520Customer&db=customer&customernumber=4&greeting=Herr&selected_company_greeting=&name=Evik+Kneevel&department_1=&department_2=&street=Russenstr.
+52&zipcode=04289&city=Leipzig&country=Deutschland&contact=&phone=&fax=&email=&homepage=&creditlimit=0&terms=&payment_id=&discount=0&taxnumber=&ustid=&c_vendor_id=&account_number=&bank_code=&bank=&iban=&bic=&business=&language_id=&klass=&taxzone_id=0&salesman_id=¬es=&shipto_id=0&shiptoname=&shiptodepartment_1=&shiptodepartment_2=&shiptostreet=&shiptozipcode=&shiptocity=&shiptocountry=&shiptocontact=&shiptophone=&shiptofax=&shiptoemail=&cp_id=&cp_id=0&cp_gender=m&cp_title=&selected_cp_title=&cp_abteilung=&selected_cp_abteilung=&cp_givenname=&cp_name=&cp_phone1=&cp_phone2=&cp_fax=&cp_mobile1=&cp_mobile2=&cp_satphone=&cp_satfax=&cp_project=&cp_email=&cp_privatphone=&cp_privatemail=&cp_birthday=&bcc=&delivery_id=0&from=&to=&NOTE_id=&FU_id=&NOTE_subject=&NOTE_body=&FU_date=&FU_created_for_user=861&id=&business_save=&title_save=Kunde+erfassen&callback=ct.pl%3Faction%3Dadd%26db%3Dcustomer&db=customer&action=Speichern&&login=tux&password=linux"
Sebastian
Re: [Gnumed-devel] Billing/invoicing for GNUmed, Sebastian Hilbert, 2010/06/08