物料数据同步.ktr 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494
  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>192.168.1.134</server>
  442. <type>GENERIC</type>
  443. <access>Native</access>
  444. <database>cath_mom_001330</database>
  445. <port>3306</port>
  446. <username>${mysql_username}</username>
  447. <password>${mysql_password}</password>
  448. <servername/>
  449. <data_tablespace/>
  450. <index_tablespace/>
  451. <attributes>
  452. <attribute>
  453. <code>CUSTOM_DRIVER_CLASS</code>
  454. <attribute>${mysql_driverclassname}</attribute>
  455. </attribute>
  456. <attribute>
  457. <code>CUSTOM_URL</code>
  458. <attribute>${mysql_url}</attribute>
  459. </attribute>
  460. <attribute>
  461. <code>DATABASE_DIALECT_ID</code>
  462. <attribute>Generic database</attribute>
  463. </attribute>
  464. <attribute>
  465. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  466. <attribute>N</attribute>
  467. </attribute>
  468. <attribute>
  469. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  470. <attribute>N</attribute>
  471. </attribute>
  472. <attribute>
  473. <code>IS_CLUSTERED</code>
  474. <attribute>N</attribute>
  475. </attribute>
  476. <attribute>
  477. <code>PORT_NUMBER</code>
  478. <attribute>3306</attribute>
  479. </attribute>
  480. <attribute>
  481. <code>PRESERVE_RESERVED_WORD_CASE</code>
  482. <attribute>Y</attribute>
  483. </attribute>
  484. <attribute>
  485. <code>QUOTE_ALL_FIELDS</code>
  486. <attribute>N</attribute>
  487. </attribute>
  488. <attribute>
  489. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  490. <attribute>Y</attribute>
  491. </attribute>
  492. <attribute>
  493. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  494. <attribute>Y</attribute>
  495. </attribute>
  496. <attribute>
  497. <code>USE_POOLING</code>
  498. <attribute>N</attribute>
  499. </attribute>
  500. </attributes>
  501. </connection>
  502. <connection>
  503. <name>U8</name>
  504. <server>192.168.1.102</server>
  505. <type>GENERIC</type>
  506. <access>Native</access>
  507. <database>UFDATA_818_2014</database>
  508. <port>1433</port>
  509. <username>${sqlserver_username}</username>
  510. <password>${sqlserver_password}</password>
  511. <servername/>
  512. <data_tablespace/>
  513. <index_tablespace/>
  514. <attributes>
  515. <attribute>
  516. <code>CUSTOM_DRIVER_CLASS</code>
  517. <attribute>${sqlserver_driverclassname}</attribute>
  518. </attribute>
  519. <attribute>
  520. <code>CUSTOM_URL</code>
  521. <attribute>${sqlserver_url}</attribute>
  522. </attribute>
  523. <attribute>
  524. <code>DATABASE_DIALECT_ID</code>
  525. <attribute>Generic database</attribute>
  526. </attribute>
  527. <attribute>
  528. <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
  529. <attribute>N</attribute>
  530. </attribute>
  531. <attribute>
  532. <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
  533. <attribute>N</attribute>
  534. </attribute>
  535. <attribute>
  536. <code>IS_CLUSTERED</code>
  537. <attribute>N</attribute>
  538. </attribute>
  539. <attribute>
  540. <code>PORT_NUMBER</code>
  541. <attribute>1433</attribute>
  542. </attribute>
  543. <attribute>
  544. <code>PRESERVE_RESERVED_WORD_CASE</code>
  545. <attribute>Y</attribute>
  546. </attribute>
  547. <attribute>
  548. <code>QUOTE_ALL_FIELDS</code>
  549. <attribute>N</attribute>
  550. </attribute>
  551. <attribute>
  552. <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
  553. <attribute>Y</attribute>
  554. </attribute>
  555. <attribute>
  556. <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
  557. <attribute>Y</attribute>
  558. </attribute>
  559. <attribute>
  560. <code>USE_POOLING</code>
  561. <attribute>N</attribute>
  562. </attribute>
  563. </attributes>
  564. </connection>
  565. <order>
  566. <hop>
  567. <from>表输入-U8物料</from>
  568. <to>插入 / 更新</to>
  569. <enabled>Y</enabled>
  570. </hop>
  571. <hop>
  572. <from>获取变量</from>
  573. <to>表输入-U8物料</to>
  574. <enabled>Y</enabled>
  575. </hop>
  576. </order>
  577. <step>
  578. <name>插入 / 更新</name>
  579. <type>InsertUpdate</type>
  580. <description/>
  581. <distribute>Y</distribute>
  582. <custom_distribution/>
  583. <copies>1</copies>
  584. <partitioning>
  585. <method>none</method>
  586. <schema_name/>
  587. </partitioning>
  588. <connection>MOM</connection>
  589. <commit>1000</commit>
  590. <update_bypassed>N</update_bypassed>
  591. <lookup>
  592. <schema/>
  593. <table>base_material</table>
  594. <key>
  595. <name>material_code</name>
  596. <field>material_code</field>
  597. <condition>=</condition>
  598. <name2/>
  599. </key>
  600. <value>
  601. <name>update_by</name>
  602. <rename>sync_name</rename>
  603. <update>Y</update>
  604. </value>
  605. <value>
  606. <name>update_time</name>
  607. <rename>sync_time</rename>
  608. <update>Y</update>
  609. </value>
  610. <value>
  611. <name>material_code</name>
  612. <rename>material_code</rename>
  613. <update>N</update>
  614. </value>
  615. <value>
  616. <name>material_name</name>
  617. <rename>material_name</rename>
  618. <update>Y</update>
  619. </value>
  620. <value>
  621. <name>material_specification</name>
  622. <rename>material_specification</rename>
  623. <update>Y</update>
  624. </value>
  625. <value>
  626. <name>material_class_code</name>
  627. <rename>material_class_code</rename>
  628. <update>Y</update>
  629. </value>
  630. <value>
  631. <name>is_batch</name>
  632. <rename>is_batch</rename>
  633. <update>N</update>
  634. </value>
  635. <value>
  636. <name>unit_code</name>
  637. <rename>unit_code</rename>
  638. <update>Y</update>
  639. </value>
  640. <value>
  641. <name>collect_type</name>
  642. <rename>collect_type</rename>
  643. <update>Y</update>
  644. </value>
  645. <value>
  646. <name>excess_ratio_in</name>
  647. <rename>excess_ratio_in</rename>
  648. <update>Y</update>
  649. </value>
  650. <value>
  651. <name>excess_ratio_out</name>
  652. <rename>excess_ratio_out</rename>
  653. <update>Y</update>
  654. </value>
  655. <value>
  656. <name>inactive_time</name>
  657. <rename>inactive_time</rename>
  658. <update>Y</update>
  659. </value>
  660. <value>
  661. <name>status</name>
  662. <rename>status</rename>
  663. <update>Y</update>
  664. </value>
  665. <value>
  666. <name>extend_code01</name>
  667. <rename>extend_code01</rename>
  668. <update>Y</update>
  669. </value>
  670. <value>
  671. <name>extend_code02</name>
  672. <rename>extend_code02</rename>
  673. <update>Y</update>
  674. </value>
  675. <value>
  676. <name>warehouse_code_in</name>
  677. <rename>warehouse_code_in</rename>
  678. <update>Y</update>
  679. </value>
  680. <value>
  681. <name>create_by</name>
  682. <rename>sync_name</rename>
  683. <update>N</update>
  684. </value>
  685. <value>
  686. <name>create_id</name>
  687. <rename>sync_id</rename>
  688. <update>N</update>
  689. </value>
  690. <value>
  691. <name>create_time</name>
  692. <rename>sync_time</rename>
  693. <update>N</update>
  694. </value>
  695. <value>
  696. <name>warehouse_code_out</name>
  697. <rename>warehouse_code_out</rename>
  698. <update>Y</update>
  699. </value>
  700. <value>
  701. <name>location_code_out</name>
  702. <rename>location_code_out</rename>
  703. <update>Y</update>
  704. </value>
  705. <value>
  706. <name>item_or_product</name>
  707. <rename>item_or_product</rename>
  708. <update>N</update>
  709. </value>
  710. </lookup>
  711. <attributes/>
  712. <cluster_schema/>
  713. <remotesteps>
  714. <input>
  715. </input>
  716. <output>
  717. </output>
  718. </remotesteps>
  719. <GUI>
  720. <xloc>608</xloc>
  721. <yloc>272</yloc>
  722. <draw>Y</draw>
  723. </GUI>
  724. </step>
  725. <step>
  726. <name>获取变量</name>
  727. <type>GetVariable</type>
  728. <description/>
  729. <distribute>Y</distribute>
  730. <custom_distribution/>
  731. <copies>1</copies>
  732. <partitioning>
  733. <method>none</method>
  734. <schema_name/>
  735. </partitioning>
  736. <fields>
  737. <field>
  738. <name>mysql_driverclassname</name>
  739. <variable>${mysql_driverclassname}</variable>
  740. <type>String</type>
  741. <format/>
  742. <currency/>
  743. <decimal/>
  744. <group/>
  745. <length>-1</length>
  746. <precision>-1</precision>
  747. <trim_type>none</trim_type>
  748. </field>
  749. <field>
  750. <name>mysql_password</name>
  751. <variable>${mysql_password}</variable>
  752. <type>String</type>
  753. <format/>
  754. <currency/>
  755. <decimal/>
  756. <group/>
  757. <length>-1</length>
  758. <precision>-1</precision>
  759. <trim_type>none</trim_type>
  760. </field>
  761. <field>
  762. <name>mysql_url</name>
  763. <variable>${mysql_url}</variable>
  764. <type>String</type>
  765. <format/>
  766. <currency/>
  767. <decimal/>
  768. <group/>
  769. <length>-1</length>
  770. <precision>-1</precision>
  771. <trim_type>none</trim_type>
  772. </field>
  773. <field>
  774. <name>mysql_username</name>
  775. <variable>${mysql_username}</variable>
  776. <type>String</type>
  777. <format/>
  778. <currency/>
  779. <decimal/>
  780. <group/>
  781. <length>-1</length>
  782. <precision>-1</precision>
  783. <trim_type>none</trim_type>
  784. </field>
  785. <field>
  786. <name>USER_ID</name>
  787. <variable>${USER_ID}</variable>
  788. <type>String</type>
  789. <format/>
  790. <currency/>
  791. <decimal/>
  792. <group/>
  793. <length>-1</length>
  794. <precision>-1</precision>
  795. <trim_type>none</trim_type>
  796. </field>
  797. <field>
  798. <name>sqlserver_driverclassname</name>
  799. <variable>${sqlserver_driverclassname}</variable>
  800. <type>String</type>
  801. <format/>
  802. <currency/>
  803. <decimal/>
  804. <group/>
  805. <length>-1</length>
  806. <precision>-1</precision>
  807. <trim_type>none</trim_type>
  808. </field>
  809. <field>
  810. <name>sqlserver_password</name>
  811. <variable>${sqlserver_password}</variable>
  812. <type>String</type>
  813. <format/>
  814. <currency/>
  815. <decimal/>
  816. <group/>
  817. <length>-1</length>
  818. <precision>-1</precision>
  819. <trim_type>none</trim_type>
  820. </field>
  821. <field>
  822. <name>sqlserver_url</name>
  823. <variable>${sqlserver_url}</variable>
  824. <type>String</type>
  825. <format/>
  826. <currency/>
  827. <decimal/>
  828. <group/>
  829. <length>-1</length>
  830. <precision>-1</precision>
  831. <trim_type>none</trim_type>
  832. </field>
  833. <field>
  834. <name>sqlserver_username</name>
  835. <variable>${sqlserver_username}</variable>
  836. <type>String</type>
  837. <format/>
  838. <currency/>
  839. <decimal/>
  840. <group/>
  841. <length>-1</length>
  842. <precision>-1</precision>
  843. <trim_type>none</trim_type>
  844. </field>
  845. <field>
  846. <name>USER_NAME</name>
  847. <variable>${USER_NAME}</variable>
  848. <type>String</type>
  849. <format/>
  850. <currency/>
  851. <decimal/>
  852. <group/>
  853. <length>-1</length>
  854. <precision>-1</precision>
  855. <trim_type>none</trim_type>
  856. </field>
  857. </fields>
  858. <attributes/>
  859. <cluster_schema/>
  860. <remotesteps>
  861. <input>
  862. </input>
  863. <output>
  864. </output>
  865. </remotesteps>
  866. <GUI>
  867. <xloc>80</xloc>
  868. <yloc>272</yloc>
  869. <draw>Y</draw>
  870. </GUI>
  871. </step>
  872. <step>
  873. <name>表输入-U8物料</name>
  874. <type>TableInput</type>
  875. <description/>
  876. <distribute>N</distribute>
  877. <custom_distribution/>
  878. <copies>1</copies>
  879. <partitioning>
  880. <method>none</method>
  881. <schema_name/>
  882. </partitioning>
  883. <connection>U8</connection>
  884. <sql>DECLARE @USER_NAME VARCHAR(50),@USER_ID INT
  885. SET @USER_NAME = CASE '${USER_NAME}' WHEN '' THEN '管理员(kettle)' ELSE '${USER_NAME}' END
  886. SET @USER_ID = CASE 0${USER_ID} WHEN 0 THEN 1 ELSE 0${USER_ID} END
  887. SELECT
  888. T1.cInvCode AS material_code
  889. ,T1.cInvName AS material_name
  890. ,T1.cInvStd AS material_specification
  891. ,T1.cInvCCode AS material_class_code
  892. ,T1.cComUnitCode AS unit_code
  893. --,T1.cInvDefine13 AS secondary_rate
  894. --,T1.cSTComUnitCode AS secondary_unit_code
  895. --,T1.iTopSum AS max_stock_quantity
  896. --,T1.iLowSum AS min_stock_quantity
  897. ,T1.cInvDefine11 AS quality_day
  898. ,T1.fInExcess*100 AS excess_ratio_in
  899. ,T1.fOutExcess*100 AS excess_ratio_out
  900. ,CASE T1.iSupplyType WHEN 1 THEN 2 ELSE 1 END AS collect_type --1直接、2倒冲
  901. --,CASE T1.bInvBatch WHEN 1 THEN 0 WHEN 0 THEN 1 ELSE 0 END AS is_batch
  902. ,CASE WHEN T1.bInvBatch =0 OR T1.cDefWareHouse ='03' THEN 1 WHEN T1.bInvBatch =1 THEN 0 ELSE 0 END AS is_batch
  903. ,T1.dEDate AS inactive_time
  904. ,CASE ISNULL(T1.dEDate,'') WHEN '' THEN 0 ELSE 1 END AS status
  905. ,T1.cInvDefine4 AS extend_code01
  906. ,T1.cInvDefine7 AS extend_code02
  907. --,T1.cInvDefine13 AS label_standard_quantity
  908. ,T1.cDefWareHouse AS warehouse_code_in
  909. ,CASE T1.iSupplyType WHEN 1 THEN '03' ELSE '' END AS warehouse_code_out
  910. ,CASE T1.iSupplyType WHEN 1 THEN'03-XB-1' ELSE '' END AS location_code_out
  911. ,@USER_NAME AS sync_name
  912. ,@USER_ID AS sync_id
  913. ,GETDATE() AS sync_time
  914. ,CASE T1.bSelf WHEN 1 THEN 'PRODUCT' ELSE 'ITEM' END AS item_or_product
  915. FROM Inventory T1
  916. LEFT JOIN ComputationUnit T2 ON T1.cSTComUnitCode =T2.cComUnitCode
  917. --WHERE T1.cInvCode &lt;='02070368'
  918. --WHERE T1.cInvCode >'02070368' AND T1.cInvCode &lt;='1205070057'
  919. --WHERE T1.cInvCode >'1205070057' AND T1.cInvCode &lt;='1212020289'
  920. --WHERE T1.cInvCode >'1212020289'
  921. </sql>
  922. <limit>0</limit>
  923. <lookup/>
  924. <execute_each_row>N</execute_each_row>
  925. <variables_active>Y</variables_active>
  926. <lazy_conversion_active>N</lazy_conversion_active>
  927. <cached_row_meta_active>N</cached_row_meta_active>
  928. <row-meta>
  929. <value-meta>
  930. <type>String</type>
  931. <storagetype>normal</storagetype>
  932. <name>material_code</name>
  933. <length>60</length>
  934. <precision>-1</precision>
  935. <origin>表输入-U8物料</origin>
  936. <comments>material_code</comments>
  937. <conversion_Mask/>
  938. <decimal_symbol>.</decimal_symbol>
  939. <grouping_symbol>,</grouping_symbol>
  940. <currency_symbol/>
  941. <trim_type>none</trim_type>
  942. <case_insensitive>N</case_insensitive>
  943. <collator_disabled>Y</collator_disabled>
  944. <collator_strength>0</collator_strength>
  945. <sort_descending>N</sort_descending>
  946. <output_padding>N</output_padding>
  947. <date_format_lenient>N</date_format_lenient>
  948. <date_format_locale>zh_CN</date_format_locale>
  949. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  950. <lenient_string_to_number>N</lenient_string_to_number>
  951. </value-meta>
  952. <value-meta>
  953. <type>String</type>
  954. <storagetype>normal</storagetype>
  955. <name>material_name</name>
  956. <length>255</length>
  957. <precision>-1</precision>
  958. <origin>表输入-U8物料</origin>
  959. <comments>material_name</comments>
  960. <conversion_Mask/>
  961. <decimal_symbol>.</decimal_symbol>
  962. <grouping_symbol>,</grouping_symbol>
  963. <currency_symbol/>
  964. <trim_type>none</trim_type>
  965. <case_insensitive>N</case_insensitive>
  966. <collator_disabled>Y</collator_disabled>
  967. <collator_strength>0</collator_strength>
  968. <sort_descending>N</sort_descending>
  969. <output_padding>N</output_padding>
  970. <date_format_lenient>N</date_format_lenient>
  971. <date_format_locale>zh_CN</date_format_locale>
  972. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  973. <lenient_string_to_number>N</lenient_string_to_number>
  974. </value-meta>
  975. <value-meta>
  976. <type>String</type>
  977. <storagetype>normal</storagetype>
  978. <name>material_specification</name>
  979. <length>255</length>
  980. <precision>-1</precision>
  981. <origin>表输入-U8物料</origin>
  982. <comments>material_specification</comments>
  983. <conversion_Mask/>
  984. <decimal_symbol>.</decimal_symbol>
  985. <grouping_symbol>,</grouping_symbol>
  986. <currency_symbol/>
  987. <trim_type>none</trim_type>
  988. <case_insensitive>N</case_insensitive>
  989. <collator_disabled>Y</collator_disabled>
  990. <collator_strength>0</collator_strength>
  991. <sort_descending>N</sort_descending>
  992. <output_padding>N</output_padding>
  993. <date_format_lenient>N</date_format_lenient>
  994. <date_format_locale>zh_CN</date_format_locale>
  995. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  996. <lenient_string_to_number>N</lenient_string_to_number>
  997. </value-meta>
  998. <value-meta>
  999. <type>Integer</type>
  1000. <storagetype>normal</storagetype>
  1001. <name>material_class_id</name>
  1002. <length>9</length>
  1003. <precision>0</precision>
  1004. <origin>表输入-U8物料</origin>
  1005. <comments>material_class_id</comments>
  1006. <conversion_Mask>####0;-####0</conversion_Mask>
  1007. <decimal_symbol>.</decimal_symbol>
  1008. <grouping_symbol>,</grouping_symbol>
  1009. <currency_symbol/>
  1010. <trim_type>none</trim_type>
  1011. <case_insensitive>N</case_insensitive>
  1012. <collator_disabled>Y</collator_disabled>
  1013. <collator_strength>0</collator_strength>
  1014. <sort_descending>N</sort_descending>
  1015. <output_padding>N</output_padding>
  1016. <date_format_lenient>N</date_format_lenient>
  1017. <date_format_locale>zh_CN</date_format_locale>
  1018. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1019. <lenient_string_to_number>N</lenient_string_to_number>
  1020. </value-meta>
  1021. <value-meta>
  1022. <type>String</type>
  1023. <storagetype>normal</storagetype>
  1024. <name>material_class_code</name>
  1025. <length>12</length>
  1026. <precision>-1</precision>
  1027. <origin>表输入-U8物料</origin>
  1028. <comments>material_class_code</comments>
  1029. <conversion_Mask/>
  1030. <decimal_symbol>.</decimal_symbol>
  1031. <grouping_symbol>,</grouping_symbol>
  1032. <currency_symbol/>
  1033. <trim_type>none</trim_type>
  1034. <case_insensitive>N</case_insensitive>
  1035. <collator_disabled>Y</collator_disabled>
  1036. <collator_strength>0</collator_strength>
  1037. <sort_descending>N</sort_descending>
  1038. <output_padding>N</output_padding>
  1039. <date_format_lenient>N</date_format_lenient>
  1040. <date_format_locale>zh_CN</date_format_locale>
  1041. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1042. <lenient_string_to_number>N</lenient_string_to_number>
  1043. </value-meta>
  1044. <value-meta>
  1045. <type>String</type>
  1046. <storagetype>normal</storagetype>
  1047. <name>unit_code</name>
  1048. <length>35</length>
  1049. <precision>-1</precision>
  1050. <origin>表输入-U8物料</origin>
  1051. <comments>unit_code</comments>
  1052. <conversion_Mask/>
  1053. <decimal_symbol>.</decimal_symbol>
  1054. <grouping_symbol>,</grouping_symbol>
  1055. <currency_symbol/>
  1056. <trim_type>none</trim_type>
  1057. <case_insensitive>N</case_insensitive>
  1058. <collator_disabled>Y</collator_disabled>
  1059. <collator_strength>0</collator_strength>
  1060. <sort_descending>N</sort_descending>
  1061. <output_padding>N</output_padding>
  1062. <date_format_lenient>N</date_format_lenient>
  1063. <date_format_locale>zh_CN</date_format_locale>
  1064. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1065. <lenient_string_to_number>N</lenient_string_to_number>
  1066. </value-meta>
  1067. <value-meta>
  1068. <type>Number</type>
  1069. <storagetype>normal</storagetype>
  1070. <name>secondary_rate</name>
  1071. <length>15</length>
  1072. <precision>-1</precision>
  1073. <origin>表输入-U8物料</origin>
  1074. <comments>secondary_rate</comments>
  1075. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1076. <decimal_symbol>.</decimal_symbol>
  1077. <grouping_symbol>,</grouping_symbol>
  1078. <currency_symbol/>
  1079. <trim_type>none</trim_type>
  1080. <case_insensitive>N</case_insensitive>
  1081. <collator_disabled>Y</collator_disabled>
  1082. <collator_strength>0</collator_strength>
  1083. <sort_descending>N</sort_descending>
  1084. <output_padding>N</output_padding>
  1085. <date_format_lenient>N</date_format_lenient>
  1086. <date_format_locale>zh_CN</date_format_locale>
  1087. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1088. <lenient_string_to_number>N</lenient_string_to_number>
  1089. </value-meta>
  1090. <value-meta>
  1091. <type>String</type>
  1092. <storagetype>normal</storagetype>
  1093. <name>secondary_unit_code</name>
  1094. <length>35</length>
  1095. <precision>-1</precision>
  1096. <origin>表输入-U8物料</origin>
  1097. <comments>secondary_unit_code</comments>
  1098. <conversion_Mask/>
  1099. <decimal_symbol>.</decimal_symbol>
  1100. <grouping_symbol>,</grouping_symbol>
  1101. <currency_symbol/>
  1102. <trim_type>none</trim_type>
  1103. <case_insensitive>N</case_insensitive>
  1104. <collator_disabled>Y</collator_disabled>
  1105. <collator_strength>0</collator_strength>
  1106. <sort_descending>N</sort_descending>
  1107. <output_padding>N</output_padding>
  1108. <date_format_lenient>N</date_format_lenient>
  1109. <date_format_locale>zh_CN</date_format_locale>
  1110. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1111. <lenient_string_to_number>N</lenient_string_to_number>
  1112. </value-meta>
  1113. <value-meta>
  1114. <type>Number</type>
  1115. <storagetype>normal</storagetype>
  1116. <name>max_stock_quantity</name>
  1117. <length>15</length>
  1118. <precision>-1</precision>
  1119. <origin>表输入-U8物料</origin>
  1120. <comments>max_stock_quantity</comments>
  1121. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1122. <decimal_symbol>.</decimal_symbol>
  1123. <grouping_symbol>,</grouping_symbol>
  1124. <currency_symbol/>
  1125. <trim_type>none</trim_type>
  1126. <case_insensitive>N</case_insensitive>
  1127. <collator_disabled>Y</collator_disabled>
  1128. <collator_strength>0</collator_strength>
  1129. <sort_descending>N</sort_descending>
  1130. <output_padding>N</output_padding>
  1131. <date_format_lenient>N</date_format_lenient>
  1132. <date_format_locale>zh_CN</date_format_locale>
  1133. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1134. <lenient_string_to_number>N</lenient_string_to_number>
  1135. </value-meta>
  1136. <value-meta>
  1137. <type>Number</type>
  1138. <storagetype>normal</storagetype>
  1139. <name>min_stock_quantity</name>
  1140. <length>15</length>
  1141. <precision>-1</precision>
  1142. <origin>表输入-U8物料</origin>
  1143. <comments>min_stock_quantity</comments>
  1144. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1145. <decimal_symbol>.</decimal_symbol>
  1146. <grouping_symbol>,</grouping_symbol>
  1147. <currency_symbol/>
  1148. <trim_type>none</trim_type>
  1149. <case_insensitive>N</case_insensitive>
  1150. <collator_disabled>Y</collator_disabled>
  1151. <collator_strength>0</collator_strength>
  1152. <sort_descending>N</sort_descending>
  1153. <output_padding>N</output_padding>
  1154. <date_format_lenient>N</date_format_lenient>
  1155. <date_format_locale>zh_CN</date_format_locale>
  1156. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1157. <lenient_string_to_number>N</lenient_string_to_number>
  1158. </value-meta>
  1159. <value-meta>
  1160. <type>Integer</type>
  1161. <storagetype>normal</storagetype>
  1162. <name>quality_day</name>
  1163. <length>9</length>
  1164. <precision>0</precision>
  1165. <origin>表输入-U8物料</origin>
  1166. <comments>quality_day</comments>
  1167. <conversion_Mask>####0;-####0</conversion_Mask>
  1168. <decimal_symbol>.</decimal_symbol>
  1169. <grouping_symbol>,</grouping_symbol>
  1170. <currency_symbol/>
  1171. <trim_type>none</trim_type>
  1172. <case_insensitive>N</case_insensitive>
  1173. <collator_disabled>Y</collator_disabled>
  1174. <collator_strength>0</collator_strength>
  1175. <sort_descending>N</sort_descending>
  1176. <output_padding>N</output_padding>
  1177. <date_format_lenient>N</date_format_lenient>
  1178. <date_format_locale>zh_CN</date_format_locale>
  1179. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1180. <lenient_string_to_number>N</lenient_string_to_number>
  1181. </value-meta>
  1182. <value-meta>
  1183. <type>Number</type>
  1184. <storagetype>normal</storagetype>
  1185. <name>excess_ratio_in</name>
  1186. <length>15</length>
  1187. <precision>-1</precision>
  1188. <origin>表输入-U8物料</origin>
  1189. <comments>excess_ratio_in</comments>
  1190. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1191. <decimal_symbol>.</decimal_symbol>
  1192. <grouping_symbol>,</grouping_symbol>
  1193. <currency_symbol/>
  1194. <trim_type>none</trim_type>
  1195. <case_insensitive>N</case_insensitive>
  1196. <collator_disabled>Y</collator_disabled>
  1197. <collator_strength>0</collator_strength>
  1198. <sort_descending>N</sort_descending>
  1199. <output_padding>N</output_padding>
  1200. <date_format_lenient>N</date_format_lenient>
  1201. <date_format_locale>zh_CN</date_format_locale>
  1202. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1203. <lenient_string_to_number>N</lenient_string_to_number>
  1204. </value-meta>
  1205. <value-meta>
  1206. <type>Number</type>
  1207. <storagetype>normal</storagetype>
  1208. <name>excess_ratio_out</name>
  1209. <length>15</length>
  1210. <precision>-1</precision>
  1211. <origin>表输入-U8物料</origin>
  1212. <comments>excess_ratio_out</comments>
  1213. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1214. <decimal_symbol>.</decimal_symbol>
  1215. <grouping_symbol>,</grouping_symbol>
  1216. <currency_symbol/>
  1217. <trim_type>none</trim_type>
  1218. <case_insensitive>N</case_insensitive>
  1219. <collator_disabled>Y</collator_disabled>
  1220. <collator_strength>0</collator_strength>
  1221. <sort_descending>N</sort_descending>
  1222. <output_padding>N</output_padding>
  1223. <date_format_lenient>N</date_format_lenient>
  1224. <date_format_locale>zh_CN</date_format_locale>
  1225. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1226. <lenient_string_to_number>N</lenient_string_to_number>
  1227. </value-meta>
  1228. <value-meta>
  1229. <type>Integer</type>
  1230. <storagetype>normal</storagetype>
  1231. <name>collect_type</name>
  1232. <length>9</length>
  1233. <precision>0</precision>
  1234. <origin>表输入-U8物料</origin>
  1235. <comments>collect_type</comments>
  1236. <conversion_Mask>####0;-####0</conversion_Mask>
  1237. <decimal_symbol>.</decimal_symbol>
  1238. <grouping_symbol>,</grouping_symbol>
  1239. <currency_symbol/>
  1240. <trim_type>none</trim_type>
  1241. <case_insensitive>N</case_insensitive>
  1242. <collator_disabled>Y</collator_disabled>
  1243. <collator_strength>0</collator_strength>
  1244. <sort_descending>N</sort_descending>
  1245. <output_padding>N</output_padding>
  1246. <date_format_lenient>N</date_format_lenient>
  1247. <date_format_locale>zh_CN</date_format_locale>
  1248. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1249. <lenient_string_to_number>N</lenient_string_to_number>
  1250. </value-meta>
  1251. <value-meta>
  1252. <type>Timestamp</type>
  1253. <storagetype>normal</storagetype>
  1254. <name>inactive_time</name>
  1255. <length>3</length>
  1256. <precision>-1</precision>
  1257. <origin>表输入-U8物料</origin>
  1258. <comments>inactive_time</comments>
  1259. <conversion_Mask/>
  1260. <decimal_symbol>.</decimal_symbol>
  1261. <grouping_symbol>,</grouping_symbol>
  1262. <currency_symbol/>
  1263. <trim_type>none</trim_type>
  1264. <case_insensitive>N</case_insensitive>
  1265. <collator_disabled>Y</collator_disabled>
  1266. <collator_strength>0</collator_strength>
  1267. <sort_descending>N</sort_descending>
  1268. <output_padding>N</output_padding>
  1269. <date_format_lenient>N</date_format_lenient>
  1270. <date_format_locale>zh_CN</date_format_locale>
  1271. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1272. <lenient_string_to_number>N</lenient_string_to_number>
  1273. </value-meta>
  1274. <value-meta>
  1275. <type>Integer</type>
  1276. <storagetype>normal</storagetype>
  1277. <name>status</name>
  1278. <length>9</length>
  1279. <precision>0</precision>
  1280. <origin>表输入-U8物料</origin>
  1281. <comments>status</comments>
  1282. <conversion_Mask>####0;-####0</conversion_Mask>
  1283. <decimal_symbol>.</decimal_symbol>
  1284. <grouping_symbol>,</grouping_symbol>
  1285. <currency_symbol/>
  1286. <trim_type>none</trim_type>
  1287. <case_insensitive>N</case_insensitive>
  1288. <collator_disabled>Y</collator_disabled>
  1289. <collator_strength>0</collator_strength>
  1290. <sort_descending>N</sort_descending>
  1291. <output_padding>N</output_padding>
  1292. <date_format_lenient>N</date_format_lenient>
  1293. <date_format_locale>zh_CN</date_format_locale>
  1294. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1295. <lenient_string_to_number>N</lenient_string_to_number>
  1296. </value-meta>
  1297. <value-meta>
  1298. <type>String</type>
  1299. <storagetype>normal</storagetype>
  1300. <name>extend_code01</name>
  1301. <length>60</length>
  1302. <precision>-1</precision>
  1303. <origin>表输入-U8物料</origin>
  1304. <comments>extend_code01</comments>
  1305. <conversion_Mask/>
  1306. <decimal_symbol>.</decimal_symbol>
  1307. <grouping_symbol>,</grouping_symbol>
  1308. <currency_symbol/>
  1309. <trim_type>none</trim_type>
  1310. <case_insensitive>N</case_insensitive>
  1311. <collator_disabled>Y</collator_disabled>
  1312. <collator_strength>0</collator_strength>
  1313. <sort_descending>N</sort_descending>
  1314. <output_padding>N</output_padding>
  1315. <date_format_lenient>N</date_format_lenient>
  1316. <date_format_locale>zh_CN</date_format_locale>
  1317. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1318. <lenient_string_to_number>N</lenient_string_to_number>
  1319. </value-meta>
  1320. <value-meta>
  1321. <type>String</type>
  1322. <storagetype>normal</storagetype>
  1323. <name>extend_code02</name>
  1324. <length>120</length>
  1325. <precision>-1</precision>
  1326. <origin>表输入-U8物料</origin>
  1327. <comments>extend_code02</comments>
  1328. <conversion_Mask/>
  1329. <decimal_symbol>.</decimal_symbol>
  1330. <grouping_symbol>,</grouping_symbol>
  1331. <currency_symbol/>
  1332. <trim_type>none</trim_type>
  1333. <case_insensitive>N</case_insensitive>
  1334. <collator_disabled>Y</collator_disabled>
  1335. <collator_strength>0</collator_strength>
  1336. <sort_descending>N</sort_descending>
  1337. <output_padding>N</output_padding>
  1338. <date_format_lenient>N</date_format_lenient>
  1339. <date_format_locale>zh_CN</date_format_locale>
  1340. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1341. <lenient_string_to_number>N</lenient_string_to_number>
  1342. </value-meta>
  1343. <value-meta>
  1344. <type>Number</type>
  1345. <storagetype>normal</storagetype>
  1346. <name>label_standard_quantity</name>
  1347. <length>15</length>
  1348. <precision>-1</precision>
  1349. <origin>表输入-U8物料</origin>
  1350. <comments>label_standard_quantity</comments>
  1351. <conversion_Mask>####0.0#########;-####0.0#########</conversion_Mask>
  1352. <decimal_symbol>.</decimal_symbol>
  1353. <grouping_symbol>,</grouping_symbol>
  1354. <currency_symbol/>
  1355. <trim_type>none</trim_type>
  1356. <case_insensitive>N</case_insensitive>
  1357. <collator_disabled>Y</collator_disabled>
  1358. <collator_strength>0</collator_strength>
  1359. <sort_descending>N</sort_descending>
  1360. <output_padding>N</output_padding>
  1361. <date_format_lenient>N</date_format_lenient>
  1362. <date_format_locale>zh_CN</date_format_locale>
  1363. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1364. <lenient_string_to_number>N</lenient_string_to_number>
  1365. </value-meta>
  1366. <value-meta>
  1367. <type>String</type>
  1368. <storagetype>normal</storagetype>
  1369. <name>warehouse_code_in</name>
  1370. <length>10</length>
  1371. <precision>-1</precision>
  1372. <origin>表输入-U8物料</origin>
  1373. <comments>warehouse_code_in</comments>
  1374. <conversion_Mask/>
  1375. <decimal_symbol>.</decimal_symbol>
  1376. <grouping_symbol>,</grouping_symbol>
  1377. <currency_symbol/>
  1378. <trim_type>none</trim_type>
  1379. <case_insensitive>N</case_insensitive>
  1380. <collator_disabled>Y</collator_disabled>
  1381. <collator_strength>0</collator_strength>
  1382. <sort_descending>N</sort_descending>
  1383. <output_padding>N</output_padding>
  1384. <date_format_lenient>N</date_format_lenient>
  1385. <date_format_locale>zh_CN</date_format_locale>
  1386. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1387. <lenient_string_to_number>N</lenient_string_to_number>
  1388. </value-meta>
  1389. <value-meta>
  1390. <type>String</type>
  1391. <storagetype>normal</storagetype>
  1392. <name>sync_name</name>
  1393. <length>50</length>
  1394. <precision>-1</precision>
  1395. <origin>表输入-U8物料</origin>
  1396. <comments>sync_name</comments>
  1397. <conversion_Mask/>
  1398. <decimal_symbol>.</decimal_symbol>
  1399. <grouping_symbol>,</grouping_symbol>
  1400. <currency_symbol/>
  1401. <trim_type>none</trim_type>
  1402. <case_insensitive>N</case_insensitive>
  1403. <collator_disabled>Y</collator_disabled>
  1404. <collator_strength>0</collator_strength>
  1405. <sort_descending>N</sort_descending>
  1406. <output_padding>N</output_padding>
  1407. <date_format_lenient>N</date_format_lenient>
  1408. <date_format_locale>zh_CN</date_format_locale>
  1409. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1410. <lenient_string_to_number>N</lenient_string_to_number>
  1411. </value-meta>
  1412. <value-meta>
  1413. <type>Integer</type>
  1414. <storagetype>normal</storagetype>
  1415. <name>sync_id</name>
  1416. <length>9</length>
  1417. <precision>0</precision>
  1418. <origin>表输入-U8物料</origin>
  1419. <comments>sync_id</comments>
  1420. <conversion_Mask>####0;-####0</conversion_Mask>
  1421. <decimal_symbol>.</decimal_symbol>
  1422. <grouping_symbol>,</grouping_symbol>
  1423. <currency_symbol/>
  1424. <trim_type>none</trim_type>
  1425. <case_insensitive>N</case_insensitive>
  1426. <collator_disabled>Y</collator_disabled>
  1427. <collator_strength>0</collator_strength>
  1428. <sort_descending>N</sort_descending>
  1429. <output_padding>N</output_padding>
  1430. <date_format_lenient>N</date_format_lenient>
  1431. <date_format_locale>zh_CN</date_format_locale>
  1432. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1433. <lenient_string_to_number>N</lenient_string_to_number>
  1434. </value-meta>
  1435. <value-meta>
  1436. <type>Timestamp</type>
  1437. <storagetype>normal</storagetype>
  1438. <name>sync_time</name>
  1439. <length>3</length>
  1440. <precision>-1</precision>
  1441. <origin>表输入-U8物料</origin>
  1442. <comments>sync_time</comments>
  1443. <conversion_Mask/>
  1444. <decimal_symbol>.</decimal_symbol>
  1445. <grouping_symbol>,</grouping_symbol>
  1446. <currency_symbol/>
  1447. <trim_type>none</trim_type>
  1448. <case_insensitive>N</case_insensitive>
  1449. <collator_disabled>Y</collator_disabled>
  1450. <collator_strength>0</collator_strength>
  1451. <sort_descending>N</sort_descending>
  1452. <output_padding>N</output_padding>
  1453. <date_format_lenient>N</date_format_lenient>
  1454. <date_format_locale>zh_CN</date_format_locale>
  1455. <date_format_timezone>Asia/Shanghai</date_format_timezone>
  1456. <lenient_string_to_number>N</lenient_string_to_number>
  1457. </value-meta>
  1458. </row-meta>
  1459. <attributes/>
  1460. <cluster_schema/>
  1461. <remotesteps>
  1462. <input>
  1463. </input>
  1464. <output>
  1465. </output>
  1466. </remotesteps>
  1467. <GUI>
  1468. <xloc>384</xloc>
  1469. <yloc>272</yloc>
  1470. <draw>Y</draw>
  1471. </GUI>
  1472. </step>
  1473. <step_error_handling>
  1474. <error>
  1475. <source_step>插入 / 更新</source_step>
  1476. <target_step/>
  1477. <is_enabled>N</is_enabled>
  1478. <nr_valuename/>
  1479. <descriptions_valuename/>
  1480. <fields_valuename/>
  1481. <codes_valuename/>
  1482. <max_errors/>
  1483. <max_pct_errors/>
  1484. <min_pct_rows/>
  1485. </error>
  1486. </step_error_handling>
  1487. <slave-step-copy-partition-distribution>
  1488. </slave-step-copy-partition-distribution>
  1489. <slave_transformation>N</slave_transformation>
  1490. <attributes/>
  1491. </transformation>