// Fabriquer et rapprocher public RapproRaw Produire(Operation ope, OperationRawSG raw, int indice, string _origine) { // Rappro RapproRaw rappro = this.FabriquerRappro(ope, raw, indice, _origine); // Rappro Raw raw.Rapprocher(); raw.Pointer(); // Rappro opé ope.Rapprocher(raw); ope.Pointer(); // Retour return rappro; }
public RapproRaw ProduireFromConversionRaw(Operation ope, OperationRawSG raw, int indice, bool _pointee) { // Validation de la proposition d'opération if (ope.IsValid()) { // Mise à jour des soldes dans le contexte ope.Valider(); } ope.Etat = EtatOperationEnum.RAPPROCHEE; ope.Pointee = _pointee; // Rapprpochement raw raw.Etat = EtatOperationRaw.RAPPROCHEE; raw.Pointer(); // Création rappro string _origine = "CONVERSION RAW"; RapproRaw rappro = this.FabriquerRappro(ope, raw, indice, _origine); // Retour return rappro; }