我如何通过传递 recordType 和 internalId 在 suitetalk 中获取客户记录的 URL

How I get URL of a customer record in suitetalk by passing recordType and internalId

我通过传递保存的搜索脚本 ID 和 CustomerSearchAdvanced 中的一些过滤器来获取客户记录,但我还想要 URL 每条记录

example- recordType 客户和 internalId 是 3645

URL 是 -- https://------.app.netsuite.com/app/common/entity/custjob.nl?id=3645

我的组织选择仅 hard-code 每个记录类型的 URL,然后附加内部 ID。幸运的是,所有记录系列都共享一个 URL,它根据内部 ID 解析为特定的记录类型 URL。这是我的意思的一个例子:

"/app/accounting/transactions/transaction.nl?id=1234567"

此URL 格式可用于所有交易。假设记录 1234567 是销售订单,这将解析为:

"/app/accounting/transactions/salesord.nl?id=1234567"

如果记录 1234567 是一个估计值,那么这将解析为:

"/app/accounting/transactions/estimate.nl?id=1234567"

因此,您不必为每个记录类型 hard-code URLs,只需为每个记录系列。这是其他一些家庭 URLs:

"/app/common/entity/entity.nl?id=" "/app/common/item/item.nl?id="