ディスカッション
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
SuiteScript-アドバンスト保管棚/在庫管理を有効にして保管棚移動を作成する
適用
製品: NetSuite 2020.2
シナリオ
保管棚移動はスクリプトを用いて作成する必要があり、アドバンスト保管棚/番号付き在庫管理機能が有効になっています。
解決策
アドバンスト保管棚/在庫管理が有効になっているかどうかを確認するには:
- 設定> 会社> 機能を有効化に移動します
- アイテムと在庫タブ
- 在庫グループ
SuiteScript 1.0サンプル:
function createBinTransfer(type)
{
var obj = nlapiCreateRecord('bintransfer'); // create New Record for Bin Transfer
obj.setFieldValue('location', 2); // '2' --> Internal ID of the location you want to set
obj.setFieldValue('memo', 'Advanced Bin'); // 'Advanced Bin' --> Text (Optional)
obj.selectNewLineItem('inventory'); // --> Sublist
obj.setCurrentLineItemValue('inventory', 'item', '4'); // '4' --> internal ID of the item you want to set
obj.setCurrentLineItemValue('inventory', 'quantity', 1); // '1' --> Value of Quantity you want to set (integer)
var x = obj.createCurrentLineItemSubrecord('inventory', 'inventorydetail'); // --> Subrecord
x.selectNewLineItem('inventoryassignment'); // --> Sublist of Subrecord
x.setCurrentLineItemValue('inventoryassignment', 'binnumber', '7'); // '7' --> internal ID of the bin you want to set to "From Bins"
タグ付けされた:
0