Skip to main content
Question

What is the best way attribute for Custom Event with new Custom Order

  • April 2, 2024
  • 2 replies
  • 117 views

InfTomaPr
Sidekick (Partner)
Forum|alt.badge.img+5

Create Custom Event for Customer Order

Is it good attribute - DATE_ENTERED? I didn’t better attributes for new customer order action that this.

New Custom Event

Use Execute Online SQL for it

BEGIN Client_SYS.Add_Info('CustomerOrder', 'MY1STMSG: Do not forget to add PROJECT.'); END;

New condition and New SQL Statement

 

Result

New Info for a new customer order

 

2 replies

COVJAMIEB
Hero (Partner)
Forum|alt.badge.img+11
  • Hero (Partner)
  • 218 replies
  • April 2, 2024

Hi @InfTomaPr I don’t believe you need any attributes. Especially if you want this information message to appear after each customer order is created. 
Would be different if you wanted to trigger on a modification to a specific attribute. 
 

Regards,

Jamie


Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 1306 replies
  • April 2, 2024

@InfTomaPr agree with @COVJAMIEB. You don’t need any attributes. Just make sure the event fires when new objects are created (INSERT) in CUSTOMER_ORDER_TAB. Then you have the message everytime a new CO is created

Anyways, since it seems that you wanna remind the users to add the Project ID. Normally Project ID is also defined as a code part and then you can enable mandatory preposting for customer order → then the system will require the Project ID in preposting before allowing for the CO to be released. Just an idea, not sure if it’s relevant for your usecase.