Services
The following services are present in the Applications Manager in the Application Platform module for the Sales Order document type.
Navigate to the service definitions using the following path:
YCD_FTC_AUTO_RESOLVE- This service is used to resolve the fulfillment delay notification alert, and update the dates on the order lines that are delayed. It is invoked by theYCD_FTC_Auto_Resolvemonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table:Table 1. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeAutoResolveNoteTextYCD_FTC_AUTO_RESOLVE_NOTE_TEXTYCD_FTC_CANCEL_ORDER_LINES- This service is used to cancel the order lines if the customer has not responded to the delay notifications. It is invoked by theYCD_FTC_Cancel_Linesmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table:For details about how this custom API can be customized see the corresponding section. The differences between this service and the
YCD_FTC_AUTO_RESOLVEservice are the arguments passed to theFTCHandler.Table 2. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeCancelLinesNoteTextYCD_FTC_CANCEL_LINES_NOTE_TEXTFigure 1. The YCD_fTC_aUTO_rESOLVEandYCD_fTC_cANCEL_oRDER_lINESservices
YCD_FTC_DELAY_ALERT- This service is used to update the order dates and send a notification to the customer. It is invoked by theYCD_FTC_Delay_Alertmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table. For details about how this custom API can be customized, see the corresponding section.Table 3. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeNextFTCDelayNoteTextFTC_Delay_Alert_Note_TextYCD_FTC_FIRST_DELAY_ALERT- This service is used to update the order dates and send a notification to the customer. It is invoked by theYCD_FTC_First_Delay_Alertmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table. For details about how this custom API can be customized, see the corresponding section. The differences between this service and theYCD_FTC_DELAY_ALERTservice are the arguments that are passed to theFTCHandlercustom API.Table 4. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeFirstFTCDelayNoteTextFTC_First_Delay_Alert_Note_Text
YCD_FTC_INDEFINITE_DELAY_ALERT- This service is used to update the order dates and send a notification to the customer. It is invoked by theYCD_FTC_Indefinite_Delay_Alertmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table. For details about how this API can be customized, see the corresponding section. The differences between this service and theYCD_FTC_DELAY_ALERTservice are the arguments that are passed to theFTCHandlercustom API.Table 5. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeIndefiniteFTCDelayNoteTextFTC_Indefinite_Delay_Alert_Note_TextFigure 2. YCD_fTC_dELAY_aLERT, YCD_fTC_fIRST_dELAY_aLERT, andYCD_fTC_iNDEFINITE_dELAY_aLERTservices
YCD_FTC_DELAY_EMAIL- This service is used to update the order dates and send a notification to the customer. It is invoked by theYCD_FTC_Delay_Emailmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table. For details about how this API can be customized, see the corresponding section.Table 6. Arguments for the fTCHandlercustom APIFields Description FTCDelayTypeFirstFTCDelayNoteTextFTC_First_Delay_Email_Alert_Note_Text
YCD_FTC_INDEFINITE_DELAY_EMAIL- This service is used to update the order dates and send a notification to the customer. It is invoked by theYCD_FTC_Indefinite_Delay_Emailmonitor event. This service invokes theFTCHandlercustom API with the arguments listed in the following table. For details about how this custom API can be customized, see the corresponding section. The differences between this service and theYCD_FTC_DELAY_EMAILservice are the arguments that are passed to theFTCHandlercustom API.Table 7. Arguments for the fTCHandler custom API Fields Description FTCDelayTypeIndefiniteFTCDelayNoteTextFTC_Indefinite_Delay_Email_Alert_Note_TextFigure 3. YCD_fTC_dELAY_eMAIL, YCD_fTC_fIRST_dELAY_ EMAIL, andYCD_fTC_iNDEFINITE_dELAY_ EMAILservices
YCD_FTC_SEND_NOTIFICATION- This service determines what type of notification is needed and what the notification must state. This service is invoked by theFTCHandlercustom API. This is used in all the services that are described until now. This service is illustrated in the following figure.Figure 4. YCD_fTC_sEND_nOTIFICATIONservice
YCD_SetOrderDefaults_2.0andYCD_SetOrderDefaultsOnChange_2.0- These two services are invoked by thebeforeCreateOrderUEandbeforeChangeOrderUEuser exits respectively. These user exits are called by thecreateOrderAPI andchangeOrderAPI respectively. For more information about user exits and APIs, refer to the Javadoc. These services are used, in part, to set the promised delivery dates.Under the Arguments tab of the Set Order Promised Dates component in both the services, configure the advertised promised date that is used to calculate the first promised delivery date and the number of days after the first promised date, the second promised date must be set to by default. (this value cannot exceed 30). This service is illustrated in the following figure.Figure 5. The yCD_setOrderDefaults_2.0andyCD_setOrderDefaultsOnChange_2.0services
Depending on the service you are configuring, you might have to configure the alert or email sender components.