8/24/2025 2:37:52 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
literature request form
Posted: 31 Jul 07 6:14 AM
|
can anyone please tell me on how to execute(write) a script that will get timestamp before the literature request ,invoke the literature request form and then query the litrequest table for an litrequests after the timestamp and the activity(literature activity) is created via. script.
Activity should include the details of the items and quanytities to be fulfilled.
Pls send me the idea on how to proceed. |
|
|
|
Re: literature request form
Posted: 01 Aug 07 8:44 AM
|
Hi, Vijay,
What do you want to do with this data?
To me this sounds like a ripe opportunity to build a contact group. Join the LITREQUEST table to contact with a inner join by CONTACTID, then use a filter to limit the litrequests show to ones with a REQDATE that is within the last xxx number of days. You'll get a list view of all the literature requests within that time frame.
If you want to save it or preserve that snapshot, try writing a Crystal report that reflects the same set of data.
Mark |
|
|
|
Re: literature request form
Posted: 03 Aug 07 10:22 PM
|
Thank u for ur reply and i request you to answer for another question in this regard..
Activity created needs to be assigned to a person who is manager to the account for which literature request is made if it is not attended within 24 hours from the due date or if there is no manager for the account literature request should be assigned to another person.
looking forward for ur reply |
|
|
|
Re: literature request form
Posted: 06 Aug 07 11:52 PM
|
Hi Vijay,
Since Literature request form is a secure function for some reason, we can write a VB script before calling the form like this:
1. Create a new VB script 2. Put this piece of code
option explicit sub Main msgbox "Before Calling Literature Request" Application.BasicFunctions.DoInvoke "Function", "ScheduleLiteratureReq" msgbox "After Calling Literature Request" end sub
3. Save it under system family 4. In standard menus, Under schedule, change the function to your script for literature request 5. Make sure to choose Activescript for action and your VB code from the list 6. Test it first if your script is getting executed
These steps should work...
Later, Query the Literature tables to get all the activity meant for literature request.
select * from LITERATURE
This query should get you all the literature requests. I think expirydate is the duedate of literature request... (Not sure). Please check the datagrid in Account module -> Literature tab to find out who fulfilled the literature request. If the request is past the due date, then reassign it to whoever you want to. I dont know how you can trigger this event of finding the past due date and reassigning. That should happen in some sort of trigger.
I will try to create a trigger and let you know.
Regards, Rekha |
|
|
|
Re: literature request form
Posted: 18 Jun 08 2:59 PM
|
Has anyone attempted to re-write or create their own Literature Fulfillment Module? We use this feature extensively and unfortunately it is very cumbersome for our workflow. Before I go re-inventing the wheel, I thought I might ask the brain trust here to see if anyone else has had the same issues.
Thanks in advance for your comments...cd |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|