Link to home
Start Free TrialLog in
Avatar of aaronyeo22
aaronyeo22Flag for Malaysia

asked on

weborb wdmf arraycollection

is poosible to add arraycollection to : ActiveRecords.Order.findOrCreateByAccountIdAndStatus(account.accountId,ace);

[Bindable]
            private var ace:ArrayCollection = new ArrayCollection([{Status:"1"},{Status:"2"},{Status:"3"}]);

var order:ArrayCollection ;
                  
order = ActiveRecords.Order.findOrCreateByAccountIdAndStatus(account.accountId,ace);

return error : unable to adapt parameter to a method argument type. null


expert help, i wanna to solve this problem. thanks.
Avatar of dgofman
dgofman
Flag of United States of America image

I dodn't see any problems in your ace ArrayCollection

But can you give me some idea how your magic function is working?

ActiveRecords.Order.findOrCreateByAccountIdAndStatus
Avatar of aaronyeo22

ASKER

anyone can answer this question, please help. thanks.
If you will provide a code or sample I will able to answer
ASKER CERTIFIED SOLUTION
Avatar of aaronyeo22
aaronyeo22
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that is not possible to insert arraycollection