Line 47... |
Line 47... |
47 |
|
47 |
|
48 |
// Merge elements
|
48 |
// Merge elements
|
49 |
final SQLTable tableElementSource = getSource().getTable("SAISIE_VENTE_FACTURE_ELEMENT");
|
49 |
final SQLTable tableElementSource = getSource().getTable("SAISIE_VENTE_FACTURE_ELEMENT");
|
50 |
final SQLTable tableElementDestination = getSource().getTable("BON_DE_LIVRAISON_ELEMENT");
|
50 |
final SQLTable tableElementDestination = getSource().getTable("BON_DE_LIVRAISON_ELEMENT");
|
51 |
final Collection<? extends SQLRowAccessor> myListItem = srcRow.asRow().getReferentRows(tableElementSource);
|
51 |
final Collection<? extends SQLRowAccessor> myListItem = srcRow.asRow().getReferentRows(tableElementSource);
|
52 |
transfertReference(srcRow, rowVals, "NOM", "NOM");
|
- |
|
53 |
transfertReference(srcRow, rowVals, "INFOS", "INFOS");
|
- |
|
54 |
transfertNumberReference(srcRow, rowVals, tableElementDestination, "ID_BON_DE_LIVRAISON");
|
52 |
transfertNumberReference(srcRow, rowVals, tableElementDestination, "ID_BON_DE_LIVRAISON");
|
- |
|
53 |
transfertReference(srcRow, rowVals, tableElementDestination, "ID_BON_DE_LIVRAISON", "NOM", "NOM");
|
- |
|
54 |
transfertReference(srcRow, rowVals, tableElementDestination, "ID_BON_DE_LIVRAISON", "INFOS", "INFOS");
|
55 |
|
55 |
|
56 |
if (myListItem.size() != 0) {
|
56 |
if (myListItem.size() != 0) {
|
57 |
final SQLInjector injector = SQLInjector.getInjector(tableElementSource, tableElementDestination);
|
57 |
final SQLInjector injector = SQLInjector.getInjector(tableElementSource, tableElementDestination);
|
58 |
for (SQLRowAccessor rowElt : myListItem) {
|
58 |
for (SQLRowAccessor rowElt : myListItem) {
|
59 |
final SQLRowValues createRowValuesFrom = injector.createRowValuesFrom(rowElt.asRow());
|
59 |
final SQLRowValues createRowValuesFrom = injector.createRowValuesFrom(rowElt.asRow());
|