umesh shukla
umesh shukla

Reputation: 171

Suite Script 2.0 - Handling Duplicate Fields in Saved Search

I have a Transaction's saved search, in which I have used Account fields three times with custom label. please see attached screenshot. enter image description here

but when pulling data for this saved search using suite script 2.0, netsuite returns first account field as 'account', second as 'account_1' and third as 'account_2', please see attached screenshot of json output enter image description here

So I am not able to determine which account is 'Account Two' and which one is 'Account Three' (based on my screenshot), and this is causing my mapping screen failure.

Can anyone please help me regarding this.

Thanks in advance.

Upvotes: 0

Views: 371

Answers (2)

Anuradha Sinha
Anuradha Sinha

Reputation: 403

As per your screenshot, here is which one is which saved search column

  • Account is first occurance - (with no label)
  • Account_1 is the 2nd occurance of the same field (with Label Account Three)
  • Account_2 is the 3rd occurance of the same field (with Label Account Two)

Upvotes: 0

dcrs
dcrs

Reputation: 304

Is your saved search filtering (criteria) for Main Line?

Upvotes: 1

Related Questions