Skip to Content
Sep 02, 2020 at 11:20 AM

How to set values for my node elements (fill the values with BCC code+description)?

130 Views Last edit Sep 02, 2020 at 11:23 AM 2 rev

Hello dear community members!

I’m quite new to ABSL scripting but after a few days, I still have not found any info on this.

So… I have a custom BO that looks like this:

businessobject VATReturnEE {

element VatReturnID: ID;

element VatReturnDesc : LANGUAGEINDEPENDENT_LONG_Name;

node VatReturn [0,n] {

element TaxReturnGroupCode: TAXGROUPCode;

element TaxReturnGroupDescription: LANGUAGEINDEPENDENT_LONG_Description;

element GroupAmount: Amount;



I need to get multiple values for all the elements in node “VatReturn”.

I have a defined BCO in a different BO where I have my BCC with values:

In the end I need to have my VatReturn values the same as my BCC values.

TaxGroupCode = BCC Code

TaxReturnGroupDescription = BCC Description

My problem is that I can’t seem to find a way to set these values for my elements. I need to get a list that looks like that in my BO:

I'm trying to set the values in my custom action in the root node where I:


//Query the values of BCC

var QueryTaxGroups = TAXGROUP.QueryByElements;

var ResultTaxGroups = QueryTaxGroups.Execute();

//for each BCC value set the values for my elements:

foreach(var instance in ResultTaxGroups){

//this part is the question, how to i add these values to my elements:

TaxGroupCode = BCC Code?

TaxReturnGroupDescription = BCC Description?


If anyone has any information about this then please let me know!

It is maybe a really easy thing to do but I cannot figure it out.

Thank You!

Kind regards,



bccvalues.png (20.1 kB)
end.png (24.5 kB)