Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0
Accepted Solution

tPA00100.siWhichLinkTable

Does anyone know which tables the values in this field correspond to?

Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage Employee
Delamater
Posts: 9
Registered: 10-28-2008
0

Re: tPA00100.siWhichLinkTable

Hi trodman,

 

Just a quick response for you. For some reason, I remembered that being driven back to BIE. At any rate, these two queries show the same results. It seems that at the very least, it relates to these tables:

 

tPACostTrxnRptWrk
tPATrxDetInqWrk
tPA00100

 

Queries that might help:

SELECT OBJECT_NAME([object_id]), name FROM sys.columns WHERE [name] LIKE '%linktable%'
SELECT * FROM tsmdatadictcol WHERE columnName LIKE '%linktable%'

 

At any rate, i hope that helps get you closer to the right answer.

 

 

Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0

Re: tPA00100.siWhichLinkTable

Thanks, but I tried that all ready.  Each value is an integer.  Normally you could query the tsmdatadictcoldesc table and see what each value means.  However, not for this field for some reason.

Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage MAS Partner
LouDavis
Posts: 545
Registered: 10-29-2008
0

Re: tPA00100.siWhichLinkTable

Hey Tim,

 

 Using Redgates' SQL Search utility it looks like two other tables have this same column.  They are tPAtrxDetlnqWrk and tPACostTrxnRptWrk.  The schema browser does have the definitions for what each value means under the definition for tpa00100..

Louis Davis MCSD, MCAD, MCITP
e2b teknologies, inc
www.e2btek.com

Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0

Re: tPA00100.siWhichLinkTable

I know that one of them is the timInvtTran table because I can match tPA00100.intRelatedKey to the record in timInvtTran. I'm just not sure what the other tables are.
Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage MAS Partner
LouDavis
Posts: 545
Registered: 10-29-2008
0

Re: tPA00100.siWhichLinkTable

RedGates ' SQL Search is a free utility..http://www.red-gate.com/products/sql-development/sql-search/  If you get that and enter the table names, or the column name you will get a list of every DB object that it was found in.  That might help you understand what it is and where it is used.

Louis Davis MCSD, MCAD, MCITP
e2b teknologies, inc
www.e2btek.com

Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0

Re: tPA00100.siWhichLinkTable

Thanks Lou. I'll check it out.
Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0

Re: tPA00100.siWhichLinkTable

My bad, I was looking at the tsm tables instead of simply looking at the schema browser.  It's very clear in the schema browser.

 

Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage Employee
HeadHoncho
Posts: 25
Registered: 04-27-2009
0

Re: tPA00100.siWhichLinkTable

Be careful with the receipt of goods.  You would think that this would indicate a reference to tpoRcvrLine, but it is not.  It is a pointer to tpoPOLine, and the intRelatedKey is a POLineKey.

Sage MAS 500 Customer
trodman
Posts: 234
Registered: 02-13-2009
0

Re: tPA00100.siWhichLinkTable

Thanks. I think I have a case open to fix this because it causes the purchase price variance calculation for non-inventory PO items tagged to projects to look at the difference between invoice and PO rather than invoice and receipt to determine what amount to record as a purchase price variance.

The result is that, when the PO cost is changed between receipt and invoice, the purchase price variance adjustment is incorrect, leaving a balance in the purchase price variance account after the invoice is posted.
Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)