The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2020
Read More about New TechTalks for 2020
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 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 | Upcoming TechTalks
Request for quotation (RFQ) is issued by organization to receive competitive offers from various vendors. In this technical article, you will create request for quotation using X++ in D365FO.
numberSeq = NumberSeq::newGetNum(purchParameters::numRefPurchRFQCaseId());
RFQCaseId = numberSeq.num();
axPurchRFQCaseTable = new AxPurchRFQCaseTable();
axPurchRFQCaseLine = new AxPurchRFQCaseLine();
axPurchRFQCaseLine.parmItemId('PRD000709'); //Replace ItemId as per your system's data
axPurchRFQCaseLine.parmItemName(InventTable::find('PRD000709').itemName()); //Replace ItemId as per your system's data
inventDim.InventLocationId = InventLocation::find('MW').InventLocationId; //Replace Warehouse as per your system's data
inventDim.InventSiteId = InventLocation::find('MS').InventSiteId; //Replace Site as per your system's data
inventDim = InventDim::findOrCreate(inventDim);
//Replace Default Dimension Rec Id as per your system's data
So, in this way you can create request for quotation using X++ in 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
Facebook: Click here
Don’t give up. Normally it is the last key on the ring which opens the door. – Paulo Coelho
The post Create request for quotation using x++ in D365FO appeared first on NevoiTech Blog.
Business Applications communities