Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does the value BKTRAND.DDLINK mean?

Status
Not open for further replies.

vbdbcoder

Programmer
Nov 23, 2006
247
US
Hello,

I remember seeing someone posted this question before. But I don't know where to find the answer.

In BKTRAND table, the field DDLINK stores the value of the source transaction (maybe module + type + batch # + entry #). Is there any help on how it works ? E.g. 224651000000000001 means an AR receipt in my BK transaction, since I did the BK reverse. Does the value record what AR batch and\or Entry ?

Thanks!
 
There should be a field in the table for the module. Here's the breakdown of GLPOST.DRILLDNLK which will give you an idea of how to parse the DDLINK field.

GLPOST.DRILLDNLK = 224850000000000001

The field is parsed as follows:

1st Digit = Width of Posting Sequence number [2 in this case]

2nd Digit = Width of Batch number [2 in this case]

3rd & 4th digits = Posting Sequence [48] (starting at position 3)

5th & 6th digits = Batch Number [50] (starting after Posting Sequence)

Remaining digits = Entry Number
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top