DSIYUTL5 PMUPDT UPDATE PM DATA (3864)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYUTL5 PMUPDT UPDATE PM DATA
TAG PMUPDT
ROUTINE DSIYUTL5
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
DESCRIPTION
PMUPDT
within the responsible shop, it will be replaced with new data.   Else, 
new nodes will be added for each.
 
RET(1) = IEN for Responsible Shop multiple ^ Comment showing frequency 
added successfully
RPC which allows update of the two multiples within the Equipment 
Management file for Responsible Shop & Frequencies.
 
GUI must send all data for the Responsible shop or current data will be 
replaced with nulls.
 
If the responsible shop exists in ^ENG(6914,IEN) it will be replaced with 
new data.  If the Frequency code exists with in the frequency multiple 
INPUT PARAMETER
  • IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   11
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    IEN
    Required
    IEN from Equipment Management File ^ENG(6914)
    
  • SHOP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SHOP
    Required
    Internal reference to Engineering Section List ^DIC(6922)
    
  • TECH
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    TECH
    Required
    Internal reference to Engineering Employee File ^ENG("EMP")
     
    Send "@" for Technician if deleting this entire Preventive Maintenance 
    multiple (primary & secondary multiple)
    
  • START
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    START
    Required
    Internal value equating to starting month (1-January, 12-December, etc.)
    
  • SKIPMON
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    SKIPMON
    Required
    Free Text - must be MMM-MMM to show months skipped.  Example:  JAN-MAY
    
  • CRITICAL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    CRITICAL
    Required
    Number 1-99 no decimals
    
  • DATA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    DATA(X)
      p2=Hours - Number 1-200, 1 decimal
      p3=Material Cost - Number 0-20000, 0 decimals
      p4=level - Free text 1-12, can have more than one (i.e., 6,5)
      p5=procedure - internal reference to ^ENG(6914.2)
      p6=starting year - 4 digits 1900-2100
     
    Send "@" for the Hours piece if deleting this secondary multiple from the 
    PM maintenance schedule - MUST send the correct Frequency code when 
    deleting - the other pieces are not needed when deleting
    Not Required
     
    Data for the Frequency Field - send ALL data for any new fields or any 
    changed fields.
     
    Layout = 
    DATA(X)=p1^p2^p3^p4^p5^p6
      p1=Frequency Code - Set (Values are A,S,Q,M, BM, W, BW, N, BA, TA)
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
NOTE:  A successful update can be done without a frequency.
 
RET(1)=-1 if errors
RET(1)="0^Warning Message"  if there are warnings
RET(X) = further description of errors if data errors occurred
 
RET(1)=IEN of Responsible Shop multiple ^ "Frequency updated successfully"
   if all updated successfully