Sorry this is my Custom BO
raises MsgFecha {
message MsgFecha text "La fecha de final seleccionada es anteriro a la de inicio";
[Label("EmployeeID")] element EmployeeID:EmployeeID;
association ToEmployee to Employee;
[Label("Documento")] element Documento:ListaDocumentosCode;
[Label("Tipo Documento")] element TipoVisa:ListaTiposVisadosCode;
[Label("Fecha Desde")] element FechaDesde:Date;
[Label("Fecha Hasta")] element FechaHasta:Date;
[Label("Campo1")] element Campo1:Amount;
[Label("Campo2")] element Campo2:Amount;
[Label("Resultado")] element Resultado:Amount;
[Label("Consistencia")] element isconsistent:Indicator;
action Calcular;
}
And I have in OWL an ipmort to obtain the EmployeeID and UUID.
Actually I´m trying with the second solution wich I posted but I only save a single record.
I don´t know what of thats two ways to make it is better.