Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

X++ Code to Create Purchase Order and Post the Invoice.

$
0
0
X++ Code to Create Purchase Order and Post the Invoice. Following code will create the Purchase order from code and post the invoice as well by making use of "PurchFormLetter" class. static void TheaxaptaCreatePOInvoice(Args _args) { NumberSeq numberSeq; Purchtable Purchtable; PurchLine PurchLine; PurchFormLetter purchFormLetter; ; ttsbegin; numberSeq = NumberSeq::newGetNumFromCode(purchParameters::numRefPurchaseOrderId().NumberSequence,true); // Initialize Purchase order values Purchtable...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>