During a migration from Efficy 2012 to Efficy 11.1 The following code in a serverscript gives an Overflow error :
Message: "Overflow while converting variant of type (Double) into type (Integer)"
The code which throws this error :
var editSource = Efficy.OpenEditContextRelation(ntOppo, ntProd, k_Opportunity, K_Product, k_Relation);
Parameters passed to the functions are the following:
Key = 203703
DetailKey = 17012
K_Relation = 752975747 (which is stored in the SQL DB as an int correctly)
Is there a reason why this doesn't work properly in Efficy 11.1?