on 2023 Jul 12 9:11 AM
Dear Community,
I am struggling with a special case within the area of the output control / output parameter determination.
I want to get a completely new output parameter determination triggered in case of changes within the Sales Order.
In the standard I can achieve easily that, if an output was determined and a field was changed which is customized as relevant for a change document/text I get the change document ORDER_CONFIRMATION_CHANGE.
But this is always just the case for the existing document.
My goal is to get a new output with a different form template and recipient in cases e.g. a special billing block or delivery block is set within the change mode.
If I am not in the change mode, the output parameter works as desired but not in case of change mode.
Example: I get the following output:
Output Type: ORDER_CONFIRMATION - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
After a change in one of the blocks mentioned above I would like to get additionally another output, e.g. as OC_Change.
Example after this change:
(OLD ONE) Output Type: ORDER_CONFIRMATION - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
First NEW: Output Type: ORDER_CONFIRMATION_CHANGE - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
Second NEW: Output Type: ORDER_CONFIRMATION_CHANGE - Role: RE - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_FORM_2
Is there any possibility to achieve an output like this?
Thank you in advance!
Kind regards,
Jonas
Request clarification before answering.
Hi Jonas,
Based on your example, you want to have an additional ORDER_CONIFRMATION_CHANGE output item for different receiver roles with different form templates.
This is currently not possible because the change message of the sales order will check if there has completed output item for the same receiver role, receiver, and channel. The workaround solution here is you need to first add the configuration to generate the ORDER_CONFIRMATION for both AG and RE as:
ORDER_CONFIRMATION - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
ORDER_CONFIRMATION - Role: RE - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
And after you change the order, the system can generate the change output item (by assigning a different form template to ORDER_CONFIRMATION_CHANGE output type with the condition Role in OPD):
[Completed] ORDER_CONFIRMATION - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
[Completed] ORDER_CONFIRMATION - Role: RE - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
[New] ORDER_CONFIRMATION_CHANGE - Role: AG - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_EXAMPLE
[New] ORDER_CONFIRMATION_CHANGE - Role: RE - Channel: PRINT - Ctry/r: EN Language EN - Form Template: YY1_OC_FORM_2
Best regards,
Troy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
15 | |
10 | |
8 | |
5 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.