#22068 - 05/03/10 07:05 PM
Gridview Table Needed
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Is there a table that can be filtered by customer number and show line items of OE invoices and credit notes and also show the AR original and current amounts?
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#22070 - 05/03/10 07:18 PM
Re: Gridview Table Needed
[Re: SusanTennier]
|
Adagio Wizard
Registered: 06/15/04
Posts: 3612
Loc: Toronto ON, Canada
|
Hello Susan:
There is no composite table that would do that. The alternative would be to have 2 linked Views. One would be AR Invoices showing the Original and Current amounts. The 2nd would be the Invoice and Credit Note details. When you select a specific AR invoice, it would look up and the display the details in the linked View.
This works well for on-screen inquiries. If you are interested in a printed report, you could do this with Crystal Reports.
|
Top
|
|
|
|
#22071 - 05/03/10 07:46 PM
Re: Gridview Table Needed
[Re: Bruce Gardner]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
A screen view is what we're after. I created a view with OE Order Detail w/header and another view with AR Transactions. Both tables have the field Doc #. I linked OE view to the AR view. When I dbl click a doc # in the OE view, the AR view loads.. but comes up blank. I know the document is in there because I can see it when I refresh the AR view by itself. I can't figure out what I'm doing wrong.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#22072 - 05/03/10 08:29 PM
Re: Gridview Table Needed
[Re: SusanTennier]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
The only thing I can guess at that might be causing the problem is that the OE view stores the Doc # field as "'___12345" (3 spaces in front of 5 numbers) and the AR view stores the Doc # field as "'_______12345" (7 spaces in front of 5 numbers). Would this cause the documents not to link? Is there a way around this?
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#22074 - 05/04/10 06:09 AM
Re: Gridview Table Needed
[Re: SusanTennier]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Please help... my Gridview link won't work!
OE Order Detail w/Head table containing field Doc #.
is linked to:
AR Transactions containing field Doc #.
The 2nd view loads but comes up blank! In Field Properties both are called Doc # and neither have a Link Name. The Field Length is 8 in the OE table and 12 in the AR table.
Please help me link these views!!! I really need to get this working.
Thank-you.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#22078 - 05/04/10 08:59 AM
Re: Gridview Table Needed
[Re: SusanTennier]
|
Adagio Action Team
Registered: 03/09/99
Posts: 11532
Loc: Vancouver, BC Canada
|
Hi Susan,
That is indeed the reason why the two 'document #' fields are not linking - because one is 8 characters and the other is 12. GridView linking requires exact matching, including the spaces.
You need to create a calculated column in each view that trims the spaces, using the TRIM function. So it would look something like TRIM({Doc #}). The calculated columns in each view need the same title so that they can be linked.
Sometimes GridView is not happy about trying to link on a numeric value. If you find that even after creating the calculated columns that the linking still is not working, you need to 'convert' the value to text, by appending the document number with a character. Perhaps an I for invoice, or even the document type so that invoices and credit notes can be kept separate. Something like:
"I" & TRIM({Document #}) or {Doc Type} & TRIM({Doc #})
If you want to use I or C depending on the document type, the formula will be different in OE as compared to AR because of available information. Lets say you want IN123 to show invoice 123, or CN123 if it's a credit note, assuming that Orders are filtered from the OE view:
OE: IF({Doc Type}="I","IN"&TRIM({Doc #}), "CN"&TRIM({Doc #}))
AR: {Trx Type} & TRIM({Doc #})
_________________________
Regards, Softrak Tech Support
|
Top
|
|
|
|
#22082 - 05/04/10 10:17 AM
Re: Gridview Table Needed
[Re: Softrak Support]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
I did have to convert the values to text by using the second method you described. Showing IN or CN in front of the document number improves the view even more! This is a big help to us. Thank-you so much.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
|
0 registered (),
55
Guests and
0
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
1865 Members
5 Forums
14458 Topics
70633 Posts
Max Online: 432 @ 01/20/25 10:17 PM
|
|
|
|
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
|
|
|
|
|
|