* Create references to the 2 business objects I need THIS.ADD("oCompany", "CompanyObj") THIS.ADD("oFinancial", "FinancialObj")Then, in the ExecuteEvent() method of the Event object, I create local references to those objects:
LOCAL loCompany, loFinancial loCompany = THIS.GET( "oCompany" ) loFinancial = THIS.GET( "oFinancial" )Now that I have my 2 business objects created, I can execute code like this to add records:
.Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }
loCompany.New()
loFinancial.New()