如何在NetSuite中获取交易PDF

问题描述 投票:1回答:1

我能够通过Suitetalk API获取交易内部ID,但它没有API可以获取PDF格式的交易。

在这种情况下有人会帮助我吗?

netsuite suitescript2.0 suitetalk
1个回答
1
投票

这里是email.send附加文件的示例。我目前没有NetSuite帐户登录,但是下面的2.0代码是email.send模块的示例,您可以使用该模块通过电子邮件发送记录。如果您在NS文档中进行搜索,也会发现更多示例。

email.send({
  author:emailAudthorNSID, 
  recipients:emailRecipientNSID, 
  subject:'Example email subject', 
  body:'Example Email Body', 
  relatedRecords:{
    transactionId:transactionRecordToAttach
  }
});
© www.soinside.com 2019 - 2024. All rights reserved.