1

如何在网上商店/Netsuite 中创建新用户但不登录?session.registerGuest()并且session.registerCustomer()将登录用户以及创建一个新用户。

就我而言,我只希望创建用户。这是用例:我们销售医学测试。购买测试后,我们会为患者(很可能不是购买者)创建一个用户。所以我需要创建一个新用户,我希望只使用session.registerGuest()但登录新患者并注销购买者/客户。

任何想法如何最好地创建用户(并且不会在轨道上引起头痛)?我可以在 Customer 中创建一个新记录,但我不赞成这样做,因为我可能没有设置所有必要的字段,当/如果该患者合并为一个成熟的客户时,这可能会导致头痛。将患者创建为自定义实体(即,在客户表之外)不是可行的方法,因为他们最终可能成为客户,因此我需要合并、关联订单(测试)等。

如果我走上创建新用户记录的道路,关于我应该设置哪些基本客户列/字段的任何建议?

4

1 回答 1

1

This can actually be quite minimal. You need a name. You can do this easily via a Suitelet.

Of course if you are going to turn the customer record into an actual customer down the road you need to set enough information that you can retrieve the record otherwise creating it in the first place is pointless.

So in addition to the name you need to think how would you link the placeholder to a real person who is willing to offer some identity.

A possible value add is to include some information that identifies the original customer creator or an associated product so you can track revenue or get some sense of campaign success if the placeholder becomes a customer.

If you are doing this work as a contractor you should of course find out from your customer what there minimal requirements are. Perhaps you should create the customer record as a prospect or a lead instead of as a customer.

于 2017-04-26T21:36:10.843 回答