Skip to Content

Error(Doesnot exist) while activating Business logic

Hello Experts,

In SDK, using BODL i created structure like below.

import AP.Common.GDT as apCommonGDT;

businessobject BusinessObject1 {

[Label("Bonusplan ID")] [AlternativeKey] element BonusPlanId:ID;

[Label("Start date")] element StartDate:Date;

[Label("End date")] element EndDate:Date;

[Label("Bonus rate")] element BonusRate:Percent;

[Label("Target amount date")] element TargetAmount:Amount;

[Label("Total revenue")] element TotalRevenue:Amount;

[Label("Total bonus")] element TotalBonus:Amount;

action Calculatebonus; }

Here, successfully activated the Business object.

In ABSL while activating i am getting an Error and i am unable to see Fields or BO fields in Codecompletion

import ABSL;

if (this.TotalRevenue.content < this.targetamount.content) {

this.TotalBonus.content = this.totalrevenue.content * (this.bonusrate / 100);


Error :
Error1 Identifier 'TotalRevenue' does not exist.

Error2 Identifier 'TotalBonus' does not exist.

What might be the Problem ?

Thanks in Advance


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 19, 2017 at 02:45 AM

    Dear Balreddy

    The script file you have created must be mass enabled.

    From 1705 release, all the script files are mass enabled by default to enhance system performance.

    Try to use GetFirst() function in your script

    Example: this.GetFirst().Total Revenue


    When you try to create a script file you have to de-select the check box for Mass Enabled.



    Add comment
    10|10000 characters needed characters exceeded