Previous Thread
Next Thread
Print Thread
#38102 08/07/13 08:10 PM
Joined: Jul 2000
Posts: 96
Adagio Scholar
Adagio Scholar
Joined: Jul 2000
Posts: 96
Can anyone tell me how to link the AR 'Transaction file' with the TB 'File' file?


Tony Martin
Code 6 Programming
519.359.0918
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Here's a Workspace that does it. Is this what you need?
Attachments
TB Views.zip (8.25 KB, 45 downloads)


Andrew Bates
Joined: Jul 2000
Posts: 96
Adagio Scholar
Adagio Scholar
Joined: Jul 2000
Posts: 96
Actually...I was doing a Crystal Report to put in the CustomRP folder.

The TB File file has only one index "Cust/File" and there doesn't appear to be a matching field in the AR Transaction file.


Tony Martin
Code 6 Programming
519.359.0918
Joined: Jul 2000
Posts: 96
Adagio Scholar
Adagio Scholar
Joined: Jul 2000
Posts: 96
Perhaps if I explain my problem...

My customer is using Time & Billing, this means that the Customer Aged Trial Balance and Vendor Open Payables both show detail by Docket (File). In turn, this results in very long reports as there is no way to suppress Dockets (Files) that have a zero balance, only customers/vendors...no, the customer does not want to purge those dockets that are currently zero balance.

I have created a Crystal Report which only shows details for those dockets with an outstanding balance, but I can only get the docket number from the AR Transaction file...the name field eludes me.


Tony Martin
Code 6 Programming
519.359.0918
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Hi Tony,

Without having a dataset that exhibits the problem, I'm shooting in the dark, but here goes...

Have you considered just changing the ATB to suppress the $0.00 balance Dockets? That might be easier.

Another possibility is to create a subreport that gets the Docket name. You need the Client and Docket number to retrieve the name, both of these are in the AR Transaction file.

BTW - for those interested in doing this in GridView, the formula to get the name from the Docket file is:
Code:
GETEXTERNALDATA("@B81CDCK", "Docket Name", "TBCLNT", {Cust #} , "TBDOCKET", {Docket code})


Andrew Bates
Joined: Jul 2000
Posts: 96
Adagio Scholar
Adagio Scholar
Joined: Jul 2000
Posts: 96
Thanks Andrew:

Turns out...the client is quite happy without the name and especially likes how quick the report is!

I did look at modifying the existing ATB, but with so many headers and footers based on all the possible combinations of options, it didn't look like 'value for effort' in this case.

I appreciate the assistance!


Tony Martin
Code 6 Programming
519.359.0918

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 87 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0