P6 Core 5.15.4

Release date: Friday, 20th April, 2018

Fix the method table.lookup

[JIRA ticket 1295]

The method has been updated such that it returns an error if the query’s field does not exist.

// Execute the query 
table.lookup('PartnerData', [DOESNOTEXIST: 'rubbish']) 

// Will return 
{ 
  "message" : "Unable to filter on a non-existing column 'DOESNOTEXIST'", 
  "stackTrace" : [...] 
} 

Moreover, it was also fixed such that it filters the table’s records even if the query’s field is not a key (ie: indexed).