Problem Table relation/Flowfield
Marcos
Member Posts: 55
Hello,
I have a problem with an home made table, maby someone can help me out.
I'f made a table lets call it A, in this table i want to show the order details from table C.
Do get this information i have to relate C and A, so id made a flowfield in table C refers to table B to get the Try-out No. (relation C->B = OFF no.,B->A = TR no.)
So the relation is done now i have the corespondending numbers in table C (TR numbers).
But when i make a relation between C and A using the TR numbers the order details dont apair.
Is it because the TR number fields in the tables C and B a flowfields ??
Do i have to sovle this problem with code ?
This figure is an example of the structure.
http://album.partyflock.nl/7570599.jpg
Many thanx in forward,
Marcos
I have a problem with an home made table, maby someone can help me out.
I'f made a table lets call it A, in this table i want to show the order details from table C.
Do get this information i have to relate C and A, so id made a flowfield in table C refers to table B to get the Try-out No. (relation C->B = OFF no.,B->A = TR no.)
So the relation is done now i have the corespondending numbers in table C (TR numbers).
But when i make a relation between C and A using the TR numbers the order details dont apair.
Is it because the TR number fields in the tables C and B a flowfields ??
Do i have to sovle this problem with code ?
This figure is an example of the structure.
http://album.partyflock.nl/7570599.jpg
Many thanx in forward,
Marcos
0
Comments
-
I am lost in your descirption and the image didn't help me. Try to describe it all without using Try-Out names and use A, B, C because everything is Try-Out for me and when I try to sort it out...
0 -
Hope its clear now, its a hard problem to write out....0
-
I don't know it exactly but I think that you can't create relation to flowfield, because it is not calculated in time you need it. System isn't able to check validity of inserted value.0
-
lubost wrote:I don't know it exactly but I think that you can't create relation to flowfield, because it is not calculated in time you need it. System isn't able to check validity of inserted value.
Sounds clear, but how can i backdoor this problem, probably using CAL code to copy flowfield data to a new field or using find rec code ??0 -
You haven't create flowfields only for creating relation between tables. Better way is to create relation by setting the property (if is it possible) or create relation by code using OnValidate and OnLookup triggers.0
-
Yes, you cannot do the relation on CalcFields. You need to create correct relational structure of your tables.
If I understand correctly the structure is (without FlowFields):
A -> "TRXXXX" -> B <- "OFFXXXX" <- C
and you now needs to show data from C in A?
It is impossible, because now you have N:N connection and you cannot be sure that you will get just one record from C for the record from A and it means no lookup possible.0 -
But you can do the lookups to have the data from C in B and for each A show all records from B with the data.0
-
C = TRXXXX
B = OFXXXX - [TRXXXX (flowfield to A)]
A = [OFXXXX (flowfield to
] - [TRXXXX (Flowfield to
]
In the URL figure A and C are confused, damn....
i need the order details from C in A....0 -
Marcos wrote:C = TRXXXX
B = OFXXXX - [TRXXXX (flowfield to A)]
A = [OFXXXX (flowfield to
] - [TRXXXX (Flowfield to
]
In the URL figure A and C are confused, damn....
i need the order details from C in A....
And how is connected A to B if both fields are FlowField :?: :?: :?:0 -
Its a table relation field0
-
Isnt there a way to copy values in a flowfield column to a new column in the table ?0
-
Marcos wrote:Its a table relation field
But through which field? On which field you set the table relation? In which table? Still it is not clear for me.0 -
IN A OFXXXX is an table relation field to B.......0
-
Marcos wrote:IN A OFXXXX is an table relation field to B.......
it means that it is notC = TRXXXX
B = OFXXXX - [TRXXXX (flowfield to A)]
A = [OFXXXX (flowfield to
] - [TRXXXX (Flowfield to
]
but
:?:C = TRXXXX
B = OFXXXX - [TRXXXX (flowfield to A)]
A = [OFXXXX (table relation to
] - [TRXXXX (Flowfield to
]0 -
Ola,
I was busy with 10 things in the same time yesterday, thats why i made some mistakes in my question..
This is the situation....
C = TRXXXX
B = OFXXXX - [TRXXXX (flowfield to C)]
A = [OFXXXX (table relation to
] - [TRXXXX (Flowfield to
] 0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
