Dear everyone,
I'd like to call SalesTable from my Customize form. During my
calling, I pass the args with myOwnSalesId. What I need is to check
myOwnSalesId with SalesTable's SalesIds.. Once it is match, I'd like
to set active (Highlight value) of that SalesId as a default data.
Example, if I have sales oder 001, 002 003 at SalesTable and if I
pass myOwnSalesId=002 then the SalesOrder form will open with
SalesId 002 is active.
At the SalesOrder's init method, I come out like this
init
{
MyOwnTable myOwnTable;
;
myOwnTable = element.args().record();
if(SalesTable::checkExist
(myOwnTable.myOwnSalesId)) /// already created
{
// I'd like to set active the SalesOrder with saleId
which is equal ot myOwnSalesId
SalesTable_ds.setCurrent();// this gives me error :(
}
}
Please advice me.
Thanks in advance,
kamtt
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

