My Products
Help
omelhus
PARTNER

Inconsistencies in data type for companyNo/vismaNetCompanyId

by omelhus

Hey,

 

I have this query where I need to use both useCompany, and fetch some things from the company table on useCustomer. Turns out the data type for "no" on useCompany is Int, whilst vismaNetCompanyId on the company table is Long. This means that I have to use two variables to get what I want.

 

- Ole

1 REPLY 1
omelhus
PARTNER

by omelhus

Would also be great if useModel could take a numeric languageNo instead of (or in addition to) lang: Enum. This would let me fetch the correct translations based on the languageNo on an associate. If no match, fall back to the value provided in lang or something that makes sense.