Insertando/Agregando un registro con Bussiness Components
//Requiere haber definido &bussinessComponents como una variable de tipo transacción con el tick de Bussines Conponent en true
Event Enter
&bussinesComponent.campo1=&var1
&bussinesComponent.campo2=&var2
&bussinesComponent.Save()
If &bussinesComponent.success()
Commit
msg("Agregado correctamente")
MenuPrincipal.Link()
else
Rollback
msg("Error: No se pudo agregar")
Endif
Endevent