Skip to content

Instantly share code, notes, and snippets.

@Halicea
Last active August 29, 2015 14:09
Show Gist options
  • Save Halicea/9d0e313e25262e16f784 to your computer and use it in GitHub Desktop.
Save Halicea/9d0e313e25262e16f784 to your computer and use it in GitHub Desktop.
sample for selection
(sum
(select
(emref 'prlistprice')
(cond
(and
(> (emref 'prlistprice') 1000)
(= (emref 'prvendorname') 'brocade')
)
)
)
)
(sum
(select
(sum (emRefMulti 'psPricing, *'))
(emref '*, *, psPricing')
(cond
(and
(> (emref 'prlistprice') 1000)
(= (emref 'prvendorname') 'brocade')
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment