Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Unassociate dormant bins
Hey Guys and girls, I'm looking to know if a helpful member will give me some advice on an issue that I've been working at for a few days now;
My idea is simple and I'm sure it would benefit other NetSuite users also.
Here is the draft userEvent script that I've been working on.:o
<span style="font-size:'"2"'">//This user event script renders bins available if there are no items left onhand in their respective bin. function userEventAfterSubmit(ItemFulfillment) { try { var fulfillment = nlapiGetNewRecord(); if (type == 'create') { var items = new Array(); var qtys = new Object(); for ( var int = 1; int &lt;= fulfillment.getLineItemCount('item'); int++) { var qoh = fulfillment.getLineItemValue('item','quantityonhand', int); if (qoh &gt; 0) { return; } else { fulfillment.SetCurrentLineItemValue('item', 'usebins', false); } } } } catch (e) { nlapiLogExecution('ERROR',e.getCode(),e.getDetails()); } } </span>