You need to sign in to do that
Don't have an account?
Mathieu
Need help with an S-Control
Hello,
I was wondering if someone could head me into the right direction, possibly some samples on how to accomplish the following 3 tasks. I only have a basic knowledge base of Javascript (enough for simple website functions) but have been programming in VB for over 10 years.
1. I have 2 objects. Service Timecard and Service
Service Timecard is from the Time Tracking app in AppExchange and I've customized it to have a section where I can specify some invoice-specific info such as the service code to use for billing and billing price. The service code to use is a Lookup control to the "Service" object that contains the services (Service Code, Service Description, Base Price).
What I'm trying to achieve as when a user selects a service code from the "Lookup" control that the "billing price" field on the Service Timecard object is automatically filled with the "base price" value of the selected service.
That's one of the things I'd like to accomplish.
2. I have a "Lookup" field on the Service Timecard object that links that timecard to an existing "In Progress" Invoice object. What I'd like to be able to do is from the Invoice object, under the "Service Timecard" related list, is be able to add multiple existing "Timecards" from a list by checking the ones I want and have the Invoice field on those timecards automatically updated with the current invoice's ID/Number.
And last but not least...
3. On the Invoice object, I'd like an S-Control as a button that when clicked would update the Invoices "Amount" field with the Sum of the amounts on the related Service Timecards.
So, is all this possible? And, is it too complicated to even be worth trying?
Thanks everyone, I thank you all in advance for any help you can throw my way.
Thanks for the info Greg,
I'll give it a shot on number 3.