Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sap-service
Commits
89796e00
Commit
89796e00
authored
Jul 26, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
aec1a08c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
26 deletions
+20
-26
ShippingNotificationServiceImpl.java
...hipping_notfirmation/ShippingNotificationServiceImpl.java
+8
-14
Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE.java
..._notfirmation/Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE.java
+12
-12
No files found.
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
89796e00
...
...
@@ -128,28 +128,22 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
item
.
put
(
"DMATNR"
,
ITEM
.
getDMATNR
());
item
.
put
(
"LFIMG"
,
ITEM
.
getLFIMG
());
item
.
put
(
"VRKME"
,
ITEM
.
getVRKME
());
List
<
ITEM_REFERENCE_SO
>
ITEM_REFERENCE_SOs
=
ITEM
.
getITEM_REFERENCE_SO
();
if
(
ITEM_REFERENCE_SOs
!=
null
)
{
ITEM_REFERENCE_SO
ITEM_REFERENCE_SO
=
ITEM_REFERENCE_SOs
.
get
(
0
);
ITEM_REFERENCE_SO
ITEM_REFERENCE_SO
=
ITEM
.
getITEM_REFERENCE_SO
();
if
(
ITEM_REFERENCE_SO
!=
null
)
{
item
.
put
(
"REFERENCE_SO_QUALF"
,
ITEM_REFERENCE_SO
.
getQUALF
());
item
.
put
(
"REFERENCE_SO_BELNR"
,
ITEM_REFERENCE_SO
.
getBELNR
());
item
.
put
(
"REFERENCE_SO_POSNR"
,
ITEM_REFERENCE_SO
.
getPOSNR
());
}
}
List
<
ITEM_REFERENCE_PO_TYPE
>
ITEM_REFERENCE_PO_TYPEs
=
ITEM
.
getITEM_REFERENCE_PO_TYPE
();
if
(
ITEM_REFERENCE_PO_TYPEs
!=
null
)
{
for
(
int
i
=
0
;
i
<
ITEM_REFERENCE_PO_TYPEs
.
size
();
i
++)
{
ITEM_REFERENCE_PO_TYPE
ITEM_REFERENCE_PO_TYPE
=
ITEM_REFERENCE_PO_TYPEs
.
get
(
i
);
if
(
ITEM_REFERENCE_PO_TYPE
!=
null
)
{
String
TDLINE
=
null
;
List
<
ITEM_REFERENCE_PO_DATA
>
ITEM_REFERENCE_PO_DATAs
=
ITEM_REFERENCE_PO_TYPE
.
getITEM_REFERENCE_PO_DATA
();
if
(
ITEM_REFERENCE_PO_DATAs
!=
null
&&
ITEM_REFERENCE_PO_DATAs
.
size
()
>
0
)
{
ITEM_REFERENCE_PO_DATA
ITEM_REFERENCE_PO_DATA
=
ITEM_REFERENCE_PO_DATAs
.
get
(
0
);
ITEM_REFERENCE_PO_DATA
ITEM_REFERENCE_PO_DATA
=
ITEM_REFERENCE_PO_TYPE
.
getITEM_REFERENCE_PO_DATA
();
if
(
ITEM_REFERENCE_PO_DATA
!=
null
)
{
TDLINE
=
ITEM_REFERENCE_PO_DATA
.
getTDLINE
();
}
}
String
TDID
=
ITEM_REFERENCE_PO_TYPE
.
getTDID
();
if
(
"ZXI1"
.
equals
(
TDID
))
{
item
.
put
(
"REFERENCE_PO_TYPE_TDID1"
,
TDID
);
...
...
src/main/java/com/egolm/sso/services/shipping_notfirmation/Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE.java
View file @
89796e00
...
...
@@ -251,7 +251,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
@XmlElement
(
required
=
false
,
nillable
=
true
)
String
VRKME
;
@XmlElement
(
required
=
false
,
nillable
=
true
)
List
<
ITEM_REFERENCE_SO
>
ITEM_REFERENCE_SO
;
ITEM_REFERENCE_SO
ITEM_REFERENCE_SO
;
@XmlElement
(
required
=
false
,
nillable
=
true
)
List
<
ITEM_REFERENCE_PO_TYPE
>
ITEM_REFERENCE_PO_TYPE
;
...
...
@@ -303,14 +303,6 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
VRKME
=
vRKME
;
}
public
List
<
ITEM_REFERENCE_SO
>
getITEM_REFERENCE_SO
()
{
return
ITEM_REFERENCE_SO
;
}
public
void
setITEM_REFERENCE_SO
(
List
<
ITEM_REFERENCE_SO
>
iTEM_REFERENCE_SO
)
{
ITEM_REFERENCE_SO
=
iTEM_REFERENCE_SO
;
}
public
List
<
ITEM_REFERENCE_PO_TYPE
>
getITEM_REFERENCE_PO_TYPE
()
{
return
ITEM_REFERENCE_PO_TYPE
;
}
...
...
@@ -318,6 +310,14 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
public
void
setITEM_REFERENCE_PO_TYPE
(
List
<
ITEM_REFERENCE_PO_TYPE
>
iTEM_REFERENCE_PO_TYPE
)
{
ITEM_REFERENCE_PO_TYPE
=
iTEM_REFERENCE_PO_TYPE
;
}
public
ITEM_REFERENCE_SO
getITEM_REFERENCE_SO
()
{
return
ITEM_REFERENCE_SO
;
}
public
void
setITEM_REFERENCE_SO
(
ITEM_REFERENCE_SO
iTEM_REFERENCE_SO
)
{
ITEM_REFERENCE_SO
=
iTEM_REFERENCE_SO
;
}
}
@XmlType
(
name
=
"ITEM_REFERENCE_SO"
)
...
...
@@ -361,7 +361,7 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
@XmlElement
(
required
=
false
,
nillable
=
true
)
String
TDID
;
@XmlElement
(
required
=
false
,
nillable
=
true
)
List
<
ITEM_REFERENCE_PO_DATA
>
ITEM_REFERENCE_PO_DATA
;
ITEM_REFERENCE_PO_DATA
ITEM_REFERENCE_PO_DATA
;
public
String
getTDID
()
{
return
TDID
;
...
...
@@ -371,11 +371,11 @@ public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
TDID
=
tDID
;
}
public
List
<
ITEM_REFERENCE_PO_DATA
>
getITEM_REFERENCE_PO_DATA
()
{
public
ITEM_REFERENCE_PO_DATA
getITEM_REFERENCE_PO_DATA
()
{
return
ITEM_REFERENCE_PO_DATA
;
}
public
void
setITEM_REFERENCE_PO_DATA
(
List
<
ITEM_REFERENCE_PO_DATA
>
iTEM_REFERENCE_PO_DATA
)
{
public
void
setITEM_REFERENCE_PO_DATA
(
ITEM_REFERENCE_PO_DATA
iTEM_REFERENCE_PO_DATA
)
{
ITEM_REFERENCE_PO_DATA
=
iTEM_REFERENCE_PO_DATA
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment