![]() |
#1 |
Участник
|
axStart: new release of the AOTDigger
Источник: http://axstart.spaces.live.com/Blog/...C0A0!466.entry
============== Would it be nice if c# developers could program easy with the .net connector like this: C# example ax.TTSBegin(); ledgerjournalnameWrapper ledgerjournalName = newledgerjournalnameWrapper(); ledgerjournaltableWrapper ledgerjournalTable = newledgerjournaltableWrapper(); ledgerjournalName.common.ExecuteStmt("Select firstonly from %1 where %1.journalType == 0"); ledgerjournalTable.journalnameField = ledgerjournalName.journalnameField; ledgerjournalTable.initfromledgerjournalnameAX(); ledgerjournalTable.nameField = "C# generated Journal"; ledgerjournalTable.insert(); numberseqWrapper numberseq = numberseqWrapper.newgetnumfromcodeAX(ledgerjournalName.voucherseriesField); ledgerjournaltransWrapper ledgerjournalTrans = newledgerjournaltransWrapper(); ledgerjournalTrans.voucherField = numberseq.voucherAX(); ledgerjournalTrans.journalnumField = ledgerjournalTable.journalnumField; ledgerjournalTrans.currencycodeField = "EUR"; ledgerjournalTrans.exchrateField = currencyWrapper.exchrateAX(ledgerjournalTrans.currencycodeField); ledgerjournalTrans.accounttypeField = _ledgerjournalactype._ledger; ledgerjournalTrans.accountnumField = "57210"; ledgerjournalTrans.amountcurdebitField = 102.00; ledgerjournalTrans.transdateField = DateTime.Now; ledgerjournalTrans.txtField = "Room Stay"; ledgerjournalTrans.offsetaccounttypeField = _ledgerjournalactype._ledger; ledgerjournalTrans.offsetaccountField = "18110"; ledgerjournalTrans.insert(); ledgerjournalcheckpostWrapper ledgerJournalCheckPost = ledgerjournalcheckpostWrapper.newledgerjournaltableAX(ledgerjournalTable.common,_noyes._yes); ledgerJournalCheckPost.runAX(); It is possible when all AOT tables, classes and base enum are wrapped. for more details look at: http://www.codeplex.com/AOTDigger ![]() ![]() Источник: http://axstart.spaces.live.com/Blog/...C0A0!466.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|