NW_GW_VK.iqd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. COGNOS QUERY
  2. STRUCTURE,1,1
  3. DATABASE,O21
  4. DATASOURCENAME,C:\GAPS\Portal\System\IQD\NW\NW_GW_VK.imr
  5. TITLE,NW_GW_VK.imr
  6. BEGIN SQL
  7. select c1 as c1,
  8. c2 as c2,
  9. c3 as c3,
  10. c4 as c4,
  11. c5 as c5,
  12. c6 as c6,
  13. c7 as c7,
  14. c8 as c8,
  15. c9 as c9,
  16. c10 as c10,
  17. c11 as c11,
  18. c12 as c12,
  19. c13 as c13,
  20. c14 as c14,
  21. c15 as c15,
  22. c16 as c16,
  23. c17 as c17,
  24. c18 as c18,
  25. c19 as c19,
  26. c20 as c20,
  27. c21 as c21,
  28. c22 as c22,
  29. c23 as c23,
  30. c24 as c24,
  31. c25 as c25,
  32. c26 as c26,
  33. c27 as c27,
  34. c28 as c28,
  35. c29 as c29,
  36. c30 as c30,
  37. c31 as c31,
  38. c32 as c32,
  39. c33 as c33,
  40. c34 as c34,
  41. c35 as c35,
  42. c36 as c36,
  43. c37 as c37,
  44. c38 as c38,
  45. c39 as c39,
  46. c40 as c40,
  47. c41 as c41,
  48. c42 as c42,
  49. c43 as c43,
  50. c44 as c44,
  51. c45 as c45,
  52. c46 as c46,
  53. c47 as c47,
  54. c48 as c48,
  55. c49 as c49,
  56. c50 as c50,
  57. c51 as c51,
  58. c52 as c52,
  59. c53 as c53,
  60. c54 as c54,
  61. c55 as c55,
  62. c56 as c56,
  63. c57 as c57,
  64. c58 as c58,
  65. c59 as c59,
  66. c60 as c60,
  67. c61 as c61,
  68. c62 as c62,
  69. c63 as c63,
  70. c64 as c64,
  71. c65 as c65,
  72. c66 as c66,
  73. c67 as c67,
  74. c68 as c68,
  75. c69 as c69,
  76. c70 as c70,
  77. c71 as c71,
  78. c72 as c72,
  79. c73 as c73,
  80. c74 as c74,
  81. c75 as c75,
  82. c76 as c76,
  83. c77 as c77,
  84. c78 as c78,
  85. c79 as c79,
  86. c80 as c80,
  87. c81 as c81,
  88. c82 as c82,
  89. c83 as c83,
  90. c84 as c84,
  91. c85 as c85,
  92. c86 as c86,
  93. c87 as c87,
  94. c88 as c88,
  95. c89 as c89,
  96. c90 as c90,
  97. c91 as c91,
  98. c92 as c92,
  99. c93 as c93,
  100. c94 as c94,
  101. c95 as c95,
  102. c96 as c96,
  103. c97 as c97,
  104. c98 as c98,
  105. c99 as c99,
  106. c100 as c100,
  107. c101 as c101,
  108. c102 as c102,
  109. c103 as c103,
  110. c104 as c104,
  111. c105 as c105,
  112. c106 as c106,
  113. c107 as c107,
  114. c108 as c108,
  115. c109 as c109,
  116. c110 as c110,
  117. c111 as c111,
  118. c112 as c112,
  119. c113 as c113,
  120. c114 as c114,
  121. c115 as c115,
  122. c116 as c116,
  123. c117 as c117,
  124. c118 as c118,
  125. c119 as c119,
  126. c120 as c120,
  127. c121 as c121,
  128. c122 as c122,
  129. c123 as c123,
  130. c124 as c124,
  131. c125 as c125,
  132. c126 as c126,
  133. c127 as c127,
  134. c128 as c128,
  135. c129 as c129,
  136. c130 as c130,
  137. c131 as c131,
  138. c132 as c132,
  139. c133 as c133,
  140. c134 as c134,
  141. c135 as c135,
  142. c136 as c136,
  143. XMAX(c136 for c1) as c137,
  144. c138 as c138,
  145. c139 as c139
  146. from
  147. (select c143 as c1,
  148. c268 as c2,
  149. c267 as c3,
  150. c266 as c4,
  151. c265 as c5,
  152. c264 as c6,
  153. c263 as c7,
  154. c262 as c8,
  155. c261 as c9,
  156. c260 as c10,
  157. c259 as c11,
  158. c258 as c12,
  159. c257 as c13,
  160. c256 as c14,
  161. c255 as c15,
  162. c254 as c16,
  163. c253 as c17,
  164. c252 as c18,
  165. c251 as c19,
  166. c250 as c20,
  167. c249 as c21,
  168. c199 as c22,
  169. c248 as c23,
  170. c247 as c24,
  171. c201 as c25,
  172. c246 as c26,
  173. c245 as c27,
  174. c244 as c28,
  175. c243 as c29,
  176. c242 as c30,
  177. c241 as c31,
  178. c240 as c32,
  179. c239 as c33,
  180. c238 as c34,
  181. c237 as c35,
  182. c236 as c36,
  183. c235 as c37,
  184. c234 as c38,
  185. c233 as c39,
  186. c232 as c40,
  187. c185 as c41,
  188. c231 as c42,
  189. c230 as c43,
  190. c229 as c44,
  191. c228 as c45,
  192. c227 as c46,
  193. c226 as c47,
  194. c225 as c48,
  195. c224 as c49,
  196. c223 as c50,
  197. c222 as c51,
  198. c221 as c52,
  199. c196 as c53,
  200. c220 as c54,
  201. c219 as c55,
  202. c218 as c56,
  203. c217 as c57,
  204. c216 as c58,
  205. c215 as c59,
  206. c183 as c60,
  207. c214 as c61,
  208. c213 as c62,
  209. c212 as c63,
  210. c197 as c64,
  211. c211 as c65,
  212. c210 as c66,
  213. c209 as c67,
  214. c208 as c68,
  215. c207 as c69,
  216. c206 as c70,
  217. c205 as c71,
  218. c204 as c72,
  219. c198 as c73,
  220. c203 as c74,
  221. c202 as c75,
  222. c201 as c76,
  223. '1' as c77,
  224. c200 as c78,
  225. c199 as c79,
  226. c198 as c80,
  227. c197 as c81,
  228. c183 as c82,
  229. c196 as c83,
  230. c195 as c84,
  231. c194 as c85,
  232. c193 as c86,
  233. c192 as c87,
  234. '' as c88,
  235. c191 as c89,
  236. c190 as c90,
  237. c189 as c91,
  238. c188 as c92,
  239. c187 as c93,
  240. c186 as c94,
  241. c186 as c95,
  242. c185 as c96,
  243. c184 as c97,
  244. c183 as c98,
  245. c182 as c99,
  246. c181 as c100,
  247. c180 as c101,
  248. c179 as c102,
  249. c178 as c103,
  250. c177 as c104,
  251. c176 as c105,
  252. c175 as c106,
  253. c174 as c107,
  254. c173 as c108,
  255. c172 as c109,
  256. c171 as c110,
  257. c170 as c111,
  258. c169 as c112,
  259. c168 as c113,
  260. c167 as c114,
  261. c166 as c115,
  262. c165 as c116,
  263. c164 as c117,
  264. c163 as c118,
  265. c162 as c119,
  266. c161 as c120,
  267. c160 as c121,
  268. c159 as c122,
  269. c158 as c123,
  270. c157 as c124,
  271. c156 as c125,
  272. c155 as c126,
  273. c154 as c127,
  274. c153 as c128,
  275. c152 as c129,
  276. c151 as c130,
  277. c150 as c131,
  278. c149 as c132,
  279. c148 as c133,
  280. c144 as c134,
  281. c147 as c135,
  282. c146 as c136,
  283. c145 as c138,
  284. c144 as c139,
  285. XMAX(c146 for c143) as c140
  286. from
  287. (select T1."UNIT_NUMBER" as c143,
  288. (database()) as c144,
  289. (od_left(T14."DEPARTMENT",2)) as c145,
  290. T14."UNIQUE_IDENT" as c146,
  291. T14."DEPARTMENT" as c147,
  292. CASE WHEN (T10."DESCRIPTION" IN ('Chevrolet','Opel')) THEN (T10."DESCRIPTION") ELSE ('Fremdfabrikat') END as c148,
  293. CASE WHEN (T1."RECEPTION_DATE" IS NULL) THEN ((extract(DAY FROM T1."SALE_DATE" - T1."PURCH_DATE"))) ELSE ((extract(DAY FROM T1."SALE_DATE" - T1."RECEPTION_DATE"))) END as c149,
  294. CASE WHEN (T12."TRANSACTION_CODE" IN ('26','28 ','27 ','29 ','26 ','32 ','33 ','31 ','30 ')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END as c150,
  295. (CASE WHEN (T12."TRANSACTION_CODE" IN ('25 ','26 ','27 ','28 ','29 ','30','31','32','33')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END) + (CASE WHEN (T12."TRANSACTION_CODE" IN ('37 ','39 ','40 ','41 ','47 ','59 ','49 ','70 ','75 ')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END) as c151,
  296. CASE WHEN (T12."TRANSACTION_CODE" IN ('37 ','39 ','40 ','41 ','47 ','59 ','49 ','70 ','75 ')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END as c152,
  297. CASE WHEN (T12."TRANSACTION_CODE" IN ('25 ','26 ','27 ','28 ','29 ','30','31','32','33')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END as c153,
  298. CASE WHEN (T12."TRANSACTION_CODE" IN ('13')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END as c154,
  299. CASE WHEN (T12."TRANSACTION_CODE" IN ('11 ')) THEN (T12."ORDERS_GROSSVALUE") ELSE (0) END as c155,
  300. CASE WHEN (T12."TRANSACTION_CODE" IN ('14')) THEN (T12."ORDERS_GROSSVALUE" * -1) ELSE (0) END as c156,
  301. CASE WHEN (T12."TRANSACTION_CODE" IN ('91','92','90','18','19','93')) THEN (T12."ORDERS_GROSSVALUE" * -1) ELSE (0) END as c157,
  302. CASE WHEN (T12."TRANSACTION_CODE" IN ('10','12','24','12','15 ')) THEN (T12."ORDERS_GROSSVALUE" * -1) ELSE (0) END as c158,
  303. T12."INT_VOUCHER_NO" as c159,
  304. T12."DESTINATION" as c160,
  305. T12."DEPARTMENT" as c161,
  306. T12."BOOK_KEEPING_CODE" as c162,
  307. T12."CLASSIFICATION_DTE" as c163,
  308. T12."DISCOUNT" as c164,
  309. T12."ORDERS_GROSSVALUE" as c165,
  310. T12."COSTS" as c166,
  311. T12."REFERENCE" as c167,
  312. T13."SPECIFY" as c168,
  313. T13."TRANSACTION_CODE" as c169,
  314. T12."TRANSACTION_CODE" as c170,
  315. T12."ORDER_NUMBER" as c171,
  316. T12."ORDER_DATE" as c172,
  317. T12."DOCUMENT_NR" as c173,
  318. T12."DOCUMENT_DATE" as c174,
  319. T12."FUNCTION_CODE" as c175,
  320. T12."PROGRAM" as c176,
  321. T12."HANDLER" as c177,
  322. T12."TRANSACT_DATE" as c178,
  323. T12."LINE_NO" as c179,
  324. T12."LINE_TYPE" as c180,
  325. T12."UNIT_NUMBER" as c181,
  326. T5."SEL_NAME" || ' / ' || (T6."CUSTOMER_NUMBER" || '- ' || T6."NAME") as c182,
  327. T8."MODEL_TEXT" as c183,
  328. CASE WHEN (T11."SEL_NAME" IS NULL) THEN (' - ' || ' / ' || T1."PREV_OWNER") ELSE (T11."SEL_NAME" || ' / ' || T1."PREV_OWNER") END as c184,
  329. T1."PREV_OWNER" as c185,
  330. T11."SEL_NAME" as c186,
  331. (T1."UNIT_NUMBER" || ' - ' || T8."CHASSIS_NUMBER") || ' - ' || T1."VEHICLE_TYPE" as c187,
  332. T1."UNIT_NUMBER" || ' - ' || T1."OWNER" || ' - ' || (asciiz(extract(YEAR FROM T8."ORIG_INV_DATE"),4) || '-' || asciiz(extract(MONTH FROM T8."ORIG_INV_DATE"),2) || '-' || asciiz(extract(DAY FROM T8."ORIG_INV_DATE"),2)) as c188,
  333. T1."UNIT_NUMBER" || ' - ' || T8."CHASSIS_NUMBER" as c189,
  334. CASE WHEN (T1."ECC_STATUS" = '21') THEN ('21 - Vorlauf') WHEN (T1."ECC_STATUS" = '25') THEN ('25 - für Kd best. FZG') WHEN (T1."ECC_STATUS" = '41') THEN ('41 - Bestand') WHEN (T1."ECC_STATUS" = '44') THEN ('44 - am Hof nicht fakt.') WHEN (T1."ECC_STATUS" = '64') THEN ('64 - verkauft') ELSE null END as c190,
  335. T8."COLOUR_CODE" || ' - ' || T8."COLOUR_CF" as c191,
  336. T6."CUSTOMER_GROUP" || ' - ' || T7."CUST_GROUP_SPECIFY" as c192,
  337. T6."CUSTOMER_NUMBER" || '- ' || T6."NAME" as c193,
  338. CASE WHEN (T2."VEHICLE_TYPE" IS NULL) THEN (T1."VEHICLE_TYPE") ELSE (T2."VEHICLE_TYPE" || ' - ' || T2."VEHICLE_TYPE_TEXT") END as c194,
  339. CASE WHEN (T2."VEHICLE_TYPE" IN ('K','M','N','T','V')) THEN ('Neuwagen') WHEN (T2."VEHICLE_TYPE" IN ('D','G','R')) THEN ('Gebrauchtwagen') ELSE null END as c195,
  340. T8."CHASSIS_NUMBER" as c196,
  341. T9."MOD_LIN_SPECIFY" as c197,
  342. T10."DESCRIPTION" as c198,
  343. T5."SEL_NAME" as c199,
  344. (od_left(T1."SALES_DEPARTMENT",2)) as c200,
  345. T1."SALE_DATE" as c201,
  346. T8."LATEST_INV_DATE" as c202,
  347. T8."ORIG_INV_DATE" as c203,
  348. T10."GLOBAL_MAKE_CD" as c204,
  349. T8."MAKE_CD" as c205,
  350. T8."MAKE" as c206,
  351. T8."COLOUR_CODE" as c207,
  352. T8."DRIVE_CODE" as c208,
  353. T8."MOTOR_CODE" as c209,
  354. T8."MILEAGE" as c210,
  355. T8."WORKSHOP_MODEL" as c211,
  356. T9."MODEL_LINE" as c212,
  357. T8."MODEL_LINE" as c213,
  358. T8."COLOUR_CF" as c214,
  359. T8."SALESMAN_SALE" as c215,
  360. T8."SALESMAN_BUY" as c216,
  361. T8."ARRIVAL_DATE" as c217,
  362. T8."LATEST_REG_DATE" as c218,
  363. T8."FIRST_REG_DATE" as c219,
  364. T8."OWNER_CODE" as c220,
  365. T8."REGISTER_NUMBER" as c221,
  366. T1."CONTRACT_DATE" as c222,
  367. T1."ORDER_CONFIRM_DATE" as c223,
  368. T1."ORDER_ARRIVAL_DATE" as c224,
  369. T7."CUST_GROUP_SPECIFY" as c225,
  370. T7."CUSTOMER_GROUP" as c226,
  371. T6."CUSTOMER_GROUP" as c227,
  372. T6."NAME" as c228,
  373. T6."CUSTOMER_NUMBER" as c229,
  374. T1."ACCOUNT_SALES" as c230,
  375. T1."ACCOUNT_PURCHASE" as c231,
  376. T1."OWNER" as c232,
  377. T1."LOCATION_CODE" as c233,
  378. T1."PA_NUMBER" as c234,
  379. T1."BUYING_ORDER_DATE" as c235,
  380. T1."BUYING_ORDER_NO" as c236,
  381. T1."STOCK_DAYS" as c237,
  382. T1."REG_FEE" as c238,
  383. T1."SALES_PRICE_UNIT" as c239,
  384. T1."COST_UNIT" as c240,
  385. T1."PURCH_PRICE_UNIT" as c241,
  386. T1."BUD_COST" as c242,
  387. T1."BUD_DEDUCT_FEE" as c243,
  388. T1."BUD_REG_FEE" as c244,
  389. T1."BUD_PURCH_PRICE" as c245,
  390. T1."BUD_SALE_DET" as c246,
  391. T1."SALE_INV_NUMBER" as c247,
  392. T5."SEL_FAMILY_NAME" as c248,
  393. T5."SELLER_CODE" as c249,
  394. T1."SALE_SALESMAN" as c250,
  395. T4."DESCRIPTION" as c251,
  396. T4."DEPARTMENT_TYPE_ID" as c252,
  397. T1."SALES_DEPARTMENT" as c253,
  398. T1."RECEPTION_DATE" as c254,
  399. T1."PURCH_DATE" as c255,
  400. T1."PURCH_SALSMAN_CODE" as c256,
  401. T1."PURCH_DEPARTMENT" as c257,
  402. T1."MILEAGE" as c258,
  403. T3."SPECIFY" as c259,
  404. T3."BOOK_KEEPING_CODE" as c260,
  405. T1."BOOK_KEEPING_CODE" as c261,
  406. T1."DEPRECIATION" as c262,
  407. T1."CAR_CREATION_DATE" as c263,
  408. T2."VEHICLE_TYPE_TEXT" as c264,
  409. T2."VEHICLE_TYPE" as c265,
  410. T1."VEHICLE_TYPE" as c266,
  411. T1."ECC_STATUS" as c267,
  412. T1."BASIS_NUMBER" as c268
  413. from ((((((((((((("deop01"."dbo"."UNIT_FILE" T1 left outer join "deop01"."dbo"."vPP5R" T2 on T1."VEHICLE_TYPE" = T2."VEHICLE_TYPE") left outer join "deop01"."dbo"."vPP5M" T3 on T1."BOOK_KEEPING_CODE" = T3."BOOK_KEEPING_CODE") left outer join "deop01"."dbo"."DEPARTMENT_TYPE" T4 on T1."SALES_DEPARTMENT" = T4."DEPARTMENT_TYPE_ID") left outer join "deop01"."dbo"."vPP43" T5 on T1."SALE_SALESMAN" = T5."SELLER_CODE") left outer join "deop01"."dbo"."CUSTOMER" T6 on T1."ACCOUNT_SALES" = T6."CUSTOMER_NUMBER") left outer join "deop01"."dbo"."vPP48" T7 on T6."CUSTOMER_GROUP" = T7."CUSTOMER_GROUP") left outer join "deop01"."dbo"."VEHICLE" T8 on T1."BASIS_NUMBER" = T8."BASIS_NUMBER") left outer join "deop01"."dbo"."vPP5Q" T9 on (T8."MODEL_LINE" = T9."MODEL_LINE") and (T8."MAKE_CD" = T9."MAKE_CD")) left outer join "deop01"."dbo"."GLOBAL_MAKE" T10 on T8."MAKE_CD" = T10."GLOBAL_MAKE_CD") left outer join "deop01"."dbo"."vPP43" T11 on T1."PURCH_SALSMAN_CODE" = T11."SELLER_CODE") left outer join "deop01"."dbo"."UNIT_HISTORY" T12 on T1."UNIT_NUMBER" = T12."UNIT_NUMBER") left outer join "deop01"."dbo"."vPP5A" T13 on T12."TRANSACTION_CODE" = T13."TRANSACTION_CODE") left outer join "deop01"."dbo"."UNIT_CHANGE_HIST" T14 on (T14."UNIT_NUMBER" = T1."UNIT_NUMBER") and (T14."DEPARTMENT" <> ' '))
  414. where (((T1."ECC_STATUS" = '64') and (not T12."TRANSACTION_CODE" IN ('76 ','77 '))) and (T1."SALE_DATE" >= TIMESTAMP '2014-01-01 00:00:00.000'))
  415. ) D2
  416. ) D1
  417. where (c136 = c140)
  418. order by c1 asc
  419. END SQL
  420. COLUMN,0,Unit Number
  421. COLUMN,1,Basis Number
  422. COLUMN,2,Ecc Status
  423. COLUMN,3,Vehicle Type
  424. COLUMN,4,Vehicle Type_vpp5r
  425. COLUMN,5,Vehicle Type Text_vpp5r
  426. COLUMN,6,Car Creation Date
  427. COLUMN,7,Depreciation
  428. COLUMN,8,Book Keeping Code
  429. COLUMN,9,Book Keeping Code_vpp5m
  430. COLUMN,10,Specify_vpp5m
  431. COLUMN,11,Mileage
  432. COLUMN,12,Purch Department
  433. COLUMN,13,Purch Salsman Code
  434. COLUMN,14,Purch Date
  435. COLUMN,15,Reception Date
  436. COLUMN,16,Sales Department
  437. COLUMN,17,Department Type Id_Dep
  438. COLUMN,18,Description_Dep
  439. COLUMN,19,Sale Salesman
  440. COLUMN,20,Seller Code_vpp43
  441. COLUMN,21,Sel Name_vpp43
  442. COLUMN,22,Sel Family Name_vpp43
  443. COLUMN,23,Sale Inv Number
  444. COLUMN,24,Sale Date
  445. COLUMN,25,Bud Sale Det
  446. COLUMN,26,Bud Purch Price
  447. COLUMN,27,Bud Reg Fee
  448. COLUMN,28,Bud Deduct Fee
  449. COLUMN,29,Bud Cost
  450. COLUMN,30,Purch Price Unit
  451. COLUMN,31,Cost Unit
  452. COLUMN,32,Sales Price Unit
  453. COLUMN,33,Reg Fee
  454. COLUMN,34,Stock Days
  455. COLUMN,35,Buying Order No
  456. COLUMN,36,Buying Order Date
  457. COLUMN,37,Pa Number
  458. COLUMN,38,Location Code
  459. COLUMN,39,Owner
  460. COLUMN,40,Prev Owner
  461. COLUMN,41,Account Purchase
  462. COLUMN,42,Account Sales
  463. COLUMN,43,Customer Number_Cust
  464. COLUMN,44,Name_Cust
  465. COLUMN,45,Customer Group_Cust
  466. COLUMN,46,Customer Group_vpp48
  467. COLUMN,47,Cust Group Specify_vpp48
  468. COLUMN,48,Order Arrival Date
  469. COLUMN,49,Order Confirm Date
  470. COLUMN,50,Contract Date
  471. COLUMN,51,Register Number
  472. COLUMN,52,Chassis Number
  473. COLUMN,53,Owner Code
  474. COLUMN,54,First Reg Date
  475. COLUMN,55,Latest Reg Date
  476. COLUMN,56,Arrival Date
  477. COLUMN,57,Salesman Buy
  478. COLUMN,58,Salesman Sale
  479. COLUMN,59,Model Text
  480. COLUMN,60,Colour Cf
  481. COLUMN,61,Model Line
  482. COLUMN,62,Model Line_vpp5q
  483. COLUMN,63,Mod Lin Specify_vpp5q
  484. COLUMN,64,Workshop Model
  485. COLUMN,65,Mileage
  486. COLUMN,66,Motor Code
  487. COLUMN,67,Drive Code
  488. COLUMN,68,Colour Code
  489. COLUMN,69,Make
  490. COLUMN,70,Make Cd
  491. COLUMN,71,Global Make Cd
  492. COLUMN,72,Description_Global_Make
  493. COLUMN,73,Orig Inv Date
  494. COLUMN,74,Latest Inv Date
  495. COLUMN,75,Invoice Date
  496. COLUMN,76,Hauptbetrieb
  497. COLUMN,77,Standort_Verkaufskostenstelle
  498. COLUMN,78,Verkäufer
  499. COLUMN,79,Fabrikat_ori
  500. COLUMN,80,Model
  501. COLUMN,81,Modellbez
  502. COLUMN,82,Fahrgestellnr
  503. COLUMN,83,Fahrzeugart
  504. COLUMN,84,Fahrzeugtyp
  505. COLUMN,85,Kunde
  506. COLUMN,86,Kundenart
  507. COLUMN,87,Geschäftsart
  508. COLUMN,88,Farbe
  509. COLUMN,89,ECC_Status_Text
  510. COLUMN,90,FZG
  511. COLUMN,91,FZG_1
  512. COLUMN,92,FZG_Liste_1
  513. COLUMN,93,Sel Name_EK_vpp43
  514. COLUMN,94,Einkäufer
  515. COLUMN,95,Vorbesitzer
  516. COLUMN,96,FZG_Liste_2
  517. COLUMN,97,FZG_Liste_3
  518. COLUMN,98,FZG_Liste_4
  519. COLUMN,99,Unit Number_Unit_Hist
  520. COLUMN,100,Line Type
  521. COLUMN,101,Line No
  522. COLUMN,102,Transact Date
  523. COLUMN,103,Handler
  524. COLUMN,104,Program
  525. COLUMN,105,Function Code
  526. COLUMN,106,Document Date
  527. COLUMN,107,Document Nr
  528. COLUMN,108,Order Date
  529. COLUMN,109,Order Number
  530. COLUMN,110,Transaction Code
  531. COLUMN,111,Transaction Code_vpp5a
  532. COLUMN,112,Specify_vpp5a
  533. COLUMN,113,Reference
  534. COLUMN,114,Costs
  535. COLUMN,115,Orders Grossvalue
  536. COLUMN,116,Discount
  537. COLUMN,117,Classification Dte
  538. COLUMN,118,Book Keeping Code
  539. COLUMN,119,Department
  540. COLUMN,120,Destination
  541. COLUMN,121,Int Voucher No
  542. COLUMN,122,Erlös
  543. COLUMN,123,Sonst. Erlöse
  544. COLUMN,124,Ums. Fracht und Überf.
  545. COLUMN,125,Nachlass
  546. COLUMN,126,Provisionen
  547. COLUMN,127,EK Fahrzeug
  548. COLUMN,128,FZG-Kosten
  549. COLUMN,129,Einsatz
  550. COLUMN,130,VK_Hilfen
  551. COLUMN,131,Standtage
  552. COLUMN,132,Fabrikat
  553. COLUMN,133,Mandant
  554. COLUMN,134,Department_unit_change_hist
  555. COLUMN,135,Unique Ident_unit_change_hist
  556. COLUMN,136,Maximum_Unique_Ident
  557. COLUMN,137,Standort
  558. COLUMN,138,Mandant