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 2 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
I'm facing one issue while retrieving the load related data from WHS Load Table and WHS load Line table in query-based lookup.
1) where I have added the bound control( LOAD field) from the sales table for look up field
2) In lookup, the field should be( Load id, site, warehouse, invalid, Qty, shipment ID. here the Load id, site, warehouse, invalid) fields are taken from WHS load Table where (Qty, shipment ID )fields are taken from WHS Load Line table
but in lookup field, it is showing Account number field instead of shipment ID field as shown in the below image.
AND I HAVE WRITTEN CODE IN THIS WAY
Query query = new Query();QueryBuildDataSource qbdsSalestable,qbdsWhsloadTable,qbdsWhsloadLine;
SysTableLookup sysTableLookup = sysTableLookup::newParameters(tableNum(WhsloadTable), this);qbdsWhsloadTable= query.addDataSource(tableNum(WhsloadTable));qbdsWhsloadLine= qbdsWhsloadTable.addDataSource(tableNum(WHSLoadLine));qbdsWhsloadLine.relations(true);qbdsWhsloadTable.addRange(fieldNum(WhsloadTable,LoadStatus)).value(queryValue(!WHSLoadStatus::Shipped));sysTableLookup.addLookupfield(fieldNum(WhsloadTable,LoadId));sysTableLookup.addLookupfield(fieldNum(WhsloadTable, InventSiteId));sysTableLookup.addLookupfield(fieldNum(WhsloadTable, InventLocationid));sysTableLookup.addLookupfield(fieldNum(WHSLoadLine,Qty));sysTableLookup.addLookupfield(fieldNum(WHSLoadLine,Invalid));sysTableLookup.addLookupfield(fieldNum(WHSLoadLine,shipmentid));
So, kindly help me to sovle this error .
thanks in advance
Note that besides the Account Number & Shipment Id dilemma, the quantity field you added does not display. So I suspect that the resulting lookup is not your lookup (your code does not get hit or is overridden by something else). So I think you should first make sure that the lookup you see is indeed your lookup.
when I check with bugger the values are passing correctly but it is showing now in this way
now instead of Qty it's displaying as the final destination and for shipment id, it displays as Invalid and the code for this is
Business Applications communities