on 2005 Apr 13 10:25 AM
Hi ,
I defined a simple FS to learn, but keep getting the same values for different codes.
Shortly, I have 2 tables, first one (
REASON
) keepsReasonID
,Reason Description, etc.MAIN
) I enter other unrelated data andReasonID
.REASON
table into thatMAIN
table by the help of FS. So I defined something like that:When I use this query, I keep getting the same reason description for different reason codes, actually the description of the first data in the REASON table.
Ouery settings : Search By Saved Query - Auto Refresh - When exiting altered column - Column "REASONID "- Refresh regularly
I guess, I have to add or change something in the query, so that I can refer to the <u>activ ReasonID value</u> in the MAIN table and get the descr. for it.
(Sorry if this subject is handled before but I couldn't find anything related in SDN.)
Gü
Hi Gul,
This query is returning all Reason Descriptions, becouse you are not relatin both tables. I think this is what you need:
SELECT T0.U_ReaDesc from .[@REASON] T0 INNER JOIN .[@MAIN] T1 ON T0.U_ReasonID = T1.U_ReasonID WHERE T0.U_ReasonID =
You would need to change with the value of the ReasonID field IN THE FORM ($[$FieldID.ColID.Format]).
Regards,
Ibai Peñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gul,
Why don´t you download the help files from the SBO marketplace?
You can find a document about the FS under Service & Support SAP Business One Knowledge & Services Knowledge Base Customizing Formatted Searches.
There it explains lot of things about them.
The FieldId is the variable number seen when you are in debug mode. ColID is used only for matrix columns. And you could use 0 for the format is no formating is needed.
Regards,
Ibai Peñ
User | Count |
---|---|
90 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.