Aktualisierung bzgl. Mandant 200

This commit is contained in:
2024-07-04 14:02:29 +02:00
parent 98b77fa09e
commit 053cf74ad0
2 changed files with 4 additions and 3 deletions

View File

@@ -144,11 +144,11 @@ public class D3Hooks
} }
/////////////////////////// ///////////////////////////
// eingefügt von CALB/d.velop AG / 2024.06.12 / Setzen des Mandanten bei SAP-Dokumenten (Mandant = 240) // eingefügt von CALB/d.velop AG / 2024.06.12 / Setzen des Mandanten bei SAP-Dokumenten
if ( ( isRepoIdInDocType( d3, docType.id, constantValues.MandantId ) ) && ( isRepoIdInDocType( d3, docType.id, constantValues.BuKrsId ) ) ) // Mandant / Buchungskreis ist in der Dokumentart enthalten if ( ( isRepoIdInDocType( d3, docType.id, constantValues.MandantId ) ) && ( isRepoIdInDocType( d3, docType.id, constantValues.BuKrsId ) ) ) // Mandant / Buchungskreis ist in der Dokumentart enthalten
{ {
if ( doc.field[ 39 ] == "240" ) if ( doc.field[ 39 ] == constantValues.MandNr )
{ {
if ( doc.field[ 1 ] ) if ( doc.field[ 1 ] )
{ {
@@ -171,7 +171,7 @@ public class D3Hooks
} }
} }
// Einfügung Ende / Setzen des Mandanten bei SAP-Dokumenten (Mandant = 240) // Einfügung Ende / Setzen des Mandanten bei SAP-Dokumenten
/////////////////////////// ///////////////////////////

View File

@@ -11,4 +11,5 @@ public class constantValues
static final int MandantId = 48; static final int MandantId = 48;
static final int BuKrsId = 1; static final int BuKrsId = 1;
static final int MatNrId = 31; static final int MatNrId = 31;
static final String MandNr = "200";
} }