I've come up with a odd problem, I've old dataport that imports purchase invoices and its been working fine in classic sql client,
now I made a page for that port and do the import again, it gives me this error:
"xxx is not an available code for that dimension"
It works fine if I REM the dimension validation part of the code and all data comes in except the dimension.
This works without REM on classic client. We've triple checked the dimensions and they are good, as stated they work fine with classic side.
Anyone come up with this kind of error?
K.S.
0
Comments
I'm really loosing my hair with this, I even made temp table to see the dimension values come correctly from the file.
](*,) ](*,)
Yes its xmlport and port works correctly, it brings all the data to temptable and I'm populating the invoice fields from there.
Process
xml file -> xml port -> temp table -> invoice header creation from temp table -> invoice line creation from temp table for that invoice -> invoice line dimension validation
on the temp table global dimension 1 and 2 are in separate colums and when I validate the dimension in classic client it does it right way.
I create the line before I populate the amounts and other stuff:
After everything else I call the dimension validation, if there is value in the temp table (this is where it works or not depending the client) :-k
Does Modify(TRUE) call the validation when the field is populated. Why there is no word of this in the nav manuals
on the page itself there is no validation call for the shortcut 1 and 2 but in its table there is same as the other shortcuts have on page trigger. ](*,)