物料数据同步.ktr 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>物料数据同步</name>
  5. <description/>
  6. <extended_description/>
  7. <trans_version/>
  8. <trans_type>Normal</trans_type>
  9. <trans_status>0</trans_status>
  10. <directory>/</directory>
  11. <parameters>
  12. </parameters>
  13. <log>
  14. <trans-log-table>
  15. <connection/>
  16. <schema/>
  17. <table/>
  18. <size_limit_lines/>
  19. <interval/>
  20. <timeout_days/>
  21. <field>
  22. <id>ID_BATCH</id>
  23. <enabled>Y</enabled>
  24. <name>ID_BATCH</name>
  25. </field>
  26. <field>
  27. <id>CHANNEL_ID</id>
  28. <enabled>Y</enabled>
  29. <name>CHANNEL_ID</name>
  30. </field>
  31. <field>
  32. <id>TRANSNAME</id>
  33. <enabled>Y</enabled>
  34. <name>TRANSNAME</name>
  35. </field>
  36. <field>
  37. <id>STATUS</id>
  38. <enabled>Y</enabled>
  39. <name>STATUS</name>
  40. </field>
  41. <field>
  42. <id>LINES_READ</id>
  43. <enabled>Y</enabled>
  44. <name>LINES_READ</name>
  45. <subject/>
  46. </field>
  47. <field>
  48. <id>LINES_WRITTEN</id>
  49. <enabled>Y</enabled>
  50. <name>LINES_WRITTEN</name>
  51. <subject/>
  52. </field>
  53. <field>
  54. <id>LINES_UPDATED</id>
  55. <enabled>Y</enabled>
  56. <name>LINES_UPDATED</name>
  57. <subject/>
  58. </field>
  59. <field>
  60. <id>LINES_INPUT</id>
  61. <enabled>Y</enabled>
  62. <name>LINES_INPUT</name>
  63. <subject/>
  64. </field>
  65. <field>
  66. <id>LINES_OUTPUT</id>
  67. <enabled>Y</enabled>
  68. <name>LINES_OUTPUT</name>
  69. <subject/>
  70. </field>
  71. <field>
  72. <id>LINES_REJECTED</id>
  73. <enabled>Y</enabled>
  74. <name>LINES_REJECTED</name>
  75. <subject/>
  76. </field>
  77. <field>
  78. <id>ERRORS</id>
  79. <enabled>Y</enabled>
  80. <name>ERRORS</name>
  81. </field>
  82. <field>
  83. <id>STARTDATE</id>
  84. <enabled>Y</enabled>
  85. <name>STARTDATE</name>
  86. </field>
  87. <field>
  88. <id>ENDDATE</id>
  89. <enabled>Y</enabled>
  90. <name>ENDDATE</name>
  91. </field>
  92. <field>
  93. <id>LOGDATE</id>
  94. <enabled>Y</enabled>
  95. <name>LOGDATE</name>
  96. </field>
  97. <field>
  98. <id>DEPDATE</id>
  99. <enabled>Y</enabled>
  100. <name>DEPDATE</name>
  101. </field>
  102. <field>
  103. <id>REPLAYDATE</id>
  104. <enabled>Y</enabled>
  105. <name>REPLAYDATE</name>
  106. </field>
  107. <field>
  108. <id>LOG_FIELD</id>
  109. <enabled>Y</enabled>
  110. <name>LOG_FIELD</name>
  111. </field>
  112. <field>
  113. <id>EXECUTING_SERVER</id>
  114. <enabled>N</enabled>
  115. <name>EXECUTING_SERVER</name>
  116. </field>
  117. <field>
  118. <id>EXECUTING_USER</id>
  119. <enabled>N</enabled>
  120. <name>EXECUTING_USER</name>
  121. </field>
  122. <field>
  123. <id>CLIENT</id>
  124. <enabled>N</enabled>
  125. <name>CLIENT</name>
  126. </field>
  127. </trans-log-table>
  128. <perf-log-table>
  129. <connection/>
  130. <schema/>
  131. <table/>
  132. <interval/>
  133. <timeout_days/>
  134. <field>
  135. <id>ID_BATCH</id>
  136. <enabled>Y</enabled>
  137. <name>ID_BATCH</name>
  138. </field>
  139. <field>
  140. <id>SEQ_NR</id>
  141. <enabled>Y</enabled>
  142. <name>SEQ_NR</name>
  143. </field>
  144. <field>
  145. <id>LOGDATE</id>
  146. <enabled>Y</enabled>
  147. <name>LOGDATE</name>
  148. </field>
  149. <field>
  150. <id>TRANSNAME</id>
  151. <enabled>Y</enabled>
  152. <name>TRANSNAME</name>
  153. </field>
  154. <field>
  155. <id>STEPNAME</id>
  156. <enabled>Y</enabled>
  157. <name>STEPNAME</name>
  158. </field>
  159. <field>
  160. <id>STEP_COPY</id>
  161. <enabled>Y</enabled>
  162. <name>STEP_COPY</name>
  163. </field>
  164. <field>
  165. <id>LINES_READ</id>
  166. <enabled>Y</enabled>
  167. <name>LINES_READ</name>
  168. </field>
  169. <field>
  170. <id>LINES_WRITTEN</id>
  171. <enabled>Y</enabled>
  172. <name>LINES_WRITTEN</name>
  173. </field>
  174. <field>
  175. <id>LINES_UPDATED</id>
  176. <enabled>Y</enabled>
  177. <name>LINES_UPDATED</name>
  178. </field>
  179. <field>
  180. <id>LINES_INPUT</id>
  181. <enabled>Y</enabled>
  182. <name>LINES_INPUT</name>
  183. </field>
  184. <field>
  185. <id>LINES_OUTPUT</id>
  186. <enabled>Y</enabled>
  187. <name>LINES_OUTPUT</name>
  188. </field>
  189. <field>
  190. <id>LINES_REJECTED</id>
  191. <enabled>Y</enabled>
  192. <name>LINES_REJECTED</name>
  193. </field>
  194. <field>
  195. <id>ERRORS</id>
  196. <enabled>Y</enabled>
  197. <name>ERRORS</name>
  198. </field>
  199. <field>
  200. <id>INPUT_BUFFER_ROWS</id>
  201. <enabled>Y</enabled>
  202. <name>INPUT_BUFFER_ROWS</name>
  203. </field>
  204. <field>
  205. <id>OUTPUT_BUFFER_ROWS</id>
  206. <enabled>Y</enabled>
  207. <name>OUTPUT_BUFFER_ROWS</name>
  208. </field>
  209. </perf-log-table>
  210. <channel-log-table>
  211. <connection/>
  212. <schema/>
  213. <table/>
  214. <timeout_days/>
  215. <field>
  216. <id>ID_BATCH</id>
  217. <enabled>Y</enabled>
  218. <name>ID_BATCH</name>
  219. </field>
  220. <field>
  221. <id>CHANNEL_ID</id>
  222. <enabled>Y</enabled>
  223. <name>CHANNEL_ID</name>
  224. </field>
  225. <field>
  226. <id>LOG_DATE</id>
  227. <enabled>Y</enabled>
  228. <name>LOG_DATE</name>
  229. </field>
  230. <field>
  231. <id>LOGGING_OBJECT_TYPE</id>
  232. <enabled>Y</enabled>
  233. <name>LOGGING_OBJECT_TYPE</name>
  234. </field>
  235. <field>
  236. <id>OBJECT_NAME</id>
  237. <enabled>Y</enabled>
  238. <name>OBJECT_NAME</name>
  239. </field>
  240. <field>
  241. <id>OBJECT_COPY</id>
  242. <enabled>Y</enabled>
  243. <name>OBJECT_COPY</name>
  244. </field>
  245. <field>
  246. <id>REPOSITORY_DIRECTORY</id>
  247. <enabled>Y</enabled>
  248. <name>REPOSITORY_DIRECTORY</name>
  249. </field>
  250. <field>
  251. <id>FILENAME</id>
  252. <enabled>Y</enabled>
  253. <name>FILENAME</name>
  254. </field>
  255. <field>
  256. <id>OBJECT_ID</id>
  257. <enabled>Y</enabled>
  258. <name>OBJECT_ID</name>
  259. </field>
  260. <field>
  261. <id>OBJECT_REVISION</id>
  262. <enabled>Y</enabled>
  263. <name>OBJECT_REVISION</name>
  264. </field>
  265. <field>
  266. <id>PARENT_CHANNEL_ID</id>
  267. <enabled>Y</enabled>
  268. <name>PARENT_CHANNEL_ID</name>
  269. </field>
  270. <field>
  271. <id>ROOT_CHANNEL_ID</id>
  272. <enabled>Y</enabled>
  273. <name>ROOT_CHANNEL_ID</name>
  274. </field>
  275. </channel-log-table>
  276. <step-log-table>
  277. <connection/>
  278. <schema/>
  279. <table/>
  280. <timeout_days/>
  281. <field>
  282. <id>ID_BATCH</id>
  283. <enabled>Y</enabled>
  284. <name>ID_BATCH</name>
  285. </field>
  286. <field>
  287. <id>CHANNEL_ID</id>
  288. <enabled>Y</enabled>
  289. <name>CHANNEL_ID</name>
  290. </field>
  291. <field>
  292. <id>LOG_DATE</id>
  293. <enabled>Y</enabled>
  294. <name>LOG_DATE</name>
  295. </field>
  296. <field>
  297. <id>TRANSNAME</id>
  298. <enabled>Y</enabled>
  299. <name>TRANSNAME</name>
  300. </field>
  301. <field>
  302. <id>STEPNAME</id>
  303. <enabled>Y</enabled>
  304. <name>STEPNAME</name>
  305. </field>
  306. <field>
  307. <id>STEP_COPY</id>
  308. <enabled>Y</enabled>
  309. <name>STEP_COPY</name>
  310. </field>
  311. <field>
  312. <id>LINES_READ</id>
  313. <enabled>Y</enabled>
  314. <name>LINES_READ</name>
  315. </field>
  316. <field>
  317. <id>LINES_WRITTEN</id>
  318. <enabled>Y</enabled>
  319. <name>LINES_WRITTEN</name>
  320. </field>
  321. <field>
  322. <id>LINES_UPDATED</id>
  323. <enabled>Y</enabled>
  324. <name>LINES_UPDATED</name>
  325. </field>
  326. <field>
  327. <id>LINES_INPUT</id>
  328. <enabled>Y</enabled>
  329. <name>LINES_INPUT</name>
  330. </field>
  331. <field>
  332. <id>LINES_OUTPUT</id>
  333. <enabled>Y</enabled>
  334. <name>LINES_OUTPUT</name>
  335. </field>
  336. <field>
  337. <id>LINES_REJECTED</id>
  338. <enabled>Y</enabled>
  339. <name>LINES_REJECTED</name>
  340. </field>
  341. <field>
  342. <id>ERRORS</id>
  343. <enabled>Y</enabled>
  344. <name>ERRORS</name>
  345. </field>
  346. <field>
  347. <id>LOG_FIELD</id>
  348. <enabled>N</enabled>
  349. <name>LOG_FIELD</name>
  350. </field>
  351. </step-log-table>
  352. <metrics-log-table>
  353. <connection/>
  354. <schema/>
  355. <table/>
  356. <timeout_days/>
  357. <field>
  358. <id>ID_BATCH</id>
  359. <enabled>Y</enabled>
  360. <name>ID_BATCH</name>
  361. </field>
  362. <field>
  363. <id>CHANNEL_ID</id>
  364. <enabled>Y</enabled>
  365. <name>CHANNEL_ID</name>
  366. </field>
  367. <field>
  368. <id>LOG_DATE</id>
  369. <enabled>Y</enabled>
  370. <name>LOG_DATE</name>
  371. </field>
  372. <field>
  373. <id>METRICS_DATE</id>
  374. <enabled>Y</enabled>
  375. <name>METRICS_DATE</name>
  376. </field>
  377. <field>
  378. <id>METRICS_CODE</id>
  379. <enabled>Y</enabled>
  380. <name>METRICS_CODE</name>
  381. </field>
  382. <field>
  383. <id>METRICS_DESCRIPTION</id>
  384. <enabled>Y</enabled>
  385. <name>METRICS_DESCRIPTION</name>
  386. </field>
  387. <field>
  388. <id>METRICS_SUBJECT</id>
  389. <enabled>Y</enabled>
  390. <name>METRICS_SUBJECT</name>
  391. </field>
  392. <field>
  393. <id>METRICS_TYPE</id>
  394. <enabled>Y</enabled>
  395. <name>METRICS_TYPE</name>
  396. </field>
  397. <field>
  398. <id>METRICS_VALUE</id>
  399. <enabled>Y</enabled>
  400. <name>METRICS_VALUE</name>
  401. </field>
  402. </metrics-log-table>
  403. </log>
  404. <maxdate>
  405. <connection/>
  406. <table/>
  407. <field/>
  408. <offset>0.0</offset>
  409. <maxdiff>0.0</maxdiff>
  410. </maxdate>
  411. <size_rowset>50000</size_rowset>
  412. <sleep_time_empty>50</sleep_time_empty>
  413. <sleep_time_full>50</sleep_time_full>
  414. <unique_connections>N</unique_connections>
  415. <feedback_shown>Y</feedback_shown>
  416. <feedback_size>50000</feedback_size>
  417. <using_thread_priorities>Y</using_thread_priorities>
  418. <shared_objects_file/>
  419. <capture_step_performance>N</capture_step_performance>
  420. <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  421. <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  422. <dependencies>
  423. </dependencies>
  424. <partitionschemas>
  425. </partitionschemas>
  426. <slaveservers>
  427. </slaveservers>
  428. <clusterschemas>
  429. </clusterschemas>
  430. <created_user>-</created_user>
  431. <created_date>2024/01/04 09:19:54.794</created_date>
  432. <modified_user>-</modified_user>
  433. <modified_date>2024/01/04 09:19:54.794</modified_date>
  434. <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
  435. <is_key_private>N</is_key_private>
  436. </info>
  437. <notepads>
  438. </notepads>
  439. <connection>
  440. <name>MOM</name>
  441. <server>${MOMDB_HOST}</server>
  442. <type>MYSQL</type>
  443. <access>Native</access>
  444. <database>${MOMDB_NAME}</database>
  445. <port>3306</port>
  446. <username>${MOMDB_USER}</username>
  447. <password>${MOMDB_PASSWORD}</password>
  448. <servername/>
  449. <data_tablespace/>
  450. <index_tablespace/>
  451. <attributes>
  452. <attribute>
  453. <code>EXTRA_OPTION_MYSQL.characterEncoding</code>
  454. <attribute>utf-8</attribute>
  455. </attribute>
  456. <attribute>
  457. <code>EXTRA_OPTION_MYSQL.defaultFetchSize</code>
  458. <attribute>5000</attribute>
  459. </attribute>
  460. <attribute>
  461. <code>EXTRA_OPTION_MYSQL.rewriteBatchedStatements</code>
  462. <attribute>true</attribute>
  463. </attribute>
  464. <attribute>
  465. <code>EXTRA_OPTION_MYSQL.useCompression</code>
  466. <attribute>true</attribute>
  467. </attribute>
  468. <attribute>
  469. <code>EXTRA_OPTION_MYSQL.useCursorFetch</code>
  470. <attribute>true</attribute>
  471. </attribute>
  472. <attribute>
  473. <code>EXTRA_OPTION_MYSQL.useServerPrepStmts</code>
  474. <attribute>true</attribute>
  475. </attribute>
  476. <attribute>
  477. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  478. <attribute>N</attribute>
  479. </attribute>
  480. <attribute>
  481. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  482. <attribute>N</attribute>
  483. </attribute>
  484. <attribute>
  485. <code>IS_CLUSTERED</code>
  486. <attribute>N</attribute>
  487. </attribute>
  488. <attribute>
  489. <code>PORT_NUMBER</code>
  490. <attribute>3306</attribute>
  491. </attribute>
  492. <attribute>
  493. <code>PRESERVE_RESERVED_WORD_CASE</code>
  494. <attribute>Y</attribute>
  495. </attribute>
  496. <attribute>
  497. <code>QUOTE_ALL_FIELDS</code>
  498. <attribute>N</attribute>
  499. </attribute>
  500. <attribute>
  501. <code>STREAM_RESULTS</code>
  502. <attribute>N</attribute>
  503. </attribute>
  504. <attribute>
  505. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  506. <attribute>Y</attribute>
  507. </attribute>
  508. <attribute>
  509. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  510. <attribute>Y</attribute>
  511. </attribute>
  512. <attribute>
  513. <code>USE_POOLING</code>
  514. <attribute>N</attribute>
  515. </attribute>
  516. </attributes>
  517. </connection>
  518. <connection>
  519. <name>U8</name>
  520. <server>${U8DB_HOST}</server>
  521. <type>MSSQL</type>
  522. <access>Native</access>
  523. <database>${U8DB_NAME}</database>
  524. <port>1433</port>
  525. <username>${U8DB_USER}</username>
  526. <password>${U8DB_PASSWORD}</password>
  527. <servername/>
  528. <data_tablespace/>
  529. <index_tablespace/>
  530. <attributes>
  531. <attribute>
  532. <code>EXTRA_OPTION_MSSQL.instance</code>
  533. <attribute>dbo</attribute>
  534. </attribute>
  535. <attribute>
  536. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  537. <attribute>N</attribute>
  538. </attribute>
  539. <attribute>
  540. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  541. <attribute>N</attribute>
  542. </attribute>
  543. <attribute>
  544. <code>IS_CLUSTERED</code>
  545. <attribute>N</attribute>
  546. </attribute>
  547. <attribute>
  548. <code>MSSQL_DOUBLE_DECIMAL_SEPARATOR</code>
  549. <attribute>N</attribute>
  550. </attribute>
  551. <attribute>
  552. <code>PORT_NUMBER</code>
  553. <attribute>1433</attribute>
  554. </attribute>
  555. <attribute>
  556. <code>PRESERVE_RESERVED_WORD_CASE</code>
  557. <attribute>Y</attribute>
  558. </attribute>
  559. <attribute>
  560. <code>QUOTE_ALL_FIELDS</code>
  561. <attribute>N</attribute>
  562. </attribute>
  563. <attribute>
  564. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  565. <attribute>Y</attribute>
  566. </attribute>
  567. <attribute>
  568. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  569. <attribute>Y</attribute>
  570. </attribute>
  571. <attribute>
  572. <code>USE_POOLING</code>
  573. <attribute>N</attribute>
  574. </attribute>
  575. </attributes>
  576. </connection>
  577. <order>
  578. <hop>
  579. <from>表输入-U8物料</from>
  580. <to>插入 / 更新</to>
  581. <enabled>Y</enabled>
  582. </hop>
  583. <hop>
  584. <from>插入 / 更新</from>
  585. <to>表输入-MOM物料分类</to>
  586. <enabled>Y</enabled>
  587. </hop>
  588. <hop>
  589. <from>表输入-MOM物料分类</from>
  590. <to>阻塞数据直到步骤都完成</to>
  591. <enabled>Y</enabled>
  592. </hop>
  593. <hop>
  594. <from>阻塞数据直到步骤都完成</from>
  595. <to>更新</to>
  596. <enabled>Y</enabled>
  597. </hop>
  598. </order>
  599. <step>
  600. <name>插入 / 更新</name>
  601. <type>InsertUpdate</type>
  602. <description/>
  603. <distribute>Y</distribute>
  604. <custom_distribution/>
  605. <copies>1</copies>
  606. <partitioning>
  607. <method>none</method>
  608. <schema_name/>
  609. </partitioning>
  610. <connection>MOM</connection>
  611. <commit>1000</commit>
  612. <update_bypassed>N</update_bypassed>
  613. <lookup>
  614. <schema/>
  615. <table>base_material</table>
  616. <key>
  617. <name>material_code</name>
  618. <field>material_code</field>
  619. <condition>=</condition>
  620. <name2/>
  621. </key>
  622. <value>
  623. <name>update_by</name>
  624. <rename>sync_name</rename>
  625. <update>Y</update>
  626. </value>
  627. <value>
  628. <name>update_time</name>
  629. <rename>sync_time</rename>
  630. <update>Y</update>
  631. </value>
  632. <value>
  633. <name>material_code</name>
  634. <rename>material_code</rename>
  635. <update>N</update>
  636. </value>
  637. <value>
  638. <name>material_name</name>
  639. <rename>material_name</rename>
  640. <update>Y</update>
  641. </value>
  642. <value>
  643. <name>material_specification</name>
  644. <rename>material_specification</rename>
  645. <update>Y</update>
  646. </value>
  647. <value>
  648. <name>material_class_id</name>
  649. <rename>material_class_id</rename>
  650. <update>Y</update>
  651. </value>
  652. <value>
  653. <name>material_class_code</name>
  654. <rename>material_class_code</rename>
  655. <update>Y</update>
  656. </value>
  657. <value>
  658. <name>unit_code</name>
  659. <rename>unit_code</rename>
  660. <update>Y</update>
  661. </value>
  662. <value>
  663. <name>collect_type</name>
  664. <rename>collect_type</rename>
  665. <update>Y</update>
  666. </value>
  667. <value>
  668. <name>quality_day</name>
  669. <rename>quality_day</rename>
  670. <update>Y</update>
  671. </value>
  672. <value>
  673. <name>excess_ratio_in</name>
  674. <rename>excess_ratio_in</rename>
  675. <update>Y</update>
  676. </value>
  677. <value>
  678. <name>excess_ratio_out</name>
  679. <rename>excess_ratio_out</rename>
  680. <update>Y</update>
  681. </value>
  682. <value>
  683. <name>inactive_time</name>
  684. <rename>inactive_time</rename>
  685. <update>Y</update>
  686. </value>
  687. <value>
  688. <name>status</name>
  689. <rename>status</rename>
  690. <update>Y</update>
  691. </value>
  692. <value>
  693. <name>extend_code01</name>
  694. <rename>extend_code01</rename>
  695. <update>Y</update>
  696. </value>
  697. <value>
  698. <name>extend_code02</name>
  699. <rename>extend_code02</rename>
  700. <update>Y</update>
  701. </value>
  702. <value>
  703. <name>warehouse_code_in</name>
  704. <rename>warehouse_code_in</rename>
  705. <update>Y</update>
  706. </value>
  707. <value>
  708. <name>create_by</name>
  709. <rename>sync_name</rename>
  710. <update>N</update>
  711. </value>
  712. <value>
  713. <name>create_id</name>
  714. <rename>sync_id</rename>
  715. <update>N</update>
  716. </value>
  717. <value>
  718. <name>create_time</name>
  719. <rename>sync_time</rename>
  720. <update>N</update>
  721. </value>
  722. </lookup>
  723. <attributes/>
  724. <cluster_schema/>
  725. <remotesteps>
  726. <input>
  727. </input>
  728. <output>
  729. </output>
  730. </remotesteps>
  731. <GUI>
  732. <xloc>224</xloc>
  733. <yloc>64</yloc>
  734. <draw>Y</draw>
  735. </GUI>
  736. </step>
  737. <step>
  738. <name>更新</name>
  739. <type>Update</type>
  740. <description/>
  741. <distribute>Y</distribute>
  742. <custom_distribution/>
  743. <copies>1</copies>
  744. <partitioning>
  745. <method>none</method>
  746. <schema_name/>
  747. </partitioning>
  748. <connection>MOM</connection>
  749. <skip_lookup>N</skip_lookup>
  750. <commit>1000</commit>
  751. <use_batch>Y</use_batch>
  752. <error_ignored>Y</error_ignored>
  753. <ignore_flag_field/>
  754. <lookup>
  755. <schema/>
  756. <table>base_material</table>
  757. <key>
  758. <name>class_code</name>
  759. <field>material_class_code</field>
  760. <condition>=</condition>
  761. <name2/>
  762. </key>
  763. <value>
  764. <name>material_class_id</name>
  765. <rename>class_id</rename>
  766. </value>
  767. </lookup>
  768. <attributes/>
  769. <cluster_schema/>
  770. <remotesteps>
  771. <input>
  772. </input>
  773. <output>
  774. </output>
  775. </remotesteps>
  776. <GUI>
  777. <xloc>688</xloc>
  778. <yloc>64</yloc>
  779. <draw>Y</draw>
  780. </GUI>
  781. </step>
  782. <step>
  783. <name>表输入-MOM物料分类</name>
  784. <type>TableInput</type>
  785. <description/>
  786. <distribute>Y</distribute>
  787. <custom_distribution/>
  788. <copies>1</copies>
  789. <partitioning>
  790. <method>none</method>
  791. <schema_name/>
  792. </partitioning>
  793. <connection>MOM</connection>
  794. <sql>select id class_id,material_class_code class_code from base_material_class </sql>
  795. <limit>0</limit>
  796. <lookup/>
  797. <execute_each_row>N</execute_each_row>
  798. <variables_active>N</variables_active>
  799. <lazy_conversion_active>N</lazy_conversion_active>
  800. <cached_row_meta_active>N</cached_row_meta_active>
  801. <row-meta>
  802. <value-meta>
  803. <type>String</type>
  804. <storagetype>normal</storagetype>
  805. <name>material_code</name>
  806. <length>60</length>
  807. <precision>-1</precision>
  808. <origin>表输入-U8物料</origin>
  809. <comments>material_code</comments>
  810. <conversion_Mask/>
  811. <decimal_symbol>.</decimal_symbol>
  812. <grouping_symbol>,</grouping_symbol>
  813. <currency_symbol/>
  814. <trim_type>none</trim_type>
  815. <case_insensitive>N</case_insensitive>
  816. <collator_disabled>Y</collator_disabled>
  817. <collator_strength>0</collator_strength>
  818. <sort_descending>N</sort_descending>
  819. <output_padding>N</output_padding>
  820. <date_format_lenient>N</date_format_lenient>
  821. <date_format_locale>zh_CN</date_format_locale>
  822. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  823. <lenient_string_to_number>N</lenient_string_to_number>
  824. </value-meta>
  825. <value-meta>
  826. <type>String</type>
  827. <storagetype>normal</storagetype>
  828. <name>material_name</name>
  829. <length>255</length>
  830. <precision>-1</precision>
  831. <origin>表输入-U8物料</origin>
  832. <comments>material_name</comments>
  833. <conversion_Mask/>
  834. <decimal_symbol>.</decimal_symbol>
  835. <grouping_symbol>,</grouping_symbol>
  836. <currency_symbol/>
  837. <trim_type>none</trim_type>
  838. <case_insensitive>N</case_insensitive>
  839. <collator_disabled>Y</collator_disabled>
  840. <collator_strength>0</collator_strength>
  841. <sort_descending>N</sort_descending>
  842. <output_padding>N</output_padding>
  843. <date_format_lenient>N</date_format_lenient>
  844. <date_format_locale>zh_CN</date_format_locale>
  845. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  846. <lenient_string_to_number>N</lenient_string_to_number>
  847. </value-meta>
  848. <value-meta>
  849. <type>String</type>
  850. <storagetype>normal</storagetype>
  851. <name>material_specification</name>
  852. <length>255</length>
  853. <precision>-1</precision>
  854. <origin>表输入-U8物料</origin>
  855. <comments>material_specification</comments>
  856. <conversion_Mask/>
  857. <decimal_symbol>.</decimal_symbol>
  858. <grouping_symbol>,</grouping_symbol>
  859. <currency_symbol/>
  860. <trim_type>none</trim_type>
  861. <case_insensitive>N</case_insensitive>
  862. <collator_disabled>Y</collator_disabled>
  863. <collator_strength>0</collator_strength>
  864. <sort_descending>N</sort_descending>
  865. <output_padding>N</output_padding>
  866. <date_format_lenient>N</date_format_lenient>
  867. <date_format_locale>zh_CN</date_format_locale>
  868. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  869. <lenient_string_to_number>N</lenient_string_to_number>
  870. </value-meta>
  871. <value-meta>
  872. <type>Integer</type>
  873. <storagetype>normal</storagetype>
  874. <name>material_class_id</name>
  875. <length>9</length>
  876. <precision>0</precision>
  877. <origin>表输入-U8物料</origin>
  878. <comments>material_class_id</comments>
  879. <conversion_Mask>####0;-####0</conversion_Mask>
  880. <decimal_symbol>.</decimal_symbol>
  881. <grouping_symbol>,</grouping_symbol>
  882. <currency_symbol/>
  883. <trim_type>none</trim_type>
  884. <case_insensitive>N</case_insensitive>
  885. <collator_disabled>Y</collator_disabled>
  886. <collator_strength>0</collator_strength>
  887. <sort_descending>N</sort_descending>
  888. <output_padding>N</output_padding>
  889. <date_format_lenient>N</date_format_lenient>
  890. <date_format_locale>zh_CN</date_format_locale>
  891. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  892. <lenient_string_to_number>N</lenient_string_to_number>
  893. </value-meta>
  894. <value-meta>
  895. <type>String</type>
  896. <storagetype>normal</storagetype>
  897. <name>material_class_code</name>
  898. <length>12</length>
  899. <precision>-1</precision>
  900. <origin>表输入-U8物料</origin>
  901. <comments>material_class_code</comments>
  902. <conversion_Mask/>
  903. <decimal_symbol>.</decimal_symbol>
  904. <grouping_symbol>,</grouping_symbol>
  905. <currency_symbol/>
  906. <trim_type>none</trim_type>
  907. <case_insensitive>N</case_insensitive>
  908. <collator_disabled>Y</collator_disabled>
  909. <collator_strength>0</collator_strength>
  910. <sort_descending>N</sort_descending>
  911. <output_padding>N</output_padding>
  912. <date_format_lenient>N</date_format_lenient>
  913. <date_format_locale>zh_CN</date_format_locale>
  914. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  915. <lenient_string_to_number>N</lenient_string_to_number>
  916. </value-meta>
  917. <value-meta>
  918. <type>String</type>
  919. <storagetype>normal</storagetype>
  920. <name>unit_code</name>
  921. <length>35</length>
  922. <precision>-1</precision>
  923. <origin>表输入-U8物料</origin>
  924. <comments>unit_code</comments>
  925. <conversion_Mask/>
  926. <decimal_symbol>.</decimal_symbol>
  927. <grouping_symbol>,</grouping_symbol>
  928. <currency_symbol/>
  929. <trim_type>none</trim_type>
  930. <case_insensitive>N</case_insensitive>
  931. <collator_disabled>Y</collator_disabled>
  932. <collator_strength>0</collator_strength>
  933. <sort_descending>N</sort_descending>
  934. <output_padding>N</output_padding>
  935. <date_format_lenient>N</date_format_lenient>
  936. <date_format_locale>zh_CN</date_format_locale>
  937. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  938. <lenient_string_to_number>N</lenient_string_to_number>
  939. </value-meta>
  940. <value-meta>
  941. <type>Number</type>
  942. <storagetype>normal</storagetype>
  943. <name>max_stock_quantity</name>
  944. <length>15</length>
  945. <precision>-1</precision>
  946. <origin>表输入-U8物料</origin>
  947. <comments>max_stock_quantity</comments>
  948. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  949. <decimal_symbol>.</decimal_symbol>
  950. <grouping_symbol>,</grouping_symbol>
  951. <currency_symbol/>
  952. <trim_type>none</trim_type>
  953. <case_insensitive>N</case_insensitive>
  954. <collator_disabled>Y</collator_disabled>
  955. <collator_strength>0</collator_strength>
  956. <sort_descending>N</sort_descending>
  957. <output_padding>N</output_padding>
  958. <date_format_lenient>N</date_format_lenient>
  959. <date_format_locale>zh_CN</date_format_locale>
  960. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  961. <lenient_string_to_number>N</lenient_string_to_number>
  962. </value-meta>
  963. <value-meta>
  964. <type>Number</type>
  965. <storagetype>normal</storagetype>
  966. <name>min_stock_quantity</name>
  967. <length>15</length>
  968. <precision>-1</precision>
  969. <origin>表输入-U8物料</origin>
  970. <comments>min_stock_quantity</comments>
  971. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  972. <decimal_symbol>.</decimal_symbol>
  973. <grouping_symbol>,</grouping_symbol>
  974. <currency_symbol/>
  975. <trim_type>none</trim_type>
  976. <case_insensitive>N</case_insensitive>
  977. <collator_disabled>Y</collator_disabled>
  978. <collator_strength>0</collator_strength>
  979. <sort_descending>N</sort_descending>
  980. <output_padding>N</output_padding>
  981. <date_format_lenient>N</date_format_lenient>
  982. <date_format_locale>zh_CN</date_format_locale>
  983. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  984. <lenient_string_to_number>N</lenient_string_to_number>
  985. </value-meta>
  986. <value-meta>
  987. <type>Integer</type>
  988. <storagetype>normal</storagetype>
  989. <name>quality_day</name>
  990. <length>9</length>
  991. <precision>0</precision>
  992. <origin>表输入-U8物料</origin>
  993. <comments>quality_day</comments>
  994. <conversion_Mask>####0;-####0</conversion_Mask>
  995. <decimal_symbol>.</decimal_symbol>
  996. <grouping_symbol>,</grouping_symbol>
  997. <currency_symbol/>
  998. <trim_type>none</trim_type>
  999. <case_insensitive>N</case_insensitive>
  1000. <collator_disabled>Y</collator_disabled>
  1001. <collator_strength>0</collator_strength>
  1002. <sort_descending>N</sort_descending>
  1003. <output_padding>N</output_padding>
  1004. <date_format_lenient>N</date_format_lenient>
  1005. <date_format_locale>zh_CN</date_format_locale>
  1006. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1007. <lenient_string_to_number>N</lenient_string_to_number>
  1008. </value-meta>
  1009. <value-meta>
  1010. <type>Number</type>
  1011. <storagetype>normal</storagetype>
  1012. <name>excess_ratio_in</name>
  1013. <length>15</length>
  1014. <precision>-1</precision>
  1015. <origin>表输入-U8物料</origin>
  1016. <comments>excess_ratio_in</comments>
  1017. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1018. <decimal_symbol>.</decimal_symbol>
  1019. <grouping_symbol>,</grouping_symbol>
  1020. <currency_symbol/>
  1021. <trim_type>none</trim_type>
  1022. <case_insensitive>N</case_insensitive>
  1023. <collator_disabled>Y</collator_disabled>
  1024. <collator_strength>0</collator_strength>
  1025. <sort_descending>N</sort_descending>
  1026. <output_padding>N</output_padding>
  1027. <date_format_lenient>N</date_format_lenient>
  1028. <date_format_locale>zh_CN</date_format_locale>
  1029. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1030. <lenient_string_to_number>N</lenient_string_to_number>
  1031. </value-meta>
  1032. <value-meta>
  1033. <type>Number</type>
  1034. <storagetype>normal</storagetype>
  1035. <name>excess_ratio_out</name>
  1036. <length>15</length>
  1037. <precision>-1</precision>
  1038. <origin>表输入-U8物料</origin>
  1039. <comments>excess_ratio_out</comments>
  1040. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1041. <decimal_symbol>.</decimal_symbol>
  1042. <grouping_symbol>,</grouping_symbol>
  1043. <currency_symbol/>
  1044. <trim_type>none</trim_type>
  1045. <case_insensitive>N</case_insensitive>
  1046. <collator_disabled>Y</collator_disabled>
  1047. <collator_strength>0</collator_strength>
  1048. <sort_descending>N</sort_descending>
  1049. <output_padding>N</output_padding>
  1050. <date_format_lenient>N</date_format_lenient>
  1051. <date_format_locale>zh_CN</date_format_locale>
  1052. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1053. <lenient_string_to_number>N</lenient_string_to_number>
  1054. </value-meta>
  1055. <value-meta>
  1056. <type>Timestamp</type>
  1057. <storagetype>normal</storagetype>
  1058. <name>inactive_time</name>
  1059. <length>3</length>
  1060. <precision>-1</precision>
  1061. <origin>表输入-U8物料</origin>
  1062. <comments>inactive_time</comments>
  1063. <conversion_Mask/>
  1064. <decimal_symbol>.</decimal_symbol>
  1065. <grouping_symbol>,</grouping_symbol>
  1066. <currency_symbol/>
  1067. <trim_type>none</trim_type>
  1068. <case_insensitive>N</case_insensitive>
  1069. <collator_disabled>Y</collator_disabled>
  1070. <collator_strength>0</collator_strength>
  1071. <sort_descending>N</sort_descending>
  1072. <output_padding>N</output_padding>
  1073. <date_format_lenient>N</date_format_lenient>
  1074. <date_format_locale>zh_CN</date_format_locale>
  1075. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1076. <lenient_string_to_number>N</lenient_string_to_number>
  1077. </value-meta>
  1078. <value-meta>
  1079. <type>Integer</type>
  1080. <storagetype>normal</storagetype>
  1081. <name>status</name>
  1082. <length>9</length>
  1083. <precision>0</precision>
  1084. <origin>表输入-U8物料</origin>
  1085. <comments>status</comments>
  1086. <conversion_Mask>####0;-####0</conversion_Mask>
  1087. <decimal_symbol>.</decimal_symbol>
  1088. <grouping_symbol>,</grouping_symbol>
  1089. <currency_symbol/>
  1090. <trim_type>none</trim_type>
  1091. <case_insensitive>N</case_insensitive>
  1092. <collator_disabled>Y</collator_disabled>
  1093. <collator_strength>0</collator_strength>
  1094. <sort_descending>N</sort_descending>
  1095. <output_padding>N</output_padding>
  1096. <date_format_lenient>N</date_format_lenient>
  1097. <date_format_locale>zh_CN</date_format_locale>
  1098. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1099. <lenient_string_to_number>N</lenient_string_to_number>
  1100. </value-meta>
  1101. <value-meta>
  1102. <type>String</type>
  1103. <storagetype>normal</storagetype>
  1104. <name>extend_code01</name>
  1105. <length>60</length>
  1106. <precision>-1</precision>
  1107. <origin>表输入-U8物料</origin>
  1108. <comments>extend_code01</comments>
  1109. <conversion_Mask/>
  1110. <decimal_symbol>.</decimal_symbol>
  1111. <grouping_symbol>,</grouping_symbol>
  1112. <currency_symbol/>
  1113. <trim_type>none</trim_type>
  1114. <case_insensitive>N</case_insensitive>
  1115. <collator_disabled>Y</collator_disabled>
  1116. <collator_strength>0</collator_strength>
  1117. <sort_descending>N</sort_descending>
  1118. <output_padding>N</output_padding>
  1119. <date_format_lenient>N</date_format_lenient>
  1120. <date_format_locale>zh_CN</date_format_locale>
  1121. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1122. <lenient_string_to_number>N</lenient_string_to_number>
  1123. </value-meta>
  1124. <value-meta>
  1125. <type>String</type>
  1126. <storagetype>normal</storagetype>
  1127. <name>extend_code02</name>
  1128. <length>120</length>
  1129. <precision>-1</precision>
  1130. <origin>表输入-U8物料</origin>
  1131. <comments>extend_code02</comments>
  1132. <conversion_Mask/>
  1133. <decimal_symbol>.</decimal_symbol>
  1134. <grouping_symbol>,</grouping_symbol>
  1135. <currency_symbol/>
  1136. <trim_type>none</trim_type>
  1137. <case_insensitive>N</case_insensitive>
  1138. <collator_disabled>Y</collator_disabled>
  1139. <collator_strength>0</collator_strength>
  1140. <sort_descending>N</sort_descending>
  1141. <output_padding>N</output_padding>
  1142. <date_format_lenient>N</date_format_lenient>
  1143. <date_format_locale>zh_CN</date_format_locale>
  1144. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1145. <lenient_string_to_number>N</lenient_string_to_number>
  1146. </value-meta>
  1147. <value-meta>
  1148. <type>Number</type>
  1149. <storagetype>normal</storagetype>
  1150. <name>label_standard_quantity</name>
  1151. <length>15</length>
  1152. <precision>-1</precision>
  1153. <origin>表输入-U8物料</origin>
  1154. <comments>label_standard_quantity</comments>
  1155. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1156. <decimal_symbol>.</decimal_symbol>
  1157. <grouping_symbol>,</grouping_symbol>
  1158. <currency_symbol/>
  1159. <trim_type>none</trim_type>
  1160. <case_insensitive>N</case_insensitive>
  1161. <collator_disabled>Y</collator_disabled>
  1162. <collator_strength>0</collator_strength>
  1163. <sort_descending>N</sort_descending>
  1164. <output_padding>N</output_padding>
  1165. <date_format_lenient>N</date_format_lenient>
  1166. <date_format_locale>zh_CN</date_format_locale>
  1167. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1168. <lenient_string_to_number>N</lenient_string_to_number>
  1169. </value-meta>
  1170. <value-meta>
  1171. <type>String</type>
  1172. <storagetype>normal</storagetype>
  1173. <name>warehouse_code_in</name>
  1174. <length>10</length>
  1175. <precision>-1</precision>
  1176. <origin>表输入-U8物料</origin>
  1177. <comments>warehouse_code_in</comments>
  1178. <conversion_Mask/>
  1179. <decimal_symbol>.</decimal_symbol>
  1180. <grouping_symbol>,</grouping_symbol>
  1181. <currency_symbol/>
  1182. <trim_type>none</trim_type>
  1183. <case_insensitive>N</case_insensitive>
  1184. <collator_disabled>Y</collator_disabled>
  1185. <collator_strength>0</collator_strength>
  1186. <sort_descending>N</sort_descending>
  1187. <output_padding>N</output_padding>
  1188. <date_format_lenient>N</date_format_lenient>
  1189. <date_format_locale>zh_CN</date_format_locale>
  1190. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1191. <lenient_string_to_number>N</lenient_string_to_number>
  1192. </value-meta>
  1193. <value-meta>
  1194. <type>String</type>
  1195. <storagetype>normal</storagetype>
  1196. <name>sync_name</name>
  1197. <length>6</length>
  1198. <precision>-1</precision>
  1199. <origin>表输入-U8物料</origin>
  1200. <comments>sync_name</comments>
  1201. <conversion_Mask/>
  1202. <decimal_symbol>.</decimal_symbol>
  1203. <grouping_symbol>,</grouping_symbol>
  1204. <currency_symbol/>
  1205. <trim_type>none</trim_type>
  1206. <case_insensitive>N</case_insensitive>
  1207. <collator_disabled>Y</collator_disabled>
  1208. <collator_strength>0</collator_strength>
  1209. <sort_descending>N</sort_descending>
  1210. <output_padding>N</output_padding>
  1211. <date_format_lenient>N</date_format_lenient>
  1212. <date_format_locale>zh_CN</date_format_locale>
  1213. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1214. <lenient_string_to_number>N</lenient_string_to_number>
  1215. </value-meta>
  1216. <value-meta>
  1217. <type>Integer</type>
  1218. <storagetype>normal</storagetype>
  1219. <name>sync_id</name>
  1220. <length>9</length>
  1221. <precision>0</precision>
  1222. <origin>表输入-U8物料</origin>
  1223. <comments>sync_id</comments>
  1224. <conversion_Mask>####0;-####0</conversion_Mask>
  1225. <decimal_symbol>.</decimal_symbol>
  1226. <grouping_symbol>,</grouping_symbol>
  1227. <currency_symbol/>
  1228. <trim_type>none</trim_type>
  1229. <case_insensitive>N</case_insensitive>
  1230. <collator_disabled>Y</collator_disabled>
  1231. <collator_strength>0</collator_strength>
  1232. <sort_descending>N</sort_descending>
  1233. <output_padding>N</output_padding>
  1234. <date_format_lenient>N</date_format_lenient>
  1235. <date_format_locale>zh_CN</date_format_locale>
  1236. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1237. <lenient_string_to_number>N</lenient_string_to_number>
  1238. </value-meta>
  1239. <value-meta>
  1240. <type>Timestamp</type>
  1241. <storagetype>normal</storagetype>
  1242. <name>sync_time</name>
  1243. <length>3</length>
  1244. <precision>-1</precision>
  1245. <origin>表输入-U8物料</origin>
  1246. <comments>sync_time</comments>
  1247. <conversion_Mask/>
  1248. <decimal_symbol>.</decimal_symbol>
  1249. <grouping_symbol>,</grouping_symbol>
  1250. <currency_symbol/>
  1251. <trim_type>none</trim_type>
  1252. <case_insensitive>N</case_insensitive>
  1253. <collator_disabled>Y</collator_disabled>
  1254. <collator_strength>0</collator_strength>
  1255. <sort_descending>N</sort_descending>
  1256. <output_padding>N</output_padding>
  1257. <date_format_lenient>N</date_format_lenient>
  1258. <date_format_locale>zh_CN</date_format_locale>
  1259. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1260. <lenient_string_to_number>N</lenient_string_to_number>
  1261. </value-meta>
  1262. <value-meta>
  1263. <type>Integer</type>
  1264. <storagetype>normal</storagetype>
  1265. <name>class_id</name>
  1266. <length>9</length>
  1267. <precision>0</precision>
  1268. <origin>表输入-MOM物料分类</origin>
  1269. <comments>class_id</comments>
  1270. <conversion_Mask>####0;-####0</conversion_Mask>
  1271. <decimal_symbol>.</decimal_symbol>
  1272. <grouping_symbol>,</grouping_symbol>
  1273. <currency_symbol/>
  1274. <trim_type>none</trim_type>
  1275. <case_insensitive>N</case_insensitive>
  1276. <collator_disabled>Y</collator_disabled>
  1277. <collator_strength>0</collator_strength>
  1278. <sort_descending>N</sort_descending>
  1279. <output_padding>N</output_padding>
  1280. <date_format_lenient>N</date_format_lenient>
  1281. <date_format_locale>zh_CN</date_format_locale>
  1282. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1283. <lenient_string_to_number>N</lenient_string_to_number>
  1284. </value-meta>
  1285. <value-meta>
  1286. <type>String</type>
  1287. <storagetype>normal</storagetype>
  1288. <name>class_code</name>
  1289. <length>11</length>
  1290. <precision>-1</precision>
  1291. <origin>表输入-MOM物料分类</origin>
  1292. <comments>class_code</comments>
  1293. <conversion_Mask/>
  1294. <decimal_symbol>.</decimal_symbol>
  1295. <grouping_symbol>,</grouping_symbol>
  1296. <currency_symbol/>
  1297. <trim_type>none</trim_type>
  1298. <case_insensitive>N</case_insensitive>
  1299. <collator_disabled>Y</collator_disabled>
  1300. <collator_strength>0</collator_strength>
  1301. <sort_descending>N</sort_descending>
  1302. <output_padding>N</output_padding>
  1303. <date_format_lenient>N</date_format_lenient>
  1304. <date_format_locale>zh_CN</date_format_locale>
  1305. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1306. <lenient_string_to_number>N</lenient_string_to_number>
  1307. </value-meta>
  1308. </row-meta>
  1309. <attributes/>
  1310. <cluster_schema/>
  1311. <remotesteps>
  1312. <input>
  1313. </input>
  1314. <output>
  1315. </output>
  1316. </remotesteps>
  1317. <GUI>
  1318. <xloc>384</xloc>
  1319. <yloc>64</yloc>
  1320. <draw>Y</draw>
  1321. </GUI>
  1322. </step>
  1323. <step>
  1324. <name>表输入-U8物料</name>
  1325. <type>TableInput</type>
  1326. <description/>
  1327. <distribute>Y</distribute>
  1328. <custom_distribution/>
  1329. <copies>1</copies>
  1330. <partitioning>
  1331. <method>none</method>
  1332. <schema_name/>
  1333. </partitioning>
  1334. <connection>U8</connection>
  1335. <sql>DECLARE @USER_NAME VARCHAR(50),@USER_ID INT
  1336. SET @USER_NAME = CASE '${USER_NAME}' WHEN '' THEN '管理员(kettle)' ELSE '${USER_NAME}' END
  1337. SET @USER_ID = CASE 0${USER_ID} WHEN 0 THEN 1 ELSE 0${USER_ID} END
  1338. SELECT
  1339. T1.cInvCode AS material_code
  1340. ,T1.cInvName AS material_name
  1341. ,T1.cInvStd AS material_specification
  1342. ,NULL AS material_class_id
  1343. ,T1.cInvCCode AS material_class_code
  1344. ,T1.cComUnitCode AS unit_code
  1345. --,T1.cInvDefine13 AS secondary_rate
  1346. --,T1.cSTComUnitCode AS secondary_unit_code
  1347. --,T1.iTopSum AS max_stock_quantity
  1348. --,T1.iLowSum AS min_stock_quantity
  1349. ,T1.cInvDefine11 AS quality_day
  1350. ,T1.fInExcess*100 AS excess_ratio_in
  1351. ,T1.fOutExcess*100 AS excess_ratio_out
  1352. ,CASE T1.iSupplyType WHEN 1 THEN 2 ELSE 1 END AS collect_type --1直接、2倒冲
  1353. ,T1.dEDate AS inactive_time
  1354. ,CASE ISNULL(T1.dEDate,'') WHEN '' THEN 0 ELSE 1 END AS status
  1355. ,T1.cInvDefine4 AS extend_code01
  1356. ,T1.cInvDefine7 AS extend_code02
  1357. --,T1.cInvDefine13 AS label_standard_quantity
  1358. ,T1.cDefWareHouse AS warehouse_code_in
  1359. ,@USER_NAME AS sync_name
  1360. ,@USER_ID AS sync_id
  1361. ,GETDATE() AS sync_time
  1362. FROM Inventory T1
  1363. LEFT JOIN ComputationUnit T2 ON T1.cSTComUnitCode =T2.cComUnitCode
  1364. --WHERE T1.cInvCode &lt;='02070368'
  1365. --WHERE T1.cInvCode >'02070368' AND T1.cInvCode &lt;='1205070057'
  1366. --WHERE T1.cInvCode >'1205070057' AND T1.cInvCode &lt;='1212020289'
  1367. --WHERE T1.cInvCode >'1212020289'
  1368. </sql>
  1369. <limit>0</limit>
  1370. <lookup/>
  1371. <execute_each_row>N</execute_each_row>
  1372. <variables_active>Y</variables_active>
  1373. <lazy_conversion_active>N</lazy_conversion_active>
  1374. <cached_row_meta_active>N</cached_row_meta_active>
  1375. <row-meta>
  1376. <value-meta>
  1377. <type>String</type>
  1378. <storagetype>normal</storagetype>
  1379. <name>material_code</name>
  1380. <length>60</length>
  1381. <precision>-1</precision>
  1382. <origin>表输入-U8物料</origin>
  1383. <comments>material_code</comments>
  1384. <conversion_Mask/>
  1385. <decimal_symbol>.</decimal_symbol>
  1386. <grouping_symbol>,</grouping_symbol>
  1387. <currency_symbol/>
  1388. <trim_type>none</trim_type>
  1389. <case_insensitive>N</case_insensitive>
  1390. <collator_disabled>Y</collator_disabled>
  1391. <collator_strength>0</collator_strength>
  1392. <sort_descending>N</sort_descending>
  1393. <output_padding>N</output_padding>
  1394. <date_format_lenient>N</date_format_lenient>
  1395. <date_format_locale>zh_CN</date_format_locale>
  1396. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1397. <lenient_string_to_number>N</lenient_string_to_number>
  1398. </value-meta>
  1399. <value-meta>
  1400. <type>String</type>
  1401. <storagetype>normal</storagetype>
  1402. <name>material_name</name>
  1403. <length>255</length>
  1404. <precision>-1</precision>
  1405. <origin>表输入-U8物料</origin>
  1406. <comments>material_name</comments>
  1407. <conversion_Mask/>
  1408. <decimal_symbol>.</decimal_symbol>
  1409. <grouping_symbol>,</grouping_symbol>
  1410. <currency_symbol/>
  1411. <trim_type>none</trim_type>
  1412. <case_insensitive>N</case_insensitive>
  1413. <collator_disabled>Y</collator_disabled>
  1414. <collator_strength>0</collator_strength>
  1415. <sort_descending>N</sort_descending>
  1416. <output_padding>N</output_padding>
  1417. <date_format_lenient>N</date_format_lenient>
  1418. <date_format_locale>zh_CN</date_format_locale>
  1419. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1420. <lenient_string_to_number>N</lenient_string_to_number>
  1421. </value-meta>
  1422. <value-meta>
  1423. <type>String</type>
  1424. <storagetype>normal</storagetype>
  1425. <name>material_specification</name>
  1426. <length>255</length>
  1427. <precision>-1</precision>
  1428. <origin>表输入-U8物料</origin>
  1429. <comments>material_specification</comments>
  1430. <conversion_Mask/>
  1431. <decimal_symbol>.</decimal_symbol>
  1432. <grouping_symbol>,</grouping_symbol>
  1433. <currency_symbol/>
  1434. <trim_type>none</trim_type>
  1435. <case_insensitive>N</case_insensitive>
  1436. <collator_disabled>Y</collator_disabled>
  1437. <collator_strength>0</collator_strength>
  1438. <sort_descending>N</sort_descending>
  1439. <output_padding>N</output_padding>
  1440. <date_format_lenient>N</date_format_lenient>
  1441. <date_format_locale>zh_CN</date_format_locale>
  1442. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1443. <lenient_string_to_number>N</lenient_string_to_number>
  1444. </value-meta>
  1445. <value-meta>
  1446. <type>Integer</type>
  1447. <storagetype>normal</storagetype>
  1448. <name>material_class_id</name>
  1449. <length>9</length>
  1450. <precision>0</precision>
  1451. <origin>表输入-U8物料</origin>
  1452. <comments>material_class_id</comments>
  1453. <conversion_Mask>####0;-####0</conversion_Mask>
  1454. <decimal_symbol>.</decimal_symbol>
  1455. <grouping_symbol>,</grouping_symbol>
  1456. <currency_symbol/>
  1457. <trim_type>none</trim_type>
  1458. <case_insensitive>N</case_insensitive>
  1459. <collator_disabled>Y</collator_disabled>
  1460. <collator_strength>0</collator_strength>
  1461. <sort_descending>N</sort_descending>
  1462. <output_padding>N</output_padding>
  1463. <date_format_lenient>N</date_format_lenient>
  1464. <date_format_locale>zh_CN</date_format_locale>
  1465. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1466. <lenient_string_to_number>N</lenient_string_to_number>
  1467. </value-meta>
  1468. <value-meta>
  1469. <type>String</type>
  1470. <storagetype>normal</storagetype>
  1471. <name>material_class_code</name>
  1472. <length>12</length>
  1473. <precision>-1</precision>
  1474. <origin>表输入-U8物料</origin>
  1475. <comments>material_class_code</comments>
  1476. <conversion_Mask/>
  1477. <decimal_symbol>.</decimal_symbol>
  1478. <grouping_symbol>,</grouping_symbol>
  1479. <currency_symbol/>
  1480. <trim_type>none</trim_type>
  1481. <case_insensitive>N</case_insensitive>
  1482. <collator_disabled>Y</collator_disabled>
  1483. <collator_strength>0</collator_strength>
  1484. <sort_descending>N</sort_descending>
  1485. <output_padding>N</output_padding>
  1486. <date_format_lenient>N</date_format_lenient>
  1487. <date_format_locale>zh_CN</date_format_locale>
  1488. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1489. <lenient_string_to_number>N</lenient_string_to_number>
  1490. </value-meta>
  1491. <value-meta>
  1492. <type>String</type>
  1493. <storagetype>normal</storagetype>
  1494. <name>unit_code</name>
  1495. <length>35</length>
  1496. <precision>-1</precision>
  1497. <origin>表输入-U8物料</origin>
  1498. <comments>unit_code</comments>
  1499. <conversion_Mask/>
  1500. <decimal_symbol>.</decimal_symbol>
  1501. <grouping_symbol>,</grouping_symbol>
  1502. <currency_symbol/>
  1503. <trim_type>none</trim_type>
  1504. <case_insensitive>N</case_insensitive>
  1505. <collator_disabled>Y</collator_disabled>
  1506. <collator_strength>0</collator_strength>
  1507. <sort_descending>N</sort_descending>
  1508. <output_padding>N</output_padding>
  1509. <date_format_lenient>N</date_format_lenient>
  1510. <date_format_locale>zh_CN</date_format_locale>
  1511. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1512. <lenient_string_to_number>N</lenient_string_to_number>
  1513. </value-meta>
  1514. <value-meta>
  1515. <type>Number</type>
  1516. <storagetype>normal</storagetype>
  1517. <name>secondary_rate</name>
  1518. <length>15</length>
  1519. <precision>-1</precision>
  1520. <origin>表输入-U8物料</origin>
  1521. <comments>secondary_rate</comments>
  1522. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1523. <decimal_symbol>.</decimal_symbol>
  1524. <grouping_symbol>,</grouping_symbol>
  1525. <currency_symbol/>
  1526. <trim_type>none</trim_type>
  1527. <case_insensitive>N</case_insensitive>
  1528. <collator_disabled>Y</collator_disabled>
  1529. <collator_strength>0</collator_strength>
  1530. <sort_descending>N</sort_descending>
  1531. <output_padding>N</output_padding>
  1532. <date_format_lenient>N</date_format_lenient>
  1533. <date_format_locale>zh_CN</date_format_locale>
  1534. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1535. <lenient_string_to_number>N</lenient_string_to_number>
  1536. </value-meta>
  1537. <value-meta>
  1538. <type>String</type>
  1539. <storagetype>normal</storagetype>
  1540. <name>secondary_unit_code</name>
  1541. <length>35</length>
  1542. <precision>-1</precision>
  1543. <origin>表输入-U8物料</origin>
  1544. <comments>secondary_unit_code</comments>
  1545. <conversion_Mask/>
  1546. <decimal_symbol>.</decimal_symbol>
  1547. <grouping_symbol>,</grouping_symbol>
  1548. <currency_symbol/>
  1549. <trim_type>none</trim_type>
  1550. <case_insensitive>N</case_insensitive>
  1551. <collator_disabled>Y</collator_disabled>
  1552. <collator_strength>0</collator_strength>
  1553. <sort_descending>N</sort_descending>
  1554. <output_padding>N</output_padding>
  1555. <date_format_lenient>N</date_format_lenient>
  1556. <date_format_locale>zh_CN</date_format_locale>
  1557. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1558. <lenient_string_to_number>N</lenient_string_to_number>
  1559. </value-meta>
  1560. <value-meta>
  1561. <type>Number</type>
  1562. <storagetype>normal</storagetype>
  1563. <name>max_stock_quantity</name>
  1564. <length>15</length>
  1565. <precision>-1</precision>
  1566. <origin>表输入-U8物料</origin>
  1567. <comments>max_stock_quantity</comments>
  1568. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1569. <decimal_symbol>.</decimal_symbol>
  1570. <grouping_symbol>,</grouping_symbol>
  1571. <currency_symbol/>
  1572. <trim_type>none</trim_type>
  1573. <case_insensitive>N</case_insensitive>
  1574. <collator_disabled>Y</collator_disabled>
  1575. <collator_strength>0</collator_strength>
  1576. <sort_descending>N</sort_descending>
  1577. <output_padding>N</output_padding>
  1578. <date_format_lenient>N</date_format_lenient>
  1579. <date_format_locale>zh_CN</date_format_locale>
  1580. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1581. <lenient_string_to_number>N</lenient_string_to_number>
  1582. </value-meta>
  1583. <value-meta>
  1584. <type>Number</type>
  1585. <storagetype>normal</storagetype>
  1586. <name>min_stock_quantity</name>
  1587. <length>15</length>
  1588. <precision>-1</precision>
  1589. <origin>表输入-U8物料</origin>
  1590. <comments>min_stock_quantity</comments>
  1591. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1592. <decimal_symbol>.</decimal_symbol>
  1593. <grouping_symbol>,</grouping_symbol>
  1594. <currency_symbol/>
  1595. <trim_type>none</trim_type>
  1596. <case_insensitive>N</case_insensitive>
  1597. <collator_disabled>Y</collator_disabled>
  1598. <collator_strength>0</collator_strength>
  1599. <sort_descending>N</sort_descending>
  1600. <output_padding>N</output_padding>
  1601. <date_format_lenient>N</date_format_lenient>
  1602. <date_format_locale>zh_CN</date_format_locale>
  1603. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1604. <lenient_string_to_number>N</lenient_string_to_number>
  1605. </value-meta>
  1606. <value-meta>
  1607. <type>Integer</type>
  1608. <storagetype>normal</storagetype>
  1609. <name>quality_day</name>
  1610. <length>9</length>
  1611. <precision>0</precision>
  1612. <origin>表输入-U8物料</origin>
  1613. <comments>quality_day</comments>
  1614. <conversion_Mask>####0;-####0</conversion_Mask>
  1615. <decimal_symbol>.</decimal_symbol>
  1616. <grouping_symbol>,</grouping_symbol>
  1617. <currency_symbol/>
  1618. <trim_type>none</trim_type>
  1619. <case_insensitive>N</case_insensitive>
  1620. <collator_disabled>Y</collator_disabled>
  1621. <collator_strength>0</collator_strength>
  1622. <sort_descending>N</sort_descending>
  1623. <output_padding>N</output_padding>
  1624. <date_format_lenient>N</date_format_lenient>
  1625. <date_format_locale>zh_CN</date_format_locale>
  1626. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1627. <lenient_string_to_number>N</lenient_string_to_number>
  1628. </value-meta>
  1629. <value-meta>
  1630. <type>Number</type>
  1631. <storagetype>normal</storagetype>
  1632. <name>excess_ratio_in</name>
  1633. <length>15</length>
  1634. <precision>-1</precision>
  1635. <origin>表输入-U8物料</origin>
  1636. <comments>excess_ratio_in</comments>
  1637. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1638. <decimal_symbol>.</decimal_symbol>
  1639. <grouping_symbol>,</grouping_symbol>
  1640. <currency_symbol/>
  1641. <trim_type>none</trim_type>
  1642. <case_insensitive>N</case_insensitive>
  1643. <collator_disabled>Y</collator_disabled>
  1644. <collator_strength>0</collator_strength>
  1645. <sort_descending>N</sort_descending>
  1646. <output_padding>N</output_padding>
  1647. <date_format_lenient>N</date_format_lenient>
  1648. <date_format_locale>zh_CN</date_format_locale>
  1649. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1650. <lenient_string_to_number>N</lenient_string_to_number>
  1651. </value-meta>
  1652. <value-meta>
  1653. <type>Number</type>
  1654. <storagetype>normal</storagetype>
  1655. <name>excess_ratio_out</name>
  1656. <length>15</length>
  1657. <precision>-1</precision>
  1658. <origin>表输入-U8物料</origin>
  1659. <comments>excess_ratio_out</comments>
  1660. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1661. <decimal_symbol>.</decimal_symbol>
  1662. <grouping_symbol>,</grouping_symbol>
  1663. <currency_symbol/>
  1664. <trim_type>none</trim_type>
  1665. <case_insensitive>N</case_insensitive>
  1666. <collator_disabled>Y</collator_disabled>
  1667. <collator_strength>0</collator_strength>
  1668. <sort_descending>N</sort_descending>
  1669. <output_padding>N</output_padding>
  1670. <date_format_lenient>N</date_format_lenient>
  1671. <date_format_locale>zh_CN</date_format_locale>
  1672. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1673. <lenient_string_to_number>N</lenient_string_to_number>
  1674. </value-meta>
  1675. <value-meta>
  1676. <type>Integer</type>
  1677. <storagetype>normal</storagetype>
  1678. <name>collect_type</name>
  1679. <length>9</length>
  1680. <precision>0</precision>
  1681. <origin>表输入-U8物料</origin>
  1682. <comments>collect_type</comments>
  1683. <conversion_Mask>####0;-####0</conversion_Mask>
  1684. <decimal_symbol>.</decimal_symbol>
  1685. <grouping_symbol>,</grouping_symbol>
  1686. <currency_symbol/>
  1687. <trim_type>none</trim_type>
  1688. <case_insensitive>N</case_insensitive>
  1689. <collator_disabled>Y</collator_disabled>
  1690. <collator_strength>0</collator_strength>
  1691. <sort_descending>N</sort_descending>
  1692. <output_padding>N</output_padding>
  1693. <date_format_lenient>N</date_format_lenient>
  1694. <date_format_locale>zh_CN</date_format_locale>
  1695. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1696. <lenient_string_to_number>N</lenient_string_to_number>
  1697. </value-meta>
  1698. <value-meta>
  1699. <type>Timestamp</type>
  1700. <storagetype>normal</storagetype>
  1701. <name>inactive_time</name>
  1702. <length>3</length>
  1703. <precision>-1</precision>
  1704. <origin>表输入-U8物料</origin>
  1705. <comments>inactive_time</comments>
  1706. <conversion_Mask/>
  1707. <decimal_symbol>.</decimal_symbol>
  1708. <grouping_symbol>,</grouping_symbol>
  1709. <currency_symbol/>
  1710. <trim_type>none</trim_type>
  1711. <case_insensitive>N</case_insensitive>
  1712. <collator_disabled>Y</collator_disabled>
  1713. <collator_strength>0</collator_strength>
  1714. <sort_descending>N</sort_descending>
  1715. <output_padding>N</output_padding>
  1716. <date_format_lenient>N</date_format_lenient>
  1717. <date_format_locale>zh_CN</date_format_locale>
  1718. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1719. <lenient_string_to_number>N</lenient_string_to_number>
  1720. </value-meta>
  1721. <value-meta>
  1722. <type>Integer</type>
  1723. <storagetype>normal</storagetype>
  1724. <name>status</name>
  1725. <length>9</length>
  1726. <precision>0</precision>
  1727. <origin>表输入-U8物料</origin>
  1728. <comments>status</comments>
  1729. <conversion_Mask>####0;-####0</conversion_Mask>
  1730. <decimal_symbol>.</decimal_symbol>
  1731. <grouping_symbol>,</grouping_symbol>
  1732. <currency_symbol/>
  1733. <trim_type>none</trim_type>
  1734. <case_insensitive>N</case_insensitive>
  1735. <collator_disabled>Y</collator_disabled>
  1736. <collator_strength>0</collator_strength>
  1737. <sort_descending>N</sort_descending>
  1738. <output_padding>N</output_padding>
  1739. <date_format_lenient>N</date_format_lenient>
  1740. <date_format_locale>zh_CN</date_format_locale>
  1741. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1742. <lenient_string_to_number>N</lenient_string_to_number>
  1743. </value-meta>
  1744. <value-meta>
  1745. <type>String</type>
  1746. <storagetype>normal</storagetype>
  1747. <name>extend_code01</name>
  1748. <length>60</length>
  1749. <precision>-1</precision>
  1750. <origin>表输入-U8物料</origin>
  1751. <comments>extend_code01</comments>
  1752. <conversion_Mask/>
  1753. <decimal_symbol>.</decimal_symbol>
  1754. <grouping_symbol>,</grouping_symbol>
  1755. <currency_symbol/>
  1756. <trim_type>none</trim_type>
  1757. <case_insensitive>N</case_insensitive>
  1758. <collator_disabled>Y</collator_disabled>
  1759. <collator_strength>0</collator_strength>
  1760. <sort_descending>N</sort_descending>
  1761. <output_padding>N</output_padding>
  1762. <date_format_lenient>N</date_format_lenient>
  1763. <date_format_locale>zh_CN</date_format_locale>
  1764. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1765. <lenient_string_to_number>N</lenient_string_to_number>
  1766. </value-meta>
  1767. <value-meta>
  1768. <type>String</type>
  1769. <storagetype>normal</storagetype>
  1770. <name>extend_code02</name>
  1771. <length>120</length>
  1772. <precision>-1</precision>
  1773. <origin>表输入-U8物料</origin>
  1774. <comments>extend_code02</comments>
  1775. <conversion_Mask/>
  1776. <decimal_symbol>.</decimal_symbol>
  1777. <grouping_symbol>,</grouping_symbol>
  1778. <currency_symbol/>
  1779. <trim_type>none</trim_type>
  1780. <case_insensitive>N</case_insensitive>
  1781. <collator_disabled>Y</collator_disabled>
  1782. <collator_strength>0</collator_strength>
  1783. <sort_descending>N</sort_descending>
  1784. <output_padding>N</output_padding>
  1785. <date_format_lenient>N</date_format_lenient>
  1786. <date_format_locale>zh_CN</date_format_locale>
  1787. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1788. <lenient_string_to_number>N</lenient_string_to_number>
  1789. </value-meta>
  1790. <value-meta>
  1791. <type>Number</type>
  1792. <storagetype>normal</storagetype>
  1793. <name>label_standard_quantity</name>
  1794. <length>15</length>
  1795. <precision>-1</precision>
  1796. <origin>表输入-U8物料</origin>
  1797. <comments>label_standard_quantity</comments>
  1798. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1799. <decimal_symbol>.</decimal_symbol>
  1800. <grouping_symbol>,</grouping_symbol>
  1801. <currency_symbol/>
  1802. <trim_type>none</trim_type>
  1803. <case_insensitive>N</case_insensitive>
  1804. <collator_disabled>Y</collator_disabled>
  1805. <collator_strength>0</collator_strength>
  1806. <sort_descending>N</sort_descending>
  1807. <output_padding>N</output_padding>
  1808. <date_format_lenient>N</date_format_lenient>
  1809. <date_format_locale>zh_CN</date_format_locale>
  1810. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1811. <lenient_string_to_number>N</lenient_string_to_number>
  1812. </value-meta>
  1813. <value-meta>
  1814. <type>String</type>
  1815. <storagetype>normal</storagetype>
  1816. <name>warehouse_code_in</name>
  1817. <length>10</length>
  1818. <precision>-1</precision>
  1819. <origin>表输入-U8物料</origin>
  1820. <comments>warehouse_code_in</comments>
  1821. <conversion_Mask/>
  1822. <decimal_symbol>.</decimal_symbol>
  1823. <grouping_symbol>,</grouping_symbol>
  1824. <currency_symbol/>
  1825. <trim_type>none</trim_type>
  1826. <case_insensitive>N</case_insensitive>
  1827. <collator_disabled>Y</collator_disabled>
  1828. <collator_strength>0</collator_strength>
  1829. <sort_descending>N</sort_descending>
  1830. <output_padding>N</output_padding>
  1831. <date_format_lenient>N</date_format_lenient>
  1832. <date_format_locale>zh_CN</date_format_locale>
  1833. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1834. <lenient_string_to_number>N</lenient_string_to_number>
  1835. </value-meta>
  1836. <value-meta>
  1837. <type>String</type>
  1838. <storagetype>normal</storagetype>
  1839. <name>sync_name</name>
  1840. <length>50</length>
  1841. <precision>-1</precision>
  1842. <origin>表输入-U8物料</origin>
  1843. <comments>sync_name</comments>
  1844. <conversion_Mask/>
  1845. <decimal_symbol>.</decimal_symbol>
  1846. <grouping_symbol>,</grouping_symbol>
  1847. <currency_symbol/>
  1848. <trim_type>none</trim_type>
  1849. <case_insensitive>N</case_insensitive>
  1850. <collator_disabled>Y</collator_disabled>
  1851. <collator_strength>0</collator_strength>
  1852. <sort_descending>N</sort_descending>
  1853. <output_padding>N</output_padding>
  1854. <date_format_lenient>N</date_format_lenient>
  1855. <date_format_locale>zh_CN</date_format_locale>
  1856. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1857. <lenient_string_to_number>N</lenient_string_to_number>
  1858. </value-meta>
  1859. <value-meta>
  1860. <type>Integer</type>
  1861. <storagetype>normal</storagetype>
  1862. <name>sync_id</name>
  1863. <length>9</length>
  1864. <precision>0</precision>
  1865. <origin>表输入-U8物料</origin>
  1866. <comments>sync_id</comments>
  1867. <conversion_Mask>####0;-####0</conversion_Mask>
  1868. <decimal_symbol>.</decimal_symbol>
  1869. <grouping_symbol>,</grouping_symbol>
  1870. <currency_symbol/>
  1871. <trim_type>none</trim_type>
  1872. <case_insensitive>N</case_insensitive>
  1873. <collator_disabled>Y</collator_disabled>
  1874. <collator_strength>0</collator_strength>
  1875. <sort_descending>N</sort_descending>
  1876. <output_padding>N</output_padding>
  1877. <date_format_lenient>N</date_format_lenient>
  1878. <date_format_locale>zh_CN</date_format_locale>
  1879. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1880. <lenient_string_to_number>N</lenient_string_to_number>
  1881. </value-meta>
  1882. <value-meta>
  1883. <type>Timestamp</type>
  1884. <storagetype>normal</storagetype>
  1885. <name>sync_time</name>
  1886. <length>3</length>
  1887. <precision>-1</precision>
  1888. <origin>表输入-U8物料</origin>
  1889. <comments>sync_time</comments>
  1890. <conversion_Mask/>
  1891. <decimal_symbol>.</decimal_symbol>
  1892. <grouping_symbol>,</grouping_symbol>
  1893. <currency_symbol/>
  1894. <trim_type>none</trim_type>
  1895. <case_insensitive>N</case_insensitive>
  1896. <collator_disabled>Y</collator_disabled>
  1897. <collator_strength>0</collator_strength>
  1898. <sort_descending>N</sort_descending>
  1899. <output_padding>N</output_padding>
  1900. <date_format_lenient>N</date_format_lenient>
  1901. <date_format_locale>zh_CN</date_format_locale>
  1902. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1903. <lenient_string_to_number>N</lenient_string_to_number>
  1904. </value-meta>
  1905. </row-meta>
  1906. <attributes/>
  1907. <cluster_schema/>
  1908. <remotesteps>
  1909. <input>
  1910. </input>
  1911. <output>
  1912. </output>
  1913. </remotesteps>
  1914. <GUI>
  1915. <xloc>80</xloc>
  1916. <yloc>64</yloc>
  1917. <draw>Y</draw>
  1918. </GUI>
  1919. </step>
  1920. <step>
  1921. <name>阻塞数据直到步骤都完成</name>
  1922. <type>BlockUntilStepsFinish</type>
  1923. <description/>
  1924. <distribute>Y</distribute>
  1925. <custom_distribution/>
  1926. <copies>1</copies>
  1927. <partitioning>
  1928. <method>none</method>
  1929. <schema_name/>
  1930. </partitioning>
  1931. <steps>
  1932. <step>
  1933. <name>表输入-U8物料</name>
  1934. <CopyNr>0</CopyNr>
  1935. </step>
  1936. <step>
  1937. <name>插入 / 更新</name>
  1938. <CopyNr>0</CopyNr>
  1939. </step>
  1940. <step>
  1941. <name>表输入-MOM物料分类</name>
  1942. <CopyNr>0</CopyNr>
  1943. </step>
  1944. </steps>
  1945. <attributes/>
  1946. <cluster_schema/>
  1947. <remotesteps>
  1948. <input>
  1949. </input>
  1950. <output>
  1951. </output>
  1952. </remotesteps>
  1953. <GUI>
  1954. <xloc>560</xloc>
  1955. <yloc>64</yloc>
  1956. <draw>Y</draw>
  1957. </GUI>
  1958. </step>
  1959. <step_error_handling>
  1960. </step_error_handling>
  1961. <slave-step-copy-partition-distribution>
  1962. </slave-step-copy-partition-distribution>
  1963. <slave_transformation>N</slave_transformation>
  1964. <attributes/>
  1965. </transformation>