Custom Receipt problem - Page 2 not like Page 1

I have modified the Full Page Invoice from CustomerSource. My receipt is a half-page (5.5 x 8.5) format. I have also added the following to the bottom of 'Bill To & Ship To' part of the header area:

Transaction.Type = transactionWorkOrder "Reference:|" Transaction.ReferenceNumber Transaction.Type = transactionWorkOrder "Comment:|" Transaction.Comment Transaction.Type = transactionWorkOrder "Due Date:|" Transaction.orderDueDate

In effect, if the transaction is a Work Order (or an Invoice created from a WO) I get the Order Reference, Order Comment and Order Due Date printed just above the line item header row (the gray/yellow bar with the colmun headings in it).

For example: Reference: SO Comment: Special Order Due Date: 7/19/06

Now for the weird part...

On page two (or any page other than the first) I get a blank row between the rows. Like this: Reference: SO

Comment: Special Order

Due Date: 7/19/06

This is not good. The Due Date ends up in the body of the receipt, often directly overprinted on some line item's Qty and ILC.

I could attach a .pdf if it would help.

Thanks in advance for any advice you might offer, Tom

Reply to
Terrible Tom
Loading thread data ...

Due Date: 7/19/06

This is not good. The Due Date ends up in the body of the receipt, often directly overprinted on some line item's Qty and ILC.

I could attach a .pdf if it would help.

Thanks in advance for any advice you might offer, Tom

Reply to
Todd Berger [MSFT]

Mr. Berger,

I have successfully resolved my issue, and your advice was def> Good afternoon Tom,

This didn't solve the problem, but is definitely cleaner code.

This is the code from the CustomerSource Modified Receipt 'Full Page Invoice'. Interestingly, the CustomerSource receipt uses three identical IF statements. I ended up modifying this receipt file (like I did the first time I created a half-page invoice) and leaving the three IF statements alone.

As stated above, I started fresh with the CustomerSource Full Page Invoice and re-modified it for my 5.5x8.5 format. I haven't taken the time to contemplate the differences between Mod1 and Mod2 but the new version doesn't have the same problems as the old.

This suggestion - even though the advice was basically 'try again' - was the one that actually resulted in a fix. If I find myself in a similar situation in the future, perhaps I'll try again before I ask for help.

Reply to
Terrible Tom

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.