how do you fetch a second dataset from within a BE

Help, this should be easy, but I am afraid to admit that I can't figure it out....

business-entity beStateModel is designed to manage dataset dsStateModel.

During the validation of dsStateModel I need a copy of the complete statemodel data, so I can judge if the diffgram in dsStateModel will produce something consistent.
Therefore I have included a second copy of the dataset. It's the same includefile, but without reference-only and with a prefix. So the class header looks like:

class vmaimo.statemachine.beStateModel inherits oesdk.base.BusinessEntity:

    {vmaimo/statemachine/dsStateModel.i &REFERENCE-ONLY=REFERENCE-ONLY}
    {vmaimo/statemachine/dsStateModel.i &prefix=local}

My problem is: how can I fetch data into dataset localdsStateModel, during the ValidateData() method?
I am sure it must be something obvious but I am messing with either binds that don't work, or with buffernames that are not in the dataset.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jurjen's picture

I have had some sleep, and

I have had some sleep, and found page "Using a temporary dataset/context in a business entity"
Thanks.