Steeve and Karsten,
Thanks so much for replying to my call for help. I tried your suggestion and it worked but is not exactly what I am trying to get. it gives me the messages concatenated. What I am really trying to get is the message and the charge to print on the SalesInvoice. I thought if I got the message I could figure out the corresponding charge but that may not be the case.
Any additioanl help will be sincerely appreciated.
Thanks,
Bob
Bob Brinker
Oakdene Group, Inc.
2625 Butterfield Rd. (Suite 212E)
Oak Brook, IL 60523-1261
(630)368-1046 x/230
(630)368-1050 (Fax)
[EMAIL PROTECTED]
"Steeve Gilbert" <[EMAIL PROTECTED]>
11/12/2004 08:10 AM EST
Please respond to Axapta-Knowledge-Village
To: <[EMAIL PROTECTED]>
cc:
bcc:
Subject: RE : [Axapta-Knowledge-Village] Printing multiple Misc Charges on a Sales Invoice
Try this :
display MarkupTransTxt60 mMarkupTransTxt() {
MarkupTrans markupTrans;
Str txt;
;
while select txt from markupTrans
where markupTrans.Voucher == this.LedgerVoucher {
txt += markupTrans.Txt + ", "
}
return txt;
}
Steeve...
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : 12 novembre 2004 08:48
À : [EMAIL PROTECTED]
Objet : [Axapta-Knowledge-Village] Printing multiple Misc Charges on a Sales Invoice
Hi Everybody,
I need help on the following:
I have created a method to print the miscellaneous charges from table
MarkupTrans onto the SalesInvoiceUS report but I am only getting 1 line
printed even if there are several row of charges in the table. The method I
am using is printed below. What do I need to do to get all the applicable
charges printed or can this even be done using a method. If not how could I
do it?
display MarkupTransTxt60 mMarkupTransTxt()
{
MarkupTrans markupTrans;
;
select txt from markupTrans where markupTrans.Voucher ==
this.LedgerVoucher;
return markupTrans.Txt;
}
Thanks,
Bob
Bob Brinker
Oakdene Group, Inc.
2625 Butterfield Rd. (Suite 212E)
Oak Brook, IL 60523-1261
(630)368-1046 x/230
(630)368-1050 (Fax)
[EMAIL PROTECTED]
Sharing the knowledge on Axapta.
Yahoo! Groups Links
Sharing the knowledge on Axapta.
Yahoo! Groups Sponsor |
|
Yahoo! Groups Links
- To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/
- To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Sharing the knowledge on Axapta.
Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.