×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Micros SQL ReferenceEntry on TenderMedia

Micros SQL ReferenceEntry on TenderMedia

Micros SQL ReferenceEntry on TenderMedia

(OP)
Hello, I have the following SQL to retrieve the tenders off of a particular check however I am trying to retrieve the Reference Entry that was typed in during settlement for that particular tender. Does anyone know if this exists in the MCRSPOS.MICROSDB database? I know where to find the reference entry in LOCATION_ACTIVITY_DB however this database lags behind MICROSDB by a couple minutes and for this use case, I need to be able to retrieve the information as soon as the check is closed. This query below works immediately after the check is closed, I just need to get the Reference Entry input attached to the Tender Media somehow. Any thoughts?

SELECT r.ObjectNumber, c.CheckID, c.CheckNumber, c.RevCtrID, c.AlternateID, c.CheckOpen, tm.ObjectNumber, st.StringText
--, st.StringText
FROM mcrspos.microsdb.checks c
INNER JOIN mcrspos.microsdb.REVENUE_CENTER r ON c.RevCtrID=r.RevCtrID
INNER JOIN mcrspos.microsdb.check_detail cd ON cd.CheckID=c.CheckID
INNER JOIN mcrspos.microsdb.TENDER_MEDIA tm ON tm.ObjectNumber=cd.ObjectNumber AND cd.DetailType=4
INNER JOIN mcrspos.microsdb.TENDER_MEDIA_DETAIL tmd ON tmd.TendMedID=tm.TendMedID AND tmd.CheckDetailID=cd.CheckDetailID
INNER JOIN mcrspos.microsdb.STRING_TABLE st ON st.StringNumberID=tm.NameID
WHERE c.checkNumber=25083
AND c.Version=1

RE: Micros SQL ReferenceEntry on TenderMedia

It is encrypted, you cannot read it with SQL

saftware.dev@gmail.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close