My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

13 July 2011

X++ Code Snippet: create PurchTable

This X++ Code Snippet describes how to create a PurchTable.


PurchTable purchTable;
NumberSeq numberseq = NumberSeq::newGetNumFromCode(
PurchParameters::numRefPurchId().NumberSequence,
true);

purchTable.clear();

purchTable.PurchId = numberSeq.num();
purchTable.initValue();
purchTable.OrderAccount = "0001";
purchTable.initFromVendTable();
purchTable.insert();

numberSeq.used();


Continue reading......

by Patrik Luca 0 comments

08 July 2011

Extract date from a DateTime field

This post is a code snippet showing how to extract the date from a DateTime field

myDate = DateTimeUtil::date(ContactPerson.LastEditAxDateTime)


Continue reading......

by Patrik Luca 0 comments

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Blog Archive

My Blog List

Followers

Links