fawzy_i_05
27th October 2013, 01:36
Hello,
Please I'm new in using API and AFS so any one help me to give me list of API codes and any simplified documents

Thx in advance

mark_h
27th October 2013, 05:57
See the sticky thread at the start of this forum - http://www.baanboard.com/baanboard/showthread.php?t=7251. Infor may have something that is more current, but this works for me.

fawzy_i_05
28th October 2013, 12:31
Dear Mark_h
all i want to know the procedure and the difference between the library types
UI Script with Database handling
UI Script for Print/Processing Session
General Library
General DLL - Dynamic Link Library
Integration DLL
DAL 2

after making the library link it to the table or what?

fawzy_i_05
28th October 2013, 12:35
Create a customized session calls the function of the warehouse transfer via API / AFS Code to call the standard session and forms to make the Warehouse Transfer Order to the Client Warehouse with the Same Code of the Customer Code.

bhushanchanda
28th October 2013, 13:57
Hi,

From what you say, I will assume you want to create a Warehouse Transfer Order. AFS is all about automating the process of data entry what you do manually. So, first you will need to understand how a normal user creates a Warehouse Transfer Order, which fields in the session are mandatory, which fields do you want the user to enter, which buttons are used to process it etc.

According to that, you can create a Diagram which defines the Business Process Flow of the activities and accordingly, you will need to program the AFS.

Now, there can be a way to design this automation. Like, you can create a session say. Print Session, you will need to add form fields as Item, Warehouse/Workcenter from and to, date etc. and a create button. Now, you can program the session as, when the Create button is clicked, the AFS will take the inputs from the session and accordingly, create a Warehouse Transfer Order.

I will suggest you to first start with simpler AFS like creating Area, Item Group, Item and then you can go further.

See these links:

Thread 1 (http://www.baanboard.com/node/3504)
Thread 2 (http://www.baanboard.com/baanboard/showthread.php?t=64361)

If you stuck anywhere, you can post it on the Board so that people can help you out.

Also, about the types of Scripts you can use, you can program AFS in almost any kind of script type. It depends on how you want to Automate the activity.