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.
What is the Saved Search Formula for Most Recent Value?
Saved Search Formula
Formula (Date) | MAXIMUM |
CASE WHEN {item.inventorylocation} = {location} and {type} = 'Item Receipt'
THEN {trandate} ELSE
CASE WHEN {item.inventorylocation} = {location} and {type} = 'Inventory Adjustment'
THEN {trandate}
end
end
If an Inventory Item has both Item Receipt and Inventory Adjustment related records, it should always show the LAST Item Receipt Date. Only Show LAST Inventory Adjustment Date, IF there are NO Item Receipts associated.
The above Saved Search shows the most recent date regardless of the type. Ex.
Item Receipt = jan 1, 2023
Inventory Adjustment = Feb 1, 2023
The result is showing Feb 1, 2023, but it SHOULD show jan 1, 2023 and stop evaluating. Only continue evaluation if there is no Item Receipt or Item Receipt date.