Commit Graph

5 Commits

Author SHA1 Message Date
Torben Nehmer
566d727297 Tested DevEnv Interface, fixed up several Code Contract errors / misuses.
Added Export as an DevEnv interface function, exporting a single object to txt. Builds a filter string and writes the whole stuff out. Works like a breeze.

Added Charset conversion for finsql.exe result values (command output and error log), which uses something similar (but not quite) to CP850. For any error message, this should be enough, however, be aware that the format of the TXT files generated by ExportObject is in the same strange encoding.

Details can be found here: http://forum.mibuso.com/discussion/37078/encoding-of-exported-navision-objects-txt-files

It should be considered if it makes sense to normalize the objects as best as possible into the Unicode plane and convert them back on exit - though this will probably generate a whole different set problems when automating Build jobs. For now, leave it as-is, better safe than sorry.
2016-11-25 22:32:34 +01:00
Torben Nehmer
28dbc5c7fa Implemented helper methods, equality, comparison and similar tools to make handling of NavObjects easier. Reject objects with a Company Name set, which we don't support at this point (not sure if this would acutally make sense).
Adapted test code.
2016-11-22 21:50:01 +01:00
Torben Nehmer
e2eb504261 Added SQL Interface to NAV Object table with support for serialization. Tested this. 2016-11-20 21:34:21 +01:00
Torben Nehmer
f816138188 CamelCase for Namespace Names 2016-11-20 21:33:12 +01:00
Torben Nehmer
3588c5359e Restructured Solution, command line app is now test host for the actual DLL. 2016-11-20 15:30:45 +01:00