Breaking news from around the world
Get the Bing + MSN extension
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
A purchase requisition is an internal document that authorizes the Purchasing department to buy items or services. If you want to create purchase requisition using x++ in D365FO and AX 2012, you are at the right place.
In my this article, I will show you how to create Purchase requisition using programming language i.e. X++. See the steps below:
public static void main(Args _args)
//Purchase requisition header
purchReqTable.PurchReqId = NumberSeq::newGetNum(PurchReqTable::numRefPurchReqId()).num();
purchReqTable.PurchReqName = 'PR from X++ Job';
//Purchase requisition lines
purchReqLine.ItemId = "PRD000711"; //Replace ItemId according to your system's data
purchReqLine.BuyingLegalEntity = CompanyInfo::find().RecId;
purchReqLine.InventDimIdDataArea = curext();
purchReqLine.PurchQty = 2;
info(strFmt("Purchase requisition '%1' created successfully",purchReqTable.PurchReqId));
Above code is just an example to show you how can purchase requisition be created. You can use this code according to your requirements. So, in this way you can use create purchase requisition using X++ D365FO.
Moreover, if this helps you, please Like, Comment and Share to help other people. If you found any ambiguity or a better solution, please feel free to ask.
Website: Click here
Blog: Click here
YouTube: Click here
GitHub: Click here
The post Create purchase requisition using x++ appeared first on NevoiTech Blog.
Business Applications communities