Hi,
Thanks, that's working.
Thanks & Regards,
Fromkgk_007
________________________________
From: Shalini M <mshal...@uxtechnologies.com>
To: care2002-developers@lists.sourceforge.net
Sent: Thursday, 14 May, 2009 3:52:18 PM
Subject: Re: [Care2002-developers] Help: Fatal error: Call to undefined
function: getpharmaofdept()
Hi,
Have you ever created a new product?
If no, Please do the following steps
1.[Left menu]Pharmacy
2.Databank->Newproduct->Enter data and save Nb:Please remember order number or
artikelname
3.Then Go to main menu Click on Ordering->Select Department
4. Search using this order number or artikel name
After adding a new product make sure you table care_pharma_produc_main table...
If it is updated or not....
Then u can reach ur goal
Best wishes
Shalini M
On Thu, May 14, 2009 at 3:27 PM, ganesh kumar <kgk_...@yahoo.co.in> wrote:
Hi,
I have modified the class_department.php from koders, and now I find no data in
the table care_pharma_products_main.
Attached the updated screen shot and the required files for your reference.
Thanks & Regards,
From
Ganesh Kumar.K
+91-9444244300
________________________________
From: Shalini M <mshal...@uxtechnologies.com>
To: care2002-developers@lists.sourceforge.net
Sent: Thursday, 14 May, 2009 2:16:25 PM
Subject: Re: [Care2002-developers] Help: Fatal error: Call to undefined
function: getpharmaofdept()
Hi,
Please make sure the function name getproductinfo() in both
products-bestellkatalog.php and include/care_api_classes/class_department.php
On Thu, May 14, 2009 at 2:12 PM, Shalini M <mshal...@uxtechnologies.com> wrote:
Hii
Would you please attach products-bestellkatallog.php file?
Regards,
Shalini
On Thu, May 14, 2009 at 1:52 PM, ganesh kumar <kgk_...@yahoo.co.in> wrote:
Thanks for your timely assistance. But even after adding the funtion I get the
same error. Attached the screenshot for more info.
Thanks & Regards,
Fromkgk_007
________________________________
From: Shalini M <mshal...@uxtechnologies.com>
To: care2002-developers@lists.sourceforge.net
Sent: Thursday, 14 May, 2009 12:26:20 PM
Subject: Re: [Care2002-developers] Help: Fatal error: Call to undefined
function: getpharmaofdept()
Hi
Please add the following functions to
care2x_2.5_RC1\include/care_api_classes/class_department.php
/**
* Gets the id of the pharmacy on wich this department can order. The
result is 2 dimensional associative array.
* @access public
* @param int Department number
* @return mixed 1 dimensional associative array or boolean
*/
function getPharmaOfDept($nr){
global $db;
$this->sql="SELECT pharma_dept_nr FROM $this->tb WHERE nr=$nr";
if ($this->result=$db->Execute($this->sql)) {
if ($this->result->RecordCount()) {
return $this->result->FetchRow();
} else {
return FALSE;
}
} else {
return FALSE;
}
}
NB:-
You know about Koders code search engine http://www.koders.com/ It is an
opensource code engine. Just put any tag u wanna to search in any open source
code
It will give you a correct path ...
I believe that it will help you...Please let me know....
Best Wishes
Shalini M
On Thu, May 14, 2009 at 11:47 AM, ganesh kumar <kgk_...@yahoo.co.in> wrote:
Hi,
I am getting this fatal error when I am trying to create and send a pharmacy
order list.
Fatal error: Call to undefined function: getpharmaofdept() in
D:\xampp\htdocs\care2x_2.5_RC1\modules\products\products-bestellkatalog.php on
line 16
Please assist me to overcome this problem.
Thanks & Regards,
Fromkgk_007
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition
http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers
--
Regards,
Shalini M
UXTechnologies Pvt. Ltd. Kannur
________________________________
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition *
Click here!
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers
--
Regards,
Shalini M
UXTechnologies Pvt. Ltd. Kannur
--
Regards,
Shalini M
UXTechnologies Pvt. Ltd. Kannur
________________________________
Share files, take polls, and make new friends - all under one roof. Click here.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers
--
Regards,
Shalini M
UXTechnologies Pvt. Ltd. Kannur
Bring your gang together. Do your thing. Find your favourite Yahoo! group
at http://in.promos.yahoo.com/groups/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers