How to save to other one to many classes

StatusIDPriorityType
Closed24894TrivialQuestion
ProfileReply
doorscomputersClient

I have a standard class called Savings (Savings Deposit transaction in banks) . When I Insert a new record for deposit or withdraw on the savings class, I also want to insert new one to many records on transaction_header and Transaction detail. I have attached an excel file. Above it is a savings transaction, and below are automatic insert of new records to 3 classes.Please help me on how to insert new one to many records to other classes once I do a save in one class as a transaction. Thanks so much in advance!

Attached files:

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello,

To solve your issue you can override the method OnSaving() for a class Savings and you should implement to the method OnSaving() your changes to other classes.

Let me know if you need further assistance on this subject.

Best regards,
Sasha.

doorscomputers

Thanks very much!

× This ticket is closed.

Write US