PO in VB

vyankuvyanku Member Posts: 791
Can we create and post PO through VB for NAV 4.0?

Comments

  • AlbertvhAlbertvh Member Posts: 516
    NEVER do any posting, creation of records etc from an outside appl. as this wil not do any of the business logic within the NAV appl. [-X =;
  • WaldoWaldo Member Posts: 3,412
    Indeed, you shouldn't do that.

    You should make sure you execute business logic. That means you should be using a NAS Server (C/FRONT doesn't execute BL!!) to connect with a 3th party application. If you use NAS to do the posting, and give the instruction throug a VB application, it should be OK.

    In 5.1, you'll have web services that you can expose ... . This will be a very interesting way to use business logic in your VB applications ... but that's something for in the future :| .

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • vyankuvyanku Member Posts: 791
    Ok
    But can we only create PO using C\front?

    In 5.1, you'll have web services that you can expose ... . This will be a very interesting way to use business logic in your VB applications ... but that's something for in the future .

    In web service we have to create application in asp.net, is it write?

    Can we use web service in 4.0, OR 5.0?
  • WaldoWaldo Member Posts: 3,412
    You can already use webservices, but now, you'll have to create them yourself (together with NAS).

    IN 5.1, you will be able to create webservices from within C/SIDE in a very simple way.


    Creating PO in VB is not advisable either, because of the lack of validation code.
    You could create a record in a temp table, and the NAS could pick that record and create the PO for you.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • DenSterDenSter Member Posts: 8,307
    You need to either write the record into a staging table and have a routine inside NAV process those records into a 'real' PO, or develop a communication mechanism inside of NAV that is able to receive records in a certain way, like an XML document.
Sign In or Register to comment.