Friday, September 23, 2016

OSB 12C - Lookup DVM definition in another project



In OSB 12C we can perform DVM definition look-up into another OSB project using dvm:lookup function.

dvm:lookup function returns a string by looking up the value for the target column in a domain value map, where the source column contains the given source value.

dvm:lookup(dvm-location, src-column, src-value, target-column, default-value)


For DVM look-up  use following format

<Project_Name>/DVM/<DVM_FileName.dvm>

E.g.

OSBPrj1/DVM/country.dvm


In look-up function use

dvm:lookup("OSBPrj1/DVM/country.dvm", "xxx", "xxx", "xxx", "xxx")


No comments:

Post a Comment