Skip to main content

Posts

Day Year Month make date in MSD axapta

Basedate date1; ; info(strfmt('ToDay :%1', ,systemdateget()); info(strfmt('Year:%1', ,year(systemdateget())); info(strfmt('Day :%1', ,dayofmth(systemdateget())); info(strfmt("%1",mthofyr(systemdateget())); date1= mkdate(dayofmth(systemdateget()),mthofyr(systemdateget()),year(systemdateget()))); info(strfmt("%1",date1));

MS Dynamics Ax Subjects and topics

If you want to write any blog or article related to dynamics axapta then I want to suggest some topics which may famous keywords for you. 1. Microsoft Dynamics Axapta 2. DAX 3. Dynamics morphx 4. Ax Training 5. Axapta Corner 6. Axapta coverage 7. Ax Development and customization 8. X++ Business Connector 9. Dynamics ax developer 10. Axapta advisers. 11. Axapta accounting software 12.Axapta business intelligence 13. Axapta build numbers 14.axapta companies in India. 15. axapta development training. 16. axapta erp 17. axapta functional interview questions 18. axapta functional consultant jobs 19. axapta guide 20. axapta history 21. axapta help 22.axapta interview questions with answers 23. axapta jobs in india 24. axapta kernel version 25. axapta openings. 26. axapta programming language 27. axapta retail 28. axapta software free download 29. axapta user guide 30. axapta versions

Insert item details using barcode in MSD axapta

If you want to Insert item details using barcode in axapta then this code can help you. Here TableItemTrans is item transaction table. This is not a exact code but this can help you to get hints to implement barcode in your customized module. ItemId ItemId; InventTable InvTable; InventItemBarcode InventItemBarcode; TableItemTrans _TableItemTrans; ; ItemId = this.text(); If (ItemID != "" && !InventTable ::exist(ItemId)) { InvTable = InventTable::find(InventItemBarcode::findBarcode(this.text(), False, False).itemId); if (InvTable.ItemId != '') { info(StrFmt("Itemid using Barcode : %1.",InvTable.ItemId)); _TableItemTrans.ItemId = InvTable.ItemId; this.text(InvTable.ItemId); }

Test Sample code to call Web service Reference object in MSD axapta

This is a Test Sample code to call Web service Reference object in axapta. If you created any web service out side axapta and want to call that web service method to do some activity then this code sample can help you a lot. TestRefObject.RefObject_PortClient RefObject1; str errDesc; boolean ret; ; try { new InteropPermission(InteropKind::ClrInterop).assert(); RefObject1 = new TestRefObject.RefObject_PortClient("RefObject_Port"); RefObject1.Test_Method(para1,par2..); CodeAccessPermission::revertAssert(); ret = true; } catch(Exception::CLRError) { errDesc = strfmt("Error message %1,AifUtil::getClrErrorMessage()); ErrorLog::LogError("Error ",errDesc,SourceType::System); ret = checkfailed(errDesc); } return ret;