6/18/2025 12:28:29 PM
|
|
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.
|
|
|
|
SLX Mobile Development Question
Posted: 07 Jun 07 10:55 AM
|
Hi All, I am not sure if I can post a question with regards to development to SLX Mobile, I hope someone can give me some suggestions.
I am working on the opportunity_product form....i am trying to get the accountid into this form...normally i would use the parentid feature...but since the parent is opportunity, I cant get the accountid right away using the parentid property...
I am working on the ProductCodeChanged subroutine...
I tried assigning the businessobject Opportunity to a variable and then get the accountid thru that...but I am not sure I am doing this correctly.
Basically....what I doing is that I have entered accountids in the program field in the product program table...(trying to mimic price by customer functionality)...so basically for each product, I have a price in the productprogram table for each account...
I am trying to get the accountid so that I can go to the product program table and compare the productid to the productid field and the accountid to the program field and if i find a match, insert that particular price into the price field on the screen....if i dont find a match for the combination of product and account in the productprogram table..i insert a 0.
I made this work perfectly in the main saleslogix system...i am having trouble with mobile!
I have
Dim oppbo = As BusinessObjects.Opportunity = DirectCast(BoundObject, BusinessObjects.Opportunity)
Dim acctid as string
acctid = oppbo.Accountid
is that correct?
I was wondering if this will get me the accountid even though i am in the opportunity.product form...by writing this code, will i get the accountid for the current opportunity for which i am adding products?
Would appreciate any help.
Thanks in advance. Ram
|
|
|
|
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!
|
|
|
|
|
|
|
|