Salesforce对象逻辑问题
我们在 Salesforce 中有一个名为“域”的自定义对象,它反映了我们构建和管理的每个网站。我们的域名使用我们销售的内部系统,该系统的模块具有以下属性:名称、默认价格、到期日期和客户支付的实际价格。我们需要一种将这些模块链接到域的方法,以便我们可以选择“domain.com”使用的模块 - 例如 - 模块 1,2 和 4。
从模块的选择中,我们希望自动生成该客户端的总价格根据这些选定的模块进行支付,公式将是核心价格加上每个选定模块的单独价格。我们需要能够基于此查询创建视图和报告,以便我们可以 - 例如 - 返回使用模块 1 的所有域。
理想情况下,这些模块将在整个系统中标准化,并且在一定程度上它的工作方式如下价格手册可以提供机会。我非常熟悉 Salesforce 中的一般对象管理,但还没有真正深入研究过 Visualforce/apex。同样重要的是,任何解决方案都只能使用专业版中的功能。
我似乎无法完全弄清楚解决这个问题的最佳方法,有什么想法吗?
谢谢。
We have a custom object in Salesforce called "domain" which reflects each website we have built and manage. Our domains use a in house system we sell which has modules which have these attributes: A name, a default price, an expiry date and the actual price the client is paying. We need a way to link these modules to a domain so we could choose that "domain.com" uses - for example - Modules 1,2 and 4.
From this choice of modules we would want to automatically generate a total price that that client is paying based on these chosen modules, the formula would be a core price plus the individual price for each of the chosen modules. We would need to be able to create a view and reports based on this query so we could - for example - return all domains which are using Module 1.
Ideally these modules would be standardised across the system and to a certain extent it would work like a price book does for opportunities. I am quite familiar with general object management in Salesforce but havent really looked much into visualforce/apex. It is also important that any solution only makes use of functionality in Professional Edition.
I can't seem to quite get my head round the best way to approach this, any ideas?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经找到了解决这个问题的方法。它涉及创建“连接对象”,其中允许对象之间存在多对多关系。我在域和模块之间创建了一个连接对象,作为它们之间的枢轴。
I have found a solution to this. It involved the creation of "Junction Objects" which allow many-to-many relationships between objects. I created a junction object between domain and module to act as a pivot between them.