Skip to Content

create custom BO using absl

I'm trying to create custom BO using absl calculation action event, but not getting saved. Please suggest.

var customBO : elementsof SchemeCalculation; 

customBO.SchemePlanID = this.SchemePlanID; 

customBO.BranchName = this.Branch; 

customBO.Retailer_Target = this.TargetQuantity;
customBO.MTD_Achieved = totalSale;  

var newBO = SchemeCalculation.Create(customBO);
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Mar 17 at 03:31 AM

    Hi,

    On which controller event you bind your absl?

    Have you check this check-box?

    Regards,

    May


    event.png (18.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Then I think your steps are correct.

      How about to debug the logic?

      The other OWL is from custom BO SchemeCalculation right?

      And can you execute query on SchemeCalculation BO and is there any data inserted?

      If yes, check that the fields are correctly binded on the OWL or not.

      Regards,

      May

  • Posted on Mar 27 at 12:01 PM

    It's working for me some minor bugs were there in my script. Thanks for support.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.