How to Save All QuotForms from Jan 2010 - today?

I have created a BAQ Search that pulls in all quoted quotes from Jan 1, 2010 through today. I need to Print Preview all 30,900 Quote Forms and save to a file. I was thinking I could filter off the print screen with the BAQ Search, but there is no filter there, and I do not know how to add one to a print screen.

So what is the easiest way to do this? Any suggestions are appreciated.

The QuotForm doesnā€™t allow for batch printing. Meaning you canā€™t give it a list of Quotes to print. It can only print one at a time.

What you may have to do is make a BPM on UD table with one of the fields to hold the quote number of the quote to print. Use an Auto Print widget to print the quote. Youā€™ll have to pass that field to the Print widget.

Then use DMT to update that UD table with the quotes to print.

Edit

You donā€™t need to add a row for each quote. Just a single row in the UD table that prints quotenum that matches UDxx.Number01

Iā€™m heading over to Epicor Ideas real quickā€¦they should add batch printing for quotes, like with invoices and soā€™s.

Why???
The ERP system will keep them for ever why print them to a PDF or a fileā€¦

1 Like

Because not everyone keeps their ERP system forever?

Or maybe subpoenaed/evidence for a legal matter?

1 Like

Well, for instance, to hand over to a Public Information request?

1 Like

Actual crystal or SSRS report can change over time. If company uses multiple report styles, you have to know which report style to use. That being said, you can create custom form that will create reportform dataset for quote, and submittoagent for quote form, in a loop for each quote number found.

1 Like

Thanks, Calvin. Iā€™m going to give your suggestion a try right now.

Happy Friday, Calvin!
Iā€™ve been trying to follow your suggestion, and I have a question. In another of your posts, you mention that youā€™d changed the Setup Auto Print > Report Parameters > PackNum field from the default ā€œThe 0 Constantā€ to ā€œThe specified expressionā€¦ā€ but you said it used custom code. For the QuoteHed table, what should this field say? Iā€™ve never set this up before, so Iā€™m learning as I go.

This is the post Iā€™m referring to:

Here is mine, so far:


image
image

image

DMT is running now in Third updating UD04. My plan was to enable the BPM and see what happens once they all load. You donā€™t have to refresh the data model with the UDxx tables, right?

Is there anything I need to change? Am I doing this correctly at all?

I did open a case to help me, fyi, and they suggested I get back in touch with you. :slight_smile:

Thank you,
Erin

What you want to be be used for the QuoteNum field is an expression using the column from your UD table that the DMT updates in order to force a new autoprint. Off the top of my head something like
UD04.Number01

Then your DMT file would be

Company   Key1    Number01
MC        EXPORT     12345
MC        EXPORT     12346
MC        EXPORT     12350

Make sure that you use Update mode in DMT. You might need to first create that UD04 record with Key1=ā€˜EXPORTā€™, in order for updates to work. If so, just make a DMT file with just the first row, and processes with the Add box checked.

Hereā€™s how I think it would go:

  1. DMT updates the UD04 table. Just the record where Key1 = ā€˜EXPORTā€™, with the Number01 being set to 12345.
  2. The UD04.Update BPM is triggered.
  3. The AutoPrint widget fires, using UD04.Number01 (12345) as the QuoteNum to print.

the above are repeated for rows 2 and 3 of the DMT for quotes 12346 and 12350.

One thing you need to be clear on is that this makes a separate task for each quote. Youā€™ll get a separate printout (or emailed PDF) for each quote. So youā€™ll need a way to manage them.

What I would do is make a Break Route that emails the quote to me, setting the Attachmentā€™s name to the QuoteNum. Like: QUOTE-<quotenum>. Make the subject line something specific to identify these emails. Make a rule or script in Outlook that automatically saves the attachment for any received email that has that special subject line.

Youā€™ll still end up with an individual PDF for each quote, but theyā€™d be autmatically named and saved in a specific location.

edit

Some things I missedā€¦

In the ā€œSet up Auto Printā€ dialog, set SSRSEnableRouting to true. If you go with the break/route idea of emailing them to yourself.

No Regen is required when using UD tables - unless you add a column to it. Some folks prefer to add columns so they have meaning fulnames, instead of just relaying on Number01 meaning QuoteNum.

Thanks, Calvin

Iā€™m stuck at the most important part - need to link the UD04.Number01 to the Quote Number - Iā€™m not seeing how to do this correctly. I tried to follow your instructions, but I donā€™t see how to link them.
I believe my error is in the top row QuoteNum - System.Int32 - The 0 constant
image

Am I supposed to select the Expression option or the Table/Field option? I could not get an expression to work, and when I select the ttUD04 table in the Table/Field options, I get zero fields to choose from:
image

Which selection do I choose from the dropdown menu? I think Iā€™ve got the rest correct, but this part is catching me up. And thank you in advance for any assistance, I know itā€™s Friday and you might just have a life. (Not me lol.)

Iā€™m on the east coast and had already left for the day. :stuck_out_tongue:

I think youā€™re real close. I donā€™t have access to E10 at the moment, so I canā€™t tell definitely what to do. But things Iā€™d double check

Was the choice in the Execution Rule the default one? Try the ā€˜For Each Matchingā€™ option and then see if that makes the table/fields dialog show the UD04 fields.

If you use the ā€˜expressionā€™ option for QuoteNum, does it show any datasets or tables you can choose from? If not just try making the expression ttUD04.Number01

Okay, thanks, I will check all that out. Maybe this weekend, but I just got my first freelance project so Iā€™m likely going to be chained to that all weekend. Iā€™ll let you know how it goes as soon as I take another look.

1 Like

Iā€™ll be here all weekend!

Perfect, me too. Iā€™ll pop over if I break from this other project now and then. I really want to figure that BPM out before Mon am.

Try setting that Constant 0 to an actual quote number, just to test the triggering and printing/generating aspects.

Then tackle the part of making the quote number dynamic.