health
[Top][All Lists]
Advanced

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

Re: [Health] Health Services: Create Health Service Invoice


From: ronald munjoma
Subject: Re: [Health] Health Services: Create Health Service Invoice
Date: Sun, 7 Oct 2012 16:47:34 +0200

Hi Luis,

On 7 October 2012 16:33, Luis Falcon <address@hidden> wrote:
Hi Ronald

On Sun, Oct 7, 2012 at 11:22 AM, ronald munjoma <address@hidden> wrote:
> Hello,
>
> using the built in standard groups I have created a users doctor, belonging
> to the group Health Doctor and backoffice belonging to the group Health
> Backoffice.
>
> As the user doctor, I can add items to the Health Services Modules, when I
> try and create the Health Service Invoice I am getting:
>
> "You can not create this kind of document! (account.invoice) error message.
>
> As the backoffice user I can access the Health Service record created by the
> user doctor, but can not create invoice, getting:
>
> "You can not create this kind of document! (account.invoice) error message.
>
> When I try and create the Health Service invoice as the admin user I am
> getting:
>
> The field "Payment Term " on "Invoice" is required
>
You need to create the payment terms for the party/user you're
invoicing. Check the "Accounting" tab on the party and add a payment
term.

Thanks, that worked for the admin user. The doctor and backoffice user still can not create a Health Service Invoice, getting: 
"You can not create this kind of document! (account.invoice) error message.
Is this correct, I remember from our previous discussion you indicated that the billing will be done by a different person and I thought that person should surely belong to the back office group.

Regards and thanks
Ronald Munjoma

Best
> I have two payment terms created, cash and medical aid.
>
> Find below trace:
>
> 68.254.101:54589 using JSON-RPC on database 'medicare'
> [Sun Oct 07 14:11:49 2012] INFO:dispatcher:successful login 'admin' from
> ::ffff:192.168.254.101:54594 using JSON-RPC on database 'medicare'
> [Sun Oct 07 14:13:54 2012] ERROR:sql:Wrong SQL: INSERT INTO
> "account_invoice"
> ("account","description","reference","payment_term","journal","currency","state","invoice_address","company","party","type",
> create_uid, create_date) VALUES ( 5, E'Consultation', E'SERV 2012/001',
> NULL, 1, 152, E'draft', 7, 1, 7, E'out_invoice', 1,
> '2012-10-07T14:13:54.189154'::timestamp) RETURNING id
>
> Your assistance will be greatly appreciated.
>
> Regards and thanks
> Ronald Munjoma
>
>
>



--
Luis Falcon
GNU Health
http://health.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]