Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
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
鲁鑫
topsun-bpm
Commits
9a0464cc
Commit
9a0464cc
authored
Feb 08, 2025
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料接口:
1、如果成本中心包含F或G,就用移动类型201, 2、如果成本中心包含E或L或V,就用移动类型901,
parent
a403b114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
NonProducePickApplicationImpl.java
...ePick/application/impl/NonProducePickApplicationImpl.java
+9
-1
No files found.
topsun/src/main/java/com/huigou/topsun/sap/nonProducePick/application/impl/NonProducePickApplicationImpl.java
View file @
9a0464cc
...
...
@@ -95,7 +95,15 @@ public class NonProducePickApplicationImpl extends FlowBroker implements NonProd
nonProducePickVo
.
setAufnr
(
nonProducePick
.
getAufnr
());
//若填写了成本中心,领料采用移动类型201;填写了内部订单,领料采用移动类型261,两者不可并存,SAP发起的刀工模板具领料采用移动类型Z01
if
(
StringUtil
.
isNotBlank
(
nonProducePick
.
getKostl
())){
nonProducePickVo
.
setBwart
(
"201"
);
//根据BPM传过来的成本中心编码:KOSTL(如:1000E13000,1000F61305)
//,-->CSKS- KOSTL --> CSKS-KOSAR,
//1、如果CSKS-KOSAR=F或G,就用移动类型201,
//2、如果CSKS-KOSAR=E或L或V,就用移动类型901,
if
(
nonProducePick
.
getKostl
().
contains
(
"F"
)
||
nonProducePick
.
getKostl
().
contains
(
"G"
)){
nonProducePickVo
.
setBwart
(
"201"
);
}
else
if
(
nonProducePick
.
getKostl
().
contains
(
"E"
)
||
nonProducePick
.
getKostl
().
contains
(
"L"
)
||
nonProducePick
.
getKostl
().
contains
(
"V"
)){
nonProducePickVo
.
setBwart
(
"901"
);
}
}
else
if
(
StringUtil
.
isNotBlank
(
nonProducePick
.
getAufnr
()))
{
nonProducePickVo
.
setBwart
(
"261"
);
}
...
...
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