1.Functional Description
1.1Purpose
This NER is used to create the work order, send the email message, start the workflow process and send the report router application. It will also update
the status of the F08711 record.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
ESIDmnEmployeeSetupIDI
TSKCDmnTaskCodeI
MATH01mnErrorCodeO
COszCompanyI
MCUszCostCenterI
DRQJjdDateRequestedJulianI
DOCOmnWorkOrderCreatedO
ALPHszNameAlphaI
TSKSTSszTaskStatusI
AN8mnEmployeeAddressNumberI
DOCOmnDocumentOrderTemplateI
VERSszVersionsI
2.2Related Tables
Table Table Description
2.3Related Business Functions
Source NameFunction Name
Processing
1.Read the following tables:
F08710.Fetch Single
F08711.Fetch Single
F087102.Fetch Single
2.If EndingStatus returned from F087102 is blank, Set it equal to '9'.
3.Call B0800137 (Get P08710 Processing Options)
4.If the MailBox return from B0800137 is blank, Set equal to "01".
5.If the Status returned from F08710 or F08711 is < "A"
Set VA evt_F08711NewStatus_A201 = VA evt_F08710Status_A201
Else
Set VA evt_F08711NewStatus_A201 = VA evt_Ending_Status_F087102
End If
If WorkOrder from F08711 is not equal to
Call N0800133 - "Employee Setup Work Order Creation"
To update the Work Order status to FinalWoStatus read in step 3.
End If
Set BF mnErrorCode = "1"
8. Call N0800128 - Get F087103 Record
9. If WorkOrder from F087103 is not equal to
VA evt_Description_Temp = VA evt_Description_F087102
Else
VA evt_Description_Temp = " "
End If
Set BF mnDocumentOrderTemplate = VA evt_Work_Order_F087103
Call N0800133 - "Employee Setup Work Order Creation" to insert the new WO.
Call N0800138 - "Create F4802 Records
Update F08711 with: DateUpdate, UserID, ProgramID, NewWorkOrder
End If /*end of step 9 */
11. If Time to Activate Task
If ObjectName from F087103 is not equal to
Recipient is ANR retrieved from F087103 in Step 1
Attach applications P08710B.
If SendEmail from F087103 is equal to "Y"
If WorkOrder from F08711 is not equal to
Set VA evt_F08711NewStatus_A201 = "A"
Else
Set VA evt_F08711NewStatus_A201 = "W"
End If /* end of step 6*/
If VA evt_F08711NewStatus_A201 is not equal to VA evt_F08711Status_A201
Update F08711 with: ProgramID, DateUpdated, UserID, VA evt_F08711NewStatus_A201
End If
Set BF szTaskStatus = VA evt_F08711NewStatus_A201 /* Return Value */
^
D0800123 - Activate Employee Setup Task
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnEmployeeSetupID | ESID | MATH_NUMERIC | REQ | INPUT |
A code that represents the unique identifier for an employee setup record. | ||||
mnTaskCode | TSKCD | MATH_NUMERIC | REQ | INPUT |
A number that uniquely identifies the task. The system generates this number using next numbers. | ||||
mnErrorCode | MATH01 | MATH_NUMERIC | OPT | BOTH |
- - - Good Performance Low Value. | ||||
szCompany | CO | char | OPT | BOTH |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szCostCenter | MCU | char | OPT | BOTH |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
jdDateRequestedJulian | DRQJ | JDEDATE | OPT | BOTH |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
mnWorkOrderCreated | DOCO | MATH_NUMERIC | OPT | BOTH |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szTaskStatus | TSKSTS | char | OPT | BOTH |
A code that represents the current status of the employee setup process.
Several of the statuses are hard coded. Changing hard-coded
| ||||
szNameAlpha | ALPH | char | OPT | BOTH |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
| ||||
mnEmployeeAddressNumber | AN8 | MATH_NUMERIC | OPT | BOTH |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnDocumentOrderTemplate | DOCO | MATH_NUMERIC | OPT | BOTH |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szVersion | VERS | char | OPT | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
GenericJDEUTimeValue | GENUTIME | INVALID ITEM DATA TYPE: 55 | OPT | BOTH |
Generic JDE UTime Value |
None |
None |