New resources available on Microsoft Learn
Did you know that Microsoft Learn offers free training modules to assist you on your path to mastering Dynamics 365 for Finance and Operations? Become an expert at your own pace or share with your team to foster growth.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
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 and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Error message : Missing SalesTable2LineFields.lineUpdateDescription implementation for field PackagingDate on Sales Table.
The code is this
I moved your question to the F&O forum, because CoC didn't exist in previous versions of AX.
Let me simplify you code before investigating it. I believe it could be simplified to this:
FieldLabel description = next lineUpdateDescription();
case fieldnum(SalesTable, PackagingReceiptDate_DLX) :
return fieldId2PName(tableNum(SalesLine), fieldNum(SalesLine, PackagingReceiptDate_DLX));
Can you please tell us where the error is thrown? I don't believe it's in this this method, maybe it's in the object you're extending?
Written this code and now its working properly without any error. But its not with COC.
final class SalesTable2LineFields_ClassExtension
[SubscribesTo(classStr(SalesTable2LineField), delegateStr(SalesTable2LineField, lineUpdateDescriptionDelegate))]
public static void SalesTable2LineField_lineUpdateDescriptionDelegate(FieldId _fieldId, TableId _tableId, EventHandlerResult _result)
str description = '';
case fieldNum(SalesTable, PackagingReceiptDate) :
description = fieldId2PName(tableNum(SalesLine),fieldNum(SalesLine, PackagingReceiptDate));
When you say its not working with COC, what happens when you use COC ? Is description coming as blank ?
Business Applications communities