Hai All,
I was Create new methods those new methods calling in updatenow methods in salesformletter_ confirmation ,invovice()
( new methods also create in salesformletter_ confirmation ,invovice())
when i m create salesorder and posting The confirmation and packingslip System hang
What’s problema system problema or coding problema ? any one give reply please
Coding problem, remove your code and it would not hang is my guess.
thank you Remove coding same problema is continue But when i m Postcheckbox un check it at that time packingslip working if post checkboc keep check it at this time sysyem hang
Hi Nagulu,
Why don’t you just set up a de-bugger and find what is actually happening out and find the error in which code it goes wrong.
Thankyou
just find salesformletter\mainonserver \ salesformletter.run () error
Ok then… did you solve you code…or still having problem? can you plz share your code if you dont mind… just to check
ok but i had remove the all my coding but still now same problema what i have do please tell me
Hi Jasmine
this my please check it
void WI_LCNo()
{
SalesParameters salesParmeters;
;
salesParmeters = SalesParameters::find();
if( salesParmeters.WI_LCPaymMode == salestable.PaymMode && salesTable.WI_LCNo == ‘’)
{
throw error ("Specify LCNumber for Processing The invoice ");
}
}
Harish
February 23, 2012, 10:26am
9
Hi,
Have you tried forward compiling the class?
at the time of compling when come to salesformletter.run i get not responding
Hi Nagulu,
Where did you write the code that you posted?
Harish
February 23, 2012, 11:09am
12
Hi,
Clear your usage data. Log out, log back and try forward compiling again. If this doesn’t help, as last option -
stop AOS;
delete .aoi file (or back it up to other location)
restart AOS which will rebuild .aoi
As long as you are sure that you have removed your changes, the above should work.
BTW how did you remove your code?
I had create two methods one confirmation 2nd one invoice
salesformletter_ confiramation create new method same called in updatenow method
salesformletter_ invoice create new method same called in updatenow method
Hi Nagalu,
When i checked with your code in my system , i found this error
void WI_LCNo()
{
SalesParameters salesParmeters;
;
salesParmeters = SalesParameters::find();
// if( salesParmeters.WI_LCPaymMode == salestable.PaymMode)// && salesTable.WI_LCNo == ‘’)
// {
// throw error ("Specify LCNumber for Processing The invoice ");
// }
// }
if(salesParmeters.WI_LCPaymMode == salesTable.PaymMode
&& salesTable.WI_LCNo)
{
throw error (“Specify LCNumber for Processing The invoice”);
}
}
during compiling this code you did not get any error? regarding this.?
thank you i m going to compling
Hi
Insert Image in axapta how much max size is possible
Please do not start an off topic thread, post a new post as you did here, which also means a duplicate post so please also do not double post:
http://dynamicsuser.net/forums/t/49911.aspx
I presume your code is now fixed, pleqase verify the solution in this post if a user solved this for you.
Hai jasmine,
same Coding in Dat company Well worked But Demo company system hang please tell me
void WI_LCNo()
{
SalesParameters salesParmeters;
;
salesParmeters = SalesParameters::find();
if( salesParmeters.WI_LCPaymMode == salestable.PaymMode)// && salesTable.WI_LCNo == ‘’)
{
throw error ("Specify LCNumber for Processing The invoice "); }
}