Saved Search Build : Just the Posted Transaction Lines

Build Difficulty: 💗💗

This one is for when you like to get only the posting lines that are created or approved within the x amount of days as specified.  These will be in the GL accounts and you should not be seeing any sales order, purchase orders, and requisitions.  Also, you should not see any unapproved transactions.

TRANSACTION search

CRITERIA

( Type is Journal OR
Main Line = F ) AND
(( System Notes : Field = Posting Period AND
System Notes : New Vale is not empty AND
System Notes : within 5 days ago and 1 days ago ) OR
( Posting = T AND
Date is within 5 days ago and 1 days ago ))

RESULTS

Internal ID
Document ID
Date
Period
Account : Number
Type
Amount
Word of Wisdom
In this example the x day is set to 5, obviously you may interchange this as you wish. When posting period is not empty it would imply posting is true. Journals do not have the notion of main lines.  In fact, if you try to look for main line in journals you will see return of null value (this is also a hint that mass updating journals can be a bit of a pain).


Comments

Popular posts from this blog

Troubleshoot : Purchase Order did not Auto Generate for Drop Shipping

SuiteScript : Defaulting Tax Code at Line Level

Saved Search Build : Find And Replace Substrings