Is there a way to pass variable of Record (or RecordRef) type as a parameter to method of .NET object?
Pass Record variable to .NET library
243 Views Asked by Mak Sim At
1
There are 1 best solutions below
Related Questions in DYNAMICS-NAV
- How to call a function in Microsoft Dynamics NAV to retrieve XML using AFNetworking2
- 'java.lang.String org.ksoap2.serialization.SoapPrimitive.toString()' on a null object
- Import PayPal Transactions to Dynamics NAV
- Dynamics Nav 2013 web service without authorization
- Dynamics Nav 2013 Web Client Page in Other Website
- Type of return value - function XMLHTTP.responseXML
- How to retrieve the previous record in navision
- Postman HTTP Status 400 - why?
- Export flowfield definition?
- Could not load type '' (blank) error when trying to reference .NET assembly in NAV2013
- How to sum data according to page filter in Dynamics NAV 2009 R2?
- Change Tab of TabControl via Code
- Dynamics Nav 2009 R2: Update Page list
- Dynamics NAV Sales Invoice Report: Modifying the SalesShipmentBuffer and findPostedShipmentDate()
- Updating Sales Order line items in Dynamics business central
Related Questions in DYNAMICS-NAV-2013
- Dynamics Nav 2013 web service without authorization
- Dynamics Nav 2013 Web Client Page in Other Website
- How to recursively build a list of Item Substitutions when multiple substitutes exist
- .net framework application accessing methods and data from Microsoft Dynamics Nav 2013, is it possible?
- Dynamics Nav 2013 web application
- Dynamics NAV Control Add-in not found
- How can I set the default filename for a NAV report
- Microsoft Dynamics NAV table fields not found
- Use function from powershell cmdlet dll
- SOAP uses different datetime format
- How can you call a URL without opening a browser in C/Side?
- Dynamics Nav Control Add-in supported internet explorer
- What does @@@ mean in Dynamics-NAV Text Constants
- Pass Record variable to .NET library
- How to generate pdf report automatically in Dynamics NAV
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In theory it is not possible pass like datatable or something else. What you can do is to create a public class in .NET that is visible in NAV, complete the data of that class and pass the .NET class as a parameter with the data in the NAV table.
For example table 18 (Customer) you can create a .NET class with the same structure, call this class in NAV code, complete the data in NAV and then pass this class with the same fields data as table 18 to .NET
If you need pass a parameter multiples registers of the same table create a Array of this .NET class perform a loop, assing the values and pass one by one to .NET
I made a code similar to the one I told you about and it works correctly.