Change company in AIF document class

public AifEntityKeyList create(Services _service)

{

changeCompany(‘A’) //Default company is now ‘A’.

{

return this.createList(_service);

}

changeCompany(‘B’) //Default company is now ‘B’.

{

return this.createList(_service);

}

changeCompany(‘C’) //Default company is now ‘C’.

{

return this.createList(_service);

}

  1. company A is working fine

  2. Other company not working in AIF document class

Thanks in advance!

Mani

Hi manikkam,

As per your code if first condition is satisfied then it will return the list and it will not proceed further.

It will execute only once and return the list.

Thanks & Regards,

Britto John Baskar.A

Baskar,

This list from aifdocumentservice class and i dont know how to check conditions.

Can you give some idea ?

Thanks,

Manikkam.