WorkOrderMasterRtrvlFunction

Retrieve Work Order Master Information Function (F4801)

Minor Business Rule

Object Name: N48S0603

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0603 - Retrieve Work Order Master Information Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szWorkOrderDataAlias_R01PWOR01PWOcharOPTINPUT

Use this parameter to retrieve information from the Work Order Master table (F4801). Each piece of information is associated with a unique 
field name. A one to eight character "Data Alias" identifies the field name. Enter the Data Alias (in upper case characters) which is 
associated with the information you want to retrieve from the table. Select Data Aliases from the group associated with the Smart Field you are using. 
(Only use Alpha fields if using an Alpha Smart Field, Character fields if using a Character Smart Field, etc.) The following Data Aliases are 
available in this table: Alpha Fields       LITM (2nd Item Number)       AITM (3rd Item Number)       AISL (Aisle)       APRT (Approval Type)       BREV 
(Bill Revision Level)       BIN (Bin)       MMCU (Branch)       MCU (Business Unit)       WR02        (Category 02)       WR03        (Category 03)       WR04        
(Category 04)       WR05        (Category 05)       WR10        (Category 10)       CO (Company)       DL01        (Description)       DCT (Document Type)     
  XDSP (Existing Disposition)       WR09        (Experience Level)       LOCN (Location)       LOTG (Lot Grade)       LOTN (Lot/SN)       SHNO 
(Message Number)       NTST (Next Status)       SFXO (Order Suffix)       DCTO (Order Type)       PARS (Parent Work Order Number)       PAYT 
(Pay/Deduction/Benefit Type)       PHSE (Phase In)       WR01       (Phase)       PID (Program ID)       REAS (Reason)       VR02        (Reference 2)       VR01        
(Reference)       RKCO (Related Order Key Company)       RORN (Related PO/SO/WO Number)       RCTO (Related PO/SO/WO Order Type)       
RREV (Routing Revision Level)       WR07        (Service Type)       WR08        (Skill Type)       STCM (Status Comment)       SRST (Status)       WR06 
       (Status)       SUB (Subsidiary)       TBM (Type Bill of Materials)       TRT (Type of Routing)       APID (Unit Number)       UOM (Unit of Measure)    
   USER (User ID)       URCD (User Reserved Code)       URRF (User Reserved Reference)       JOBN (Work Station ID) Character Fields       
BM (Bill of Material (N))       BOMC (BOM Change)       DRWC (Drawing Change)       UNCD (Freeze Code)       INDC (Indented Code)       PNRQ 
(New Part Number)       PEC (Posting Edit)       PRTS (Priority)       RTG (Route Sheet (N))       RTCH (Routing Change)       SBLI (Subledger Inactive 
Code)       TYPS (Type)       PPFG (Variance Flag)       SPRT (W.O. Flash Message)       SHTY (Work Order Pick List Printed) Date Fields       DAP 
(Assigned Date)       DAT (Assigned to Inspector Date)       STRX (Completed Date)       DCG (Date Status Changed)       UPMJ (Date Updated)      
 TRDJ (Order Date)       PPDT (Paper Printed Date)       DPL (Planned Completion Date)       DRQJ (Requested Date)       TDT (Schedule Date)  
     STRT (Start Date)       URDT (User Reserved Date) Numeric Fields       AMTA (Actual Amount)       ACDN (Actual Downtime Hours)       
HRSA (Actual Hours)       LBAM (Actual Labor Amount)       MTAM (Actual Material Amount)       AN8             (Address Number)       NUMB (Asset 
Number)       ANP (Assigned To)       PBTM (Beginning Time (HH/MM/SS))       AMTC (Change Original Amount)       HRSC (Change Original Hours)       
SETC (Crew Size)       RAT1              (Critical Ratio 1)       RAT2             (Critical Ratio 2)       XRTO (Criticality)       AMTO (Estimated Amount)       
ESDN (Estimated Downtime Hours)       HRSO (Estimated Hours)       AMLC (Estimated Labor Amount)       AMMC (Estimated Material Amount)       
AMOT (Estimated Other Amount)       ANT (Inspector)       ITM (Item Number (Short))       LTCM (Leadtime Cumulative)       LTLV (Leadtime Level)       
LNID (Line Number)       LOTP (Lot Potency)       ANSA (Manager)

cSubledgerType_SBLTSBLTcharOPTINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szSubledger_SBLSBLcharOPTINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

mnNumericField_MATH01MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

cCharacterField_A101A101charOPTOUTPUT

A code that identifies whether a document originates in the Engineering Project Management system.

jdDateField_DTEDTEJDEDATEOPTOUTPUT

You can enter a date with or without slashes (/) or dashes (-) as separators. If you leave a date entry field blank, the system supplies the 
current date.

szAlphaField_DS01DS01charOPTOUTPUT

A free-form, 80-character text field.

szErrorCode_ERNOERNOcharOPTOUTPUT

The error number assigned by the JDE edit/update programs designating the exact error that occured.

mnAccumRegisterNumb_R25PR25PMATH_NUMERICOPTINPUT

A value used to identify a register for storing retrieval code information. You can set up to 99 user defined registers. You can define 
additional retrieval references to print, or calculate and print, the contents of the register. For example, you could use this field to calculate grand 
totals. Valid values are: 1-99

cFooterSection_FTSCFTSCcharOPTINPUT

A hidden flag, embedded in the Invoice Print with Smart Fields program (R48507), that indicates whether a section is a footer or non-footer 
section. These values are passed into the smart fields when you design a version of the Invoice Print with Smart Fields program to determine 
whether the logic should use the Business View field or Previous Business View field. Valid values are: Blank Non-footer section. 1 Footer 
section.

cPrevSubledgerType_SBLTSBLTcharOPTINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szPrevSubledger_SBLSBLcharOPTINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

Related Functions

None

Related Tables

None