I am writing some queries to extract details from the TranGLC table and am not sure I understand what exactly HeadNum points to.
I understand each series of Key1…Key5 maps to a different table/field depending on the RelatedToFile value - and I have a spreadsheet that has been passed around outlining that mapping.
But the HeadNum I am not sure about.
Does it point to CashHead.HeadNum?
Or does it point to CheckHed.HeadNum?
Or does the HeadNum table referenced depend on the value of RelatedToFile?