×
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

How do you maintain Reference Code Defaults on MSQ620?

How do you maintain Reference Code Defaults on MSQ620?

How do you maintain Reference Code Defaults on MSQ620?

(OP)
The same old problem has surfaced again - No one at Mincom can (or appears not to want) to help me... :(

I have found there were a few records in msf071 with an entity_value = '1' (for the entity_type = 'WKO').

When creating a new work order via msq620 these values in msf071 would be the dafaults for the corresponding ref_no's in the reference code tab.

Does anyone know how to maintain these via the online screens?

Drew

RE: How do you maintain Reference Code Defaults on MSQ620?

I hope this answers your question.  You can go to the mso074 and put in the entity WKO and see the existing values.  you can then go to the mso070 to add items to the WKO.  if you need more definitions in the WKO entity.

Let me know if this helps.

RE: How do you maintain Reference Code Defaults on MSQ620?

(OP)
Thanks Dianne… Yes these screens let you review or modify Reference Code Definitions however they do not let you add reference code details (values) for an entity.

Drew

RE: How do you maintain Reference Code Defaults on MSQ620?

From what I can determine, there are "Mincom defined" and "User defined" reference codes (ie. the entity type) - set up in 'RCEN' table (via MSO010). The associated values have a flag.

The "Mincom defined" reference code values can only be modified via modification of the corresponding entity - eg. WKO values are reference codes for work orders, so can only be modified via the work order modification programs. (I think I found that one as action code '9' on MSM62CA - there are probably other ways of maintaining this, but I'm a developer, not a user! Use of action code '9' to get to reference codes does seem like a Mincom 'standard' way to get to ref codes (ie I've seen it on other programs too))

If you can decipher cobol code, then have a look at the msg071ws.cpy component (lives in the copyfile directory of the source code structure). I found that this gives a good indication of the "Mincom defined" reference code structures for each of the entity types. There are some tricky ones (WKO and PUR are 2 that I ran into but there are others) which have multiple structures (hence some of the values for WKO start with a '1' which I think means work order, and some start with a '2' which I think means standard job).

RE: How do you maintain Reference Code Defaults on MSQ620?

But to answer the question! ...

I think the "defaults" for the work order reference codes are coming from the standard job reference codes.

eg. Set up standard job reference code values by going to MSO690, then use action code '9' on MSM69CB, and then finish SJ creation.

When creating a WO, eg via MSO620 (or in your case via MSQ620) and I get to action code '9' on MSM62CA, then the "defaults" I see are the values from the SJ reference codes.

Looking at the content of MSF071

For the SJ, the entries are:
ENTITY_TYPE = 'WKO'
ENTITY_VALUE = '2' + district + sj

For the WO, the entries are:
ENTITY_TYPE = 'WKO'
ENTITY_VALUE = '1' + district + wo


RE: How do you maintain Reference Code Defaults on MSQ620?

(OP)
Yes when creating a work order from a Standard Job then the defaults will come from the reference codes stored against the Standard Job
entity_value = '2 + district code + standard Job Number'

However when executing msq620 (not mso620 – mso62c with action 9 – there are no defaults here) the defaults for reference codes come from where the entity_value = ‘1’.

Drew

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