Hi all,

Posted next is the Dx Harry and I had sometime ago on teh other group about
this form sort (take care it only works for 'After' setting...read on).
Hope it helps and of course if not then post back :)



Dx from sometiem ago:

Hey thanks alot Harry,

That is why I could not get it to work! At least now I can get the sort to
work rather than wonder whether it was some nice idea by some programmer
that never quite got off the ground ;)

'After' I believe is strictly just the printout so your thoughts about a
problem after a few have been processed, I don't think anything is done.
>From my understanding 'After' is more for batch update over night but you
dont wnat to send it to the printer as if the print jams or low toner etc
there is noone there to check and so you could come back in the morning and
find that you just wasted sheets and sheets of paper etc...

Thanks alot for your time and input, really appreciate it (I dont think I
would have got around to testing the 'after' ...more likely to have given
up!!!)

Thanks
James

-----Original Message-----
From: Harry Deshpande [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 7:50 AM
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] Form sort used for what?


Hi James



First of all... if you want to apply a different sort order then you
have to finger around with newJournalList method of class
salesFormLetter_PickingList.



Now to your question as to why this is not working for you...



To be very honest, I did not try this out. However, I have a feeling as
to why this is not working out for you.



Axapta as two methods of printing the picking lists.



First method is print pickinglist one by one as soon as they are
processed. Represented by Printout=current on salesEditLinesForm.



Second method is print pickinglists after they are processed.
Represented by Printout = after on salesEditLinesForm.



Obviously the sort will not work if Printout = current, since picking
lists are being printed as soon as they are processed.



I do not think you cannot change the value of printout manually. This
can be changed in the update method of class salesformletter



    this.initParameters(salesParmUpdate,

                        PrintOut::Current);  // Printout



I have not made a study of why this has been set as current in standard
Axapta and the implications of setting printout to "after". (for eg. If
the picking list operations fails after processing 5 picking lists then
whether the previous picking lists are reversed and if they are not
reversed and there is a system failure then picking lists will not be
printed etc etc.)



However,in order for the formSort to work this value will have to be set
to "after".



Another option which you may want to look at will be to change the order
in which picking list are processed.



Hope this helps



Regards



harry







  _____ 

From: James Flavell [mailto:[EMAIL PROTECTED]
Sent: Saturday, 7 August 2004 11:28 a.m.
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] Form sort used for what?



Thanks very much Harry,

Your example situation is a very good one and one that had not really
crossed my mind :)  my situation is very similar in that I want to make
sure
the warehouse pick priority customer stock first and therefore want the
picking instructions to appear in customer prioirty order.  I would
refer
the pick instruction number to be assigned in this order as it is more
full
proof but if it cannot then the print out in that order is the next best
thing.

Can you tell me exactly what you set to get it to work and what you did
to
test it worked?  Like I said I have v3.0 SP2 and have set a sort but
dont
seem to get the printouts in that order (did you print to screen or
printer...although I believe I should still be able to see the effect on
the
screen...)

Thank you
James


-----Original Message-----
From: Harry Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 6:03 AM
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] Form sort used for what?


Hi



The questions still unanswered are:
1) Is the sort applied before or after the invoice number is assigned?
i.e.
can this sort influence the number assigned to a journal or does it only
come into effect after each journal has been created (strictly the
prinout)



** The sort cannot influence the number assigned to the journal and the
sort is applied after the invoice number is assigned.



can actually get it to work and maybe who actually uses this in a real
life
situation and if so can you add your input please :)




** Ummm, I do not know anyone who has used it but I can guess of a
scenario...

accounts department prints all the invoices during the night and the
clerk files the invoices in the morning. Now if the invoices are being
filed in alphabetical order (customer code or name) then you would sort
them on that field. If the invoices are being filed in the number
sequence then you will sort them on the number. Stretching things a bit
to use the functionality I guess, cant think of anything else right now.



Regards



Harry





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




Yahoo! Groups Sponsor     

ADVERTISEMENT

< http://us.ard.yahoo.com/SIG=129n4b1b5/M=295196.4901138.6071305.3001176/
<http://us.ard.yahoo.com/SIG=129n4b1b5/M=295196.4901138.6071305.3001176/>
D=gr
oups/S=1705006764:HM/EXP=1091860674/A=2128215/R=0/SIG=10se96mf6/* http://
<http://>
comp
anion.yahoo.com> click here     

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


  _____ 

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
<http://groups.yahoo.com/group/development-axapta/>
< http://groups.yahoo.com/group/development-axapta/
<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/ <http://docs.yahoo.com/info/terms/> > .




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





Yahoo! Groups Sponsor

ADVERTISEMENT
click here
< http://us.ard.yahoo.com/SIG=129hm2kus/M=298184.5285298.6392945.3001176/
<http://us.ard.yahoo.com/SIG=129hm2kus/M=298184.5285298.6392945.3001176/>
D=groups/S=1705006764:HM/EXP=1092041900/A=2164330/R=0/SIG=11eamf8g4/*htt
p:/www.netflix.com/Default?mqso=60183350>


< http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group
<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group>
s/S=:HM/A=2164330/rand=146333662>



  _____ 

Yahoo! Groups Links

*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
<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/
<http://docs.yahoo.com/info/terms/> > .



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




Yahoo! Groups Sponsor     

ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129kr83r0/M=298184.5285298.6392945.3001176/D=gr
oups/S=1705006764:HM/EXP=1092119951/A=2164330/R=0/SIG=11eamf8g4/*http://www.
netflix.com/Default?mqso=60183350> click here     

<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=
:HM/A=2164330/rand=192638474>      


  _____ 

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
<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! Terms of Service
<http://docs.yahoo.com/info/terms/> .




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



Yahoo! Groups Sponsor
ADVERTISEMENT






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.





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to