Thursday, December 3, 2026
HomeBusiness IntelligenceThe best way to ship data-driven Crystal Stories with CRD

The best way to ship data-driven Crystal Stories with CRD


A recipient mapping table triggers separate Crystal Reports runs for two approved accounts.

Use a data-driven schedule when the report parameters, recipients, or locations change with the information. For instance, a billing staff can preserve one Crystal Report and preserve a desk displaying which account ought to obtain which assertion. Throughout every run, the scheduler makes use of the accredited rows to provide and ship the proper copies.

If everybody receives the identical information and the record not often modifications, a daily schedule or package deal is easier. Use the data-driven choice when holding a separate handbook schedule per account turns into exhausting to examine.

Outline the supply desk earlier than scheduling something

Set one row per supposed supply. A row may include a buyer ID, accredited vacation spot, and an output format. Decide which columns are report parameters and which management supply. Maintain a transparent proprietor for updates to the vacation spot record.

Evaluate which rows ought to rely as lively. Test for lacking account IDs, unintended duplicates, and previous locations. Determine how the staff will deal with a change to an account’s supply handle earlier than the subsequent run. For instance, preserve a discipline for whether or not the vacation spot has been accredited. Exclude rows which can be inactive, lack an accredited vacation spot, or repeat the identical account and vacation spot by mistake. Retain a rely of excluded rows for the proprietor to evaluation.

Map fields to the report and the supply settings

CRD, ChristianSteven’s Crystal Stories Distributor, can learn report parameter values at run time and use data-driven locations or codecs. A billing staff can preserve one RPT format and nonetheless generate a separate, filtered consequence for every eligible account. It will possibly replace the mapping with out rewriting the report design or reconstructing every job by hand.

Begin the mapping with a take a look at desk. In CRD’s Knowledge-Pushed Schedule, select the supply question and use its returned fields for the report parameters and supply settings. Test which locations and codecs are supported to your job. Move the account ID into the right Crystal Stories parameter. Use locations that your staff controls, and take a look at two accounts with visibly totally different information so a mapping error stands out.

Take a look at what occurs when the information is lacking or unsuitable

Embody a legitimate row, a row that returns no report information, and a row with a lacking vacation spot. Maintain a row with an invalid vacation spot so the proprietor can appropriate it earlier than any file is distributed. Test the empty-report rule with a certified account that has no exercise. If that account expects a month-to-month assertion regardless of how a lot exercise it had, affirm that the file states the interval and explains why there are not any transactions.

Open each pattern file and examine it with the accredited account and reporting interval. If two copies ought to go to totally different folks with similar totals, confirm an identifier in addition to the totals. Take a look at a pair of accounts with comparable names and examine the precise addresses within the take a look at vacation spot. Then simulate a failed supply after one other account has already obtained its assertion. Use the outcomes to resolve which rows to retry so a profitable supply just isn’t repeated.

Maintain the schedule maintainable

When the job is prepared, document the place recipient and parameter values come from. Identify the individuals who can change them and select how failed runs are reviewed. Maintain a managed take a look at model accessible so the subsequent change to the report might be checked earlier than an actual supply.

Begin with the smallest group that displays the true workflow. If that run demonstrates every account obtained its personal output, increase in steps and look ahead to delays or sudden duplicates. The supply desk needs to be as simple to audit because the report itself.

Use the CRD trial with two take a look at rows and make sure that every recipient will get the proper Crystal Stories output. In a demo, see map pattern account IDs to report parameters and locations, then confirm that every take a look at recipient will get the right assertion.



RELATED ARTICLES

Most Popular

Recent Comments