Hi Vaibhav,



This method must be
(Forms/HRMAlternativeAddress/dataSources/Address/Methods/initValue() ) :



void initValue()

{

    super();



    if(element.args().record())               // if it has a record
parameter

    {

        if (element.args().record().tableId)

        {

            Address.AddrTableId = element.args().record().tableId;

            Address.AddrRecId   = element.args().record().recId;

        }

    }

}



if element.args.record() is null, this method throws exception.. because
null record shouldn't have a table id..



Regards,



Anil Ozay







  _____ 

From: Vaibhav Pednekar [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 1:50 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Wrong type in field number?



hi all,

please tell me why does the following error occurs and what is the
solution to correct it.

When i open the Alt. Address form in Human Resource module --->
Setup ---> Employee

the following error is displayed

Error:
Error Executing code : Wrong type in field number

Stack trace:
\Forms\HRMAlternativeAddress\DataSource\Address\Method\initvalue
\Classes\FormDatasource\create
\Classes\FormDatasource\executeQuery


please do explain me.

Thank you in advance to all

regards
vaibhav






Yahoo! Groups Sponsor

ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129h56ijt/M=298184.5022502.6152625.3001176/
D=groups/S=1705006764:HM/EXP=1087646525/A=2164339/R=0/SIG=11e2d64in/*htt
p:/www.netflix.com/Default?mqso=60183348>


<http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=group
s/S=:HM/A=2164339/rand=532033752>



  _____ 

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]
<mailto:[EMAIL PROTECTED]
be>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to