C/front + .net

deltoiddeltoid Member Posts: 41
Hi everyone,
I just read an article about using C/FRONT from .net to talk to Navision. I had a search of this forum and the posts I found on it didn't make sense to me.

Could someone help me out with how from a C# or VB.Net program you go about talking to navision. Even if you have a simple helloworld code sample or something that would be helpful.

Thanks.

Comments

  • fruttafrutta Member Posts: 16
    c/front is a dll , u can call it from your C# or vb.net program.

    c/Front provide us like : setrange, setfilter, findset even calcfields and others. when you install sdk, there is an example how to use it in C#
  • WaldoWaldo Member Posts: 3,412
    If I'm not mistaken ... C/FRONT cannot call C/SIDE code! So don't expect your "OnValidate"-triggers to be executed ... .

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • toortoor Member Posts: 52
    You can find a sample project on the Nav 4.01 CD1 in:

    \Devkit\program files\Microsoft Business Solutions-Navision\SDK\CFRONT\DotNetSampleApplication


    tobias
  • deltoiddeltoid Member Posts: 41
    Waldo wrote:
    If I'm not mistaken ... C/FRONT cannot call C/SIDE code! So don't expect your "OnValidate"-triggers to be executed ... .

    Thanks for the replys. I will take a look at that sample application.

    Yeah that is what I was wondering. So basically the C/FRONT just allows me to write a C# program that makes use of the base Navision functions. But not the base Navision objects.

    Like I can't do SalesLine.VALIDATE("No.",'123'); in C#
  • fruttafrutta Member Posts: 16
    yup , CFront is allow us to view data di database navision, without using sql statement.


    i want to ask about CFront Function , what is the purpose using this function :
    UseCodeUnitsPermissions(int)

    thanks
Sign In or Register to comment.