Notifications
Announcements
No record found.
Hi,
I am facing a problem while adding a edit method in form data source .
it returns false while i edit a method from form.
can any one help me out.
*This post is locked for comments
Muneeb -
Parameters definition is ok, more likely u are messing in logic.
if u could post rest of method
public edit qty qtylb( boolean _set,
qty _valuelb)
{
qty salesQty ;
qty _QtyBatch;
bomunitid fromunit;
salesQty = UnitOfMeasureConverter::convert(this.qtysched,
UnitOfMeasure::unitOfMeasureIdBySymbol(fromunit),
UnitOfMeasure::unitOfMeasureIdBySymbol("lb"),
NoYes::Yes,
InventTable::itemProduct(this.itemid));
}
return salesQty;
I didn't use the table extension or form extension.
i use the default form or table in my package.
U have coded as 'Display Method', be sure about ur requirement. for reference of Edit and Display methods review the following link
http://aslam111.blogspot.com/2014/01/display-edit-methods-in-ax-2012.html
and see the parenthesis order too
Check this link
dynamics-ax.blogspot.ae/.../creating-and-using-edit-method-on.html
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2