Join Slack
Powered by
Hi, doing a saved search to get baseprice, doesn't...
# general
g
george085
03/04/2021, 12:59 AM
Hi, doing a saved search to get baseprice, doesn't work when use formula {pricelevel1}, something wrong? thanks
g
Gregory Jones
03/04/2021, 1:14 AM
What type of saved search are you creating?
g
george085
03/04/2021, 1:18 AM
search.create({ type: 'item', filters: [['internalid', 'is', itemInternalid]], columns: ['baseprice', {name: 'formulacurrency', formula:'{pricelevel1}'}] }).run().each(res => { log.debug('res', res) }) the output is following {"recordType":"inventoryitem","id":"19846","values":{"baseprice":"400.00","formulacurrency":"ERROR: Field Not Found"}}
b
battk
03/04/2021, 1:23 AM
use the pricing join
battk
03/04/2021, 1:25 AM
depending on your account's setup, you may be able to simply use the base price column
g
george085
03/04/2021, 1:26 AM
yeah, just curious, works for other pricelevels like {pricelevel5} but not {pricelevel1}
b
battk
03/04/2021, 1:28 AM
depends on the features enabled in the account, item pricing gets complicated quickly
g
george085
03/04/2021, 1:40 AM
thank you
Open in Slack
Previous
Next