Iām quite a novice in SuiteCRM and javascript, and my question was how can I achieve a points system for the products that calculate itself, like discount or taxes.
I already tried creating the custom fields in line items and products, but i cannot make them show up. I was thinking about doing it with workflow, but I am not sure it will work.
What I am trying to do is to have certain points for every product, and everytime i make a contract with someone, sum all the points of the products and give them to the client.
Now i know itĀ“s a bit complicated, but with the right answer i think i can solve it.
Hope for a little bit more experienced people than me,
Thanks in advance.
Ok, Iāve looked it but I donāt find any good tut to start understanding it. Iām trying to learn SuiteCRM, and iāve been starting to develop a CRM based on SuiteCRM over 2 months ago. So far, i understood pretty much things, but I have a hard time to find any good explanations on creating a new logic hook on the internet.
Would you be so kind to help me out a little, or point me a webpage that would help me on this task?
Another minor problem I have is that I have āundefinedā in a lot of fields. I looked up the permissions, and I assume thatās not the problem. Iāve been looking in all forum about this problem. and havenāt found a solution yet.
Thanks a lot, I will look to the link u gave me , maybe with a bit of luck I can solve the previous problem out.
Kind Regards
having āundefinedā in a lot of places is not āa minor problemā. Itās only the tip of the iceberg, it means your system isnāt able to load random files.
It probably is related to permissions issues. Sometimes these are very tricky to get right, Iāve had posts here in the forums where it takes me 30 posts to get someoneās permissions working. So you should really check that and donāt assume itās working
find out which user your web server is running under
examine the ownership of files in your entire tree, to see if it matches that
examine permissions on your whole tree
Tell us if you need help.
You can start by going into Admin / Upgrade Wizard, and running the first step, that will check some permissions (but not all). Donāt worry, it wonāt upgrade anything unti lyou give it an upgrade package, and you can just cancel before that.
First thank you all very much for your great help.
I did 3 updates until now from the upgrade wizard and i had no problem, in fact it says that the files are fully editable and all the privileges are satisfied. Iām sorry, but I donāt know how i should ckeck the 3 things you point me up, I would appreciate a lot any steps to get it right, because I really want to learn more about this awesome software.
PD: iām running suitecrm in 1&1 Hosting, so is a webspace.
Ok, go into Admin / Schedulers and tell me what is written there at the bottom (instructions to set up cron jobs). With this we can find out your web server user (if you have at least v7.8.3, do you?).
Then post the results of this command given from the root of your SuiteCRM installation:
These are the lines that i have in Schedulers at the bottom of the page.
QUOTE
Para ejecutar los planificadores de SuiteCRM, editar el archivo crontab de los usuarios del servido web con este comando:
sudo crontab -e -u u88269097
ā¦ y aƱadir la siguiente lĆnea al fichero crontab:
cd /homepages/40/d669063229/htdocs/app; php -f cron.php > /dev/null 2>&1
EXITQUOTE
The second step you gave me Iām not sure where i have to enter it, since i have no console for the web server.
(uiserver):u88269097:~$ chown -R u88269097:u88269097
chown: missing operand after āu88269097:u88269097ā
Try āchown --helpā for more information.
3Āŗ
(uiserver):u88269097:~$ chmod -R 755
chmod: missing operand after ā755ā
Try āchmod --helpā for more information.
4Āŗ
(uiserver):u88269097:~$ chmod -R 775 cache custom modules themes data upload config_override.php
chmod: cannot access ācacheā: No such file or directory
chmod: cannot access ācustomā: No such file or directory
chmod: cannot access āmodulesā: No such file or directory
chmod: cannot access āthemesā: No such file or directory
chmod: cannot access ādataā: No such file or directory
chmod: cannot access āuploadā: No such file or directory
chmod: cannot access āconfig_override.phpā: No such file or directory
Sorry I didnāt mention it before, i have the crm installed on a subdomain called app.lateletienda.online. The files are in a subdirectory of root called āappā.
All of those commands need to be executed from the SuiteCRM root direcotry, so first you need to ācdā into app, and then that subdirectory, and then to the crm. Only when you are there, you should give those commands.
Also, pay attention because two of those commands end with a space followed by a dot (" ."). You arenāt including that, so they give errors.
Ok great, wow I donāt have any āundefinedā anyomore. Thank you so much.
The other question i had itās about the ābeansā, in the logic hooks problem, would you be a little bit more specific about the way to accomplish the points system? Iāve been trying to get a fix for it, but i donāt manage to get it working with workflow and custom fields.
First of all thank you for your time and explanations, they have been very usefull to me.
This is my last question, i would like to put a button in āactionsā tab in āEmployeesā, that would get a list of the sales of that employee in a specific time, or something similar. How could I do that?
I canāt give you much guidance there, I donāt know.
But they are two different things, so you need to work on them separately.
Once you know the terms, you can get good results from Google:
suitecrm add action menu item in list view
suitecrm add action menu item in subpanel
and then if you still need more, repeat that with āsugacrmā in place of āsuitecrmā, but then make sure you only follow instructions that are meant for version 6.5 or earlier.
But now when I try to create a user i canāt push āsaveā, it doesnāt do anything. Same thing happens when I try to change a user email or password, the āsaveā button doesnāt work. Itās there, but when i push it nothing happens. Any idea why?