简体   繁体   English

创建 NetSuite Restlet 以从供应商账单的“通信”选项卡中提取文件

[英]Creating a NetSuite Restlet to pull files from Communications tab of a Vendor Bill

I am currently trying to create a NetSuite restlet that searches through all my vendor bills for bills that have a file in the Communications tab and then downloads the file.我目前正在尝试创建一个 NetSuite restlet,它在我所有的供应商账单中搜索在“通信”选项卡中有一个文件的账单,然后下载该文件。

My issue is that I can't seem to access the Files Sublist within the Communications tab.我的问题是我似乎无法访问“通讯”选项卡中的“文件子列表”。 It looks likes the Files Sublist is a STATICLIST type (which isn't available for scripting according to this ), so I need a workaround.看起来 Files Sublist 是一个 STATICLIST 类型(根据这个不能用于脚本),所以我需要一个解决方法。

Has anyone dealt with this problem before?有没有人处理过这个问题?

I've done a customization similar with this problem before.我以前做过类似这个问题的定制。 You should be using a Saved Search and add your Vendor Bill ID as filter.您应该使用保存的搜索并将您的供应商账单 ID 添加为过滤器。 There is a field called File (Line) Fields... and File Fields... .有一个名为File (Line) Fields...File Fields...的字段。 You can make use of their internal IDs.您可以使用他们的内部 ID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM