amitsdotcom
16th February 2011, 16:02
Hello friends,

I need to confirm if there is any way to execute AFS script from within Visual Basic ? Is there no DLL reference that I can include in Visual basic for me to call functions of ERP LN through Visual Basic ??

Infact what I am trying to do is am trying to update some values in a temporary table of ERP LN through visual basic and at the same time based on the information captured in this temporary table i need to update values in production order of ERP LN. Now I use a Visual Basic front end to capture the values in temporary table but once 1 field of that temporary table needs to update value in a production order in ERP LN which I want to do through AFS...

Would appreciate some information on this topic...

Thanks

Amit

mpfaender
16th February 2011, 16:29
Hi Amit,
you can try this with socket programming. you create a socket listener in ERP and this one is waiting on VB connection. You can use the ERP-Logic, too!

socket programming (http://www.baanboard.com/programmers_manual_baanerp_help_functions_interprocess_communication_cross_platform_synopsis)

Best regards
Michael

JaapJD
17th February 2011, 13:42
Build the logic in a Baan 3GL DLL and call that DLL via Baan Automation, which comes with BW.

mark_h
17th February 2011, 16:25
Just search the AFS/DDC/OLE forum on visual basic - you should get several threads.