This topic contains 2 replies, has 0 voices, and was last updated by pcutler 7 years ago.

  • Author
    Posts
  • #21421

    shane.mabery

    I am trying to get the form changed that is used when a dropship sales order is approved. I understand that the purchase order is automatically created if preferred vendor is on the item page, and I like the way that entire process works. However, I am attempting to write a script to change that purchase order form if the purchase order is from a specific vendor, but I cannot seem to pin down how to trigger the script. It seems as though the automatic creation of the PO does not trigger any of the User Event or Client script types. Has anyone had any experience with this? I also intend to write some specific values from the SO on this specific type of purchase order as well.
    This is a cached copy. Click here to see the original post.

  • #21422

    Olivier Gagnon NC

    From memory, I think only AfterSubmit is triggered?

  • #21423

    pcutler

    Agreed with Oliver, It should trigger an after submit user event script with type = "dropship" – so you will have to reload the PO, change the custom form, and re-submit.

You must be logged in to reply to this topic.