Skip to main content

Hi,

in the inter company process, I want to automate the pre-posting of a customer order which was created by a purchase order,  but the problem there is no trigger, everything happens in the background.

I made a bpa when creating a customer order in asynchronous mode, but it didn't triggered.

i made another test in the Supply Chain Purchase Order Analysis but the event triggerd just when i refresh the screen.

can any one tell me how i know  the trigger for the creation of the customer order for this process

 

Thanks.

Regards.

Hi,

The creation of the customer order in an internal flow is made by the use of EDI MHS messages. If the order is created automatically, probably the approval of Incoming Customer Order is configured as Automatic. Customer order is created from this window Incoming Customer Order, when Approve option is selected manually or run automatically, as per the configuration in Customer window/Order/Message Defaults. 

You can also try to create your trigger when the new line in Order History is created. 

I hope this helps. Please, let me know if you need more detail on this.

Regards,

Pilar


hi,

i confirm, cust order is created automatically and approved automatically,

i made what you suggest me, but nothing is triggered,

i test with after, asynchronous … with projection action, also with event same thing

 


Hi ​@ZinT ,

If you don’t want to change configuration to manual approval and then trigger your event when user selects ‘Approve’ option in Incoming Customer Order, then, 

  1. In case the preposting is needed in customer order header, you can trigger the preposting insertion when the first line is created in Order History:
  1. In case the pre-posting is needed at line level, then you can use the order line history first line creation to trigger your event:

Regards,

Pilar


Hi ​@Pilar Franco 

thank you for your response, 

the pre posting is needed at lines, 

the problem persiste, the event is not trrigered when lines is created in the history of order line

 

 

 


Sorry, ​@ZinT ,

I’m not expert in workflow functionality. Just wanted to clarify how the customer order is created in an intercompany flow. Probably any technician expert in such functionality can perhaps help on this.

Regards,

Pilar


Thank you ​@Pilar Franco 


Reply