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.
Getting media item data from download-item record
I need to get the URL for the media item that is associated with a downloaditem. The normal way of getting items via a 'machine' doesn't work in this case: itemRecord.getLineItemCount("mediaitem")
When I look at the downloaditem record via XML I see the price, and sitecategory "machines" but nothing for the media item, so I can see why the above script wouldn't work. However we have a custom record on our items, and I can get data from that with getLineItemCount etc, and that doesn't show up in the XML
Anyway, what is the correct way of getting data for the mediaitem(s) that are attached to a download item. I really only need the internal ID of the media item as once I have that, I can get everything else I need.