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
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 -
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
I didn't use the table extension or form extension.
i use the default form or table in my package.
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;
Muneeb -
Parameters definition is ok, more likely u are messing in logic.
if u could post rest of method