Salesforce知识点

1.  对象关系:

PriceBookEntry ——> Pricebook2 --------> Opportunity  ------>  Account

OpportunityLineItem ------->  Opportunity

OpportunityLineItem --------->  PriceBookEntry  -------->  Product2 


2. Trigger

在通过After Insert触发的Trigger里面,不能直接对Trigger.New里面的Record字段进行赋值,如果还要进行对象更新,必须New一下这个对象,并把已经Insert的Id赋值给它,然后做update,否则会报Record is read only 异常。(使用sObject.clone()和List.deepClone()可以很好的解决这个问题);


3. Customer Portal, Partner Portal

* Customer Portal : helps your customer to resolve their queries without contacting customer support rep.

Partner Portal : Your partners can login to your salesforce Org via a website other than salesforce. They are able to see and manipulate data for which you made them authorized.

customer portal is for your customers and Partner portal is for partners.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值