We print a report of our sales orders that shows when our orders are going to ship out. If the ship date is this month, it will show it a column for this month, next month will show in a column for next month and a ship date any month after that will show in a column following. I have a method and for some reason whenever there is something to be shipped the following year it needs to be edited. Could somebody let me know what is wrong with it?

Display lineAmount following()

if (year(today()) == year(this.confirmeddlv) && mthofyr(nextmth
(nextmth(today()))) <= mthofyr(this.confirmedDlv))
return this.LineAmount;

Why can this be written so that it does not have to be changed when something shipping in the next year comes up?

Thanks



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to