Skip to Content

Purchase order number using events issue

Dear Experts,

Am trying to retrieve the purchasing order number from script files to create instance on my custom BO, while change or create the Po# is always result as "##1" at runtime, i should validate in creating new instance to my custom BO, 1 instance per one PO should be created, so how can i validate without the info of PO#...


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 17 at 12:20 PM

    Hello Motaz,

    You need a stable key for the PO.

    Do you have this information?
    Then make this key the AlternativeKey for your BO.
    If a create comes in, use this key to retrieve your own BO. If this fails, this instance does not exist and you can create it.

    . Horst

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Motaz,

      If the PO is drawing its number late, it will be available after the save, Too late for you. :-(
      But for this we have stable AlternativeKeys which are determined on the creation of the node instance

      Second:"Add Custom Action" refers to an action added to an XBO. As you already noticed this works only for ESF2 BOs.
      So, no ESF2 BO, no XBO action, no UI action

      . Horst