Both inventmov_sales and inventMovement have new methods in the sys layer,
if your not seeing them you might have either a corrupt sys.aod file, a bad
aoi file, or have mods in outer layers blocking the standard code.  Try
doing a compare on these classes and see if you can tell any differences .





Here is the new method from the inventMovement class



void  new(Common      _buffer,

          InventType  _inventType = new InventType(_buffer))

{

    buffer     = _buffer;

    inventType = _inventType;



    if (! buffer.tableId)

        throw error(Error::missingRecord(funcName()));



    inventDimCostPrice = new Map(Types::STRING, Types::Real);

}



And this is the new method from inventMov_sales



void new(

    SalesLine   _salesOrderLine,

    InventType  _inventType = SalesLineType::construct(_salesOrderLine)

    )

{

;

    salesOrderLine = _salesOrderLine;



    super(_salesOrderLine,_inventType);



}



  _____ 

From: el8tion [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 4:08 PM
To: [email protected]
Subject: [development-axapta] Problem with ax 2.5 to 3.0 data upgrade





I'm back again - same problem. Posted before but didn't get any
replies. Figured I'd try again. Maybe I'll have to open a support
incident with MBS, but I'd rather not burn one of those unless I have
to.

Can't get thru the post-sync data upgrade step.

I get the following error:

Error executing code: InventMovement (object) has no valid runable
code in method 'new'.

Stack trace:
\Classes\InventMovement\new
\Classes\InventMov_Sales\new - line 9
\Classes\InventMovement\constructNoThrow - line 44
\Classes\InventMovement\construct - line 3
\Classes\InventMovement\bufferSetRemainQty - line 3
\Classes\AxSalesLine\setTableFields - line 70
\Classes\AxInternalBase\doSave - line 12
\Classes\AxInternalBase\save - line 3
\Classes\ReleaseUpdateDB_V25toV30\updateProjItemReq - line 52
<runtime compiled code>\
void go(ReleaseUpdateDB_V25toV30 _release)
{
;
    _release.updateProjItemReq();
}

\Classes\ReleaseUpdateDB\run - line 27
\Classes\ReleaseUpdateExecute\run - line 11
\Classes\BatchRun\runJob - line 46
\Classes\BatchRun\do - line 54
\Forms\BatchRun\Methods\doBatch
\Forms\BatchRun\Methods\setStart
\Forms\BatchRun\Methods\setRunning
\Classes\FormButtonControl\Clicked

Now, both the class InventMovement and one of the tables it appears
to be updating - ProjTable had been modified in the var layer, but I
removed those mods and tried it again and still same problem.

When I look at class InventMovement I don't see any 'new' method at
all.

I just don't know how to figure this out. It's above my head.












Yahoo! Groups Sponsor



ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129ce902h/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705006764:HM/EXP=1103786901/A=2128215/R=0/SIG=10se96mf6/*http:/compa
nion.yahoo.com> click here



<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=478732989>



  _____ 

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



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





Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links

Reply via email to