Before You Begin
This 10-minute tutorial shows you how to configure an orchestration that is available to automatically save a newly generated sales proposal document as an attachment to the sales or the quote order and to set up a notification to review the sales proposal.
Background
A system administrator needs to configure an orchestration and set up a notification for a sales proposal document.
In this OBE, you will review the coding guidelines required to invoke an orchestration to generate and to attach a sales proposal to a sales order and to set up a notification for the sales proposal.
What Do You Need?
- You must have JD Edwards EnterpriseOne Tools Release 9.2.3 and the Orchestrator Studio. You must also have these ESUs downloaded and installed:
- • JN17441 (ESU_JN17441_11/5/19) for the sales proposal functionality.
- • UDO_9.2_10427 (UDO_9.2_10427_2019.10.25) for the orchestration and notification.
Using
the Model Code to Call an Orchestration to Generate and Save a
Sales Proposal as a Media Object Attachment
To call the orchestration, you need to write the code below:
- Open the application in FDA (Form Design Aid) with these
details for defining the code:
• Application: P90CA24 (Proposal Generation)
• Control: &Select
• Event: Button Clicked - Use the B98ORCH business function to call the orchestration and notification. It calls the following orchestrations in this order:
- JDE_ORCH_90CA_Run_And_Upload_R90CA024_Output_To_MO orchestration
- JDE_NOTIFY_90CA_Proposal_Generation_In_P4210
Note: The code calls this notification if the sales proposal is generated using the P4210 application. - JDE_NOTIFY_90CA_Proposal_Generation_In_P42101
Note: The code calls this notification if the sales proposal is generated using the P42101 application. - Enter this code:
// Comment the current call to the UBE R90CA024 below
and include the following code:
!Call( UBE:R90CA024 ,Ver: XJDE0001 )
Call Orchestration or Notification
If VA evt_szOrchJobNo_TSTRING is not equal to <Blank>
And VA evt_szOrchJobNo_TSTRING is not equal to <Null>
Convert String to Math Numeric
VA evt_szOrchJobNo_TSTRING -> BF
szInputString
VA evt_mnOrchJobNo_RPDJBNBR <- BF
mnOutputMathNumeric
If FI szProgramId is equal to "EP4210" And
VA frm_cErrorFlag_EV01 is not equal to "1"
Call Orchestration or Notification
End If
If FI szProgramId is equal to
"EP42101" And VA frm_cErrorFlag_EV01 is not equal to "1"
Call Orchestration or Notification
End If
End If
Configuring
an Orchestration and a Notification for the Enhanced Sales Proposal
Solution