Показать сообщение отдельно
Старый 14.06.2008, 14:10   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Arijit Basu: Using AX .NET BC to create Purchase Orders
Источник: http://daxguy.blogspot.com/2008/06/u...-purchase.html
==============

A small but nice project to create multiline Purchase Orders in AX from a .NET Windows application. In this small POC, there is a Windows Application (C#) which uses the .NET BC to create PO into AX. Its a simple demo but can be extended to other areas like journals, Sales Orders , Inventory Transactions (any multiline header - detail type). For this a small class is written inside AX which exposes the logic. I have used the AXPurchTable() & AXPurchLine() classes to enter PO in AX. There is a similar post in MSDN (Using Axapta Business Connector to Create Microsoft Business Solutions–Axapta Sales Orders) but that uses the COM Connector & consists only of a single line. This sample can support multiline PO :). I have not worked too much on the validations & other advanced areas. The C# code also may not be the best :) but its simple.

The video on how to use it is attached below [Assumes that the current logged in user has User rights to AX]

AX Purchase Order using .NET BC

I have also uploaded all source files in the link below.


Let me know if anyone has a better way of doing this.
Happy DAXING :)


Источник: http://daxguy.blogspot.com/2008/06/u...-purchase.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.