Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3 |
*
|
3 |
*
|
4 |
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
|
4 |
* Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
|
5 |
*
|
5 |
*
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
9 |
* language governing permissions and limitations under the License.
|
9 |
* language governing permissions and limitations under the License.
|
Line 30... |
Line 30... |
30 |
map(tableCommande.getField("ID_CLIENT"), tableFacture.getField("ID_CLIENT"));
|
30 |
map(tableCommande.getField("ID_CLIENT"), tableFacture.getField("ID_CLIENT"));
|
31 |
map(tableCommande.getField("ID_COMMERCIAL"), tableFacture.getField("ID_COMMERCIAL"));
|
31 |
map(tableCommande.getField("ID_COMMERCIAL"), tableFacture.getField("ID_COMMERCIAL"));
|
32 |
if (tableCommande.contains("ID_TAXE_PORT")) {
|
32 |
if (tableCommande.contains("ID_TAXE_PORT")) {
|
33 |
map(tableCommande.getField("ID_TAXE_PORT"), tableFacture.getField("ID_TAXE_PORT"));
|
33 |
map(tableCommande.getField("ID_TAXE_PORT"), tableFacture.getField("ID_TAXE_PORT"));
|
34 |
}
|
34 |
}
|
- |
|
35 |
if (tableCommande.contains("T_ACOMPTE")) {
|
- |
|
36 |
map(tableCommande.getField("T_ACOMPTE"), tableFacture.getField("T_ACOMPTE"));
|
- |
|
37 |
}
|
35 |
if (tableCommande.contains("PORT_HT")) {
|
38 |
if (tableCommande.contains("PORT_HT")) {
|
36 |
map(tableCommande.getField("PORT_HT"), tableFacture.getField("PORT_HT"));
|
39 |
map(tableCommande.getField("PORT_HT"), tableFacture.getField("PORT_HT"));
|
37 |
}
|
40 |
}
|
38 |
if (getSource().contains("FRAIS_DOCUMENT_HT") && getDestination().contains("FRAIS_DOCUMENT_HT")) {
|
41 |
if (getSource().contains("FRAIS_DOCUMENT_HT") && getDestination().contains("FRAIS_DOCUMENT_HT")) {
|
39 |
map(getSource().getField("FRAIS_DOCUMENT_HT"), getDestination().getField("FRAIS_DOCUMENT_HT"));
|
42 |
map(getSource().getField("FRAIS_DOCUMENT_HT"), getDestination().getField("FRAIS_DOCUMENT_HT"));
|