mibuso.com

Microsoft Business Solutions online community
It is currently Sun Aug 01, 2010 5:02 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Ax SP3 bug on checkSalesQty method of SalesTableType Class?
PostPosted: Tue Mar 06, 2007 7:14 pm 
Offline

Joined: Sun Oct 16, 2005 10:15 pm
Posts: 33
Location: LORCA
Country: Spain (es)
Hi all,

Some users were complaining about long delays when pressing the POSTING button on Sales Forms.

Looking around I saw that the delay was in the checkSalesQty method of SalesTableType Class.

I have read in another forum that the problem is a bug with SP3 in the following lines of code:

while select salesLine
index hint SalesStatusIdx
where salesLine.salesId == salesTable.salesId
&& (salesLine.salesStatus != SalesStatus::Invoiced &&
salesLine.salesStatus != SalesStatus::Canceled)
|| (salesLine.SalesDeliverNow < 0)

the (||) causes to lost the salesTable.salesId filter.

Can the following code be a proper solution for this bug?

while select salesLine
index hint SalesStatusIdx
where salesLine.salesId == salesTable.salesId
&& ((salesLine.salesStatus != SalesStatus::Invoiced &&
salesLine.salesStatus != SalesStatus::Canceled)
|| (salesLine.SalesDeliverNow < 0))

Thank you!


Top
 Profile  
 
 Post subject: Postingwith perfomance improved
PostPosted: Sat Mar 24, 2007 5:38 pm 
Offline

Joined: Sun Oct 16, 2005 10:15 pm
Posts: 33
Location: LORCA
Country: Spain (es)
The perfomance of the POSTING has improved greatly in our system solving this bug.

Everyone with Axapta SP3 should look to check if they have this same bug.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group