COGNOS QUERY
STRUCTURE,1,1
DATABASE,O21
DATASOURCENAME,C:\GAPS\Portal\System\IQD\Serv_Teile\Auftraege.imr
TITLE,Auftraege.imr
BEGIN SQL
select T1."ORDER_NUMBER" as c1,
	   T1."REGISTER_NUMBER" as c2,
	   T1."STATUS" as c3,
	   T1."STATE_KEY_DATE" as c4,
	   T1."DEBIT_ACCOUNT" as c5,
	   T1."INVOICE_NUMBER" as c6,
	   T1."WORKSHOP_MODEL" as c7,
	   T1."STATE_CODE" as c8,
	   T1."TRANSACT_DATE" as c9,
	   T1."HANDLER" as c10,
	   T1."DELIVERY_ACCOUNT" as c11,
	   T1."DEPARTMENT" as c12,
	   T1."DEBET_DEPARTMENT" as c13,
	   T1."SALESMAN" as c14,
	   T1."DEBIT_PERM" as c15,
	   T1."ORDER_DATE" as c16,
	   T1."DELIVERY_DATE" as c17,
	   T1."INVOICE_DATE" as c18,
	   T1."PMT_TERM" as c19,
	   T1."DUEDATE_1" as c20,
	   T1."PAYMENT_TEXT" as c21,
	   T1."COSTS" as c22,
	   T1."PURCH_TAX" as c23,
	   T1."ORDERS_GROSSVALUE" as c24,
	   T1."TAX_SHARE" as c25,
	   T1."DISCOUNT_AMOUNT" as c26,
	   T1."PRICE_CODE" as c27,
	   T1."MISC_ADDS" as c28,
	   T1."STOCK" as c29,
	   T1."PLACE_CODE" as c30,
	   T1."INTERNAL_CODE" as c31,
	   T1."CUSTOMER_GROUP" as c32,
	   T1."BASIS_NUMBER" as c33,
	   T1."MILEAGE" as c34,
	   T1."PREV_STATUS" as c35,
	   T1."SALES_CLASS_NUMBER" as c36,
	   T1."INVOICE_DISC_PERC" as c37,
	   T1."SALES_TAX_FREE" as c38,
	   T1."TITLE" as c39,
	   T1."NAME" as c40,
	   T1."STREET_ADDR" as c41,
	   T1."ADDR_2" as c42,
	   T1."ZIPCODE" as c43,
	   T1."MAIL_ADDR" as c44,
	   T1."DISCOUNT_LIMIT" as c45,
	   T1."REFERENCE_NUMBER" as c46,
	   T1."EXPECTED_ORDER_TIM" as c47,
	   T1."MODEL_TEXT" as c48,
	   T1."WORKSHOP_PRICECODE" as c49,
	   T1."SPLIT_COUNTER" as c50,
	   T1."ARRIVAL_TIME" as c51,
	   T1."ARRIVAL_DATE" as c52,
	   T1."END_DATE" as c53,
	   T1."END_TIME" as c54,
	   T1."FAC_MODEL_CODE_S" as c55,
	   T1."MAKE_CD" as c56,
	   T1."YEAR_MODEL" as c57,
	   T1."TRANSFER_MAKE_CD" as c58,
	   T1."CHASSIS_NUMBER" as c59,
	   T1."WORKSHOP_TEAM" as c60,
	   T1."COMMISSION_SALESMAN" as c61,
	   T1."ACTUAL_INV_DATE_TIME" as c62,
	   T1."UNIQUE_IDENT" as c63,
	   T2."LINE_NUMBER" as c64,
	   T2."KEY_PROD_CODE" as c65,
	   T2."KEY_MAKE_CD" as c66,
	   T2."DELIVERY_DATE" as c67,
	   T2."LINE_GROUP_CODE" as c68,
	   T2."HANDLER" as c69,
	   T2."STATE_CODE" as c70,
	   T2."PERSON_CODE" as c71,
	   T2."ORDER_LINETYPE" as c72,
	   T2."ORDER_LINETYPE_2" as c73,
	   T2."ORDER_LINETYPE_3" as c74,
	   T2."RESULTING_LINE" as c75,
	   T2."RESULTING_LINE_2" as c76,
	   T2."PRINT_INVOICE" as c77,
	   T2."REDUCTION_CODE" as c78,
	   T2."REDUCTION_AMOUNT" as c79,
	   T2."REDUCTION_CODE_2" as c80,
	   T2."REDUCTION_POS" as c81,
	   T2."SPLIT_CODE" as c82,
	   T2."SPLIT_CODE_2" as c83,
	   T2."MECHANIC_CODE" as c84,
	   T2."SALESMAN" as c85,
	   T2."DISCOUNT_TABLE" as c86,
	   T2."DISCOUNT_CODE" as c87,
	   T2."CLAIM_CODE_IND" as c88,
	   T2."CLAIM_NUMBER" as c89,
	   T2."KIT_FIXED_PRICE_CD" as c90,
	   T2."R_DELIVERY_DATE" as c91,
	   T2."WUST_CODE" as c92,
	   T2."STATUS" as c93,
	   T2."STOCK" as c94,
	   T2."GROSS_DISCOUNT" as c95,
	   T2."STATISTIC_CODE" as c96,
	   T2."DECIMAL_INDICATOR" as c97,
	   T2."ADD_COST_CODE" as c98,
	   T2."DISCOUNT_PERC" as c99,
	   T2."DISCOUNT_PERC_2" as c100,
	   T2."DISCOUNT" as c101,
	   T2."STDPRICE" as c102,
	   T2."LINES_NET_VALUE" as c103,
	   T2."TAX_CODE_1" as c104,
	   T2."VAT_RATE_CODE" as c105,
	   T2."TAX_C_U" as c106,
	   T2."TAX_DRAWN" as c107,
	   T2."LINE_MISC_ADDS" as c108,
	   T2."LINE_MISC_ADDS_PER" as c109,
	   T2."CLAIM_TROUBLE_CD" as c110,
	   T2."PROD_CODE" as c111,
	   T2."MAKE_CD" as c112,
	   T2."PRODUCT_GROUP" as c113,
	   T2."PROD_NAME" as c114,
	   T2."LOCATION" as c115,
	   T2."ORDER_QUANTITY" as c116,
	   T2."DELIVERY_QUANTITY" as c117,
	   T2."LINE_COSTS" as c118,
	   T2."CLAIM_RETURN_CODE" as c119,
	   T2."INV_TOTAL_NUMBER" as c120,
	   T2."SPECIAL_PRICE" as c121,
	   T2."SALES_PRICE" as c122,
	   T2."SALES_PRICE_INCL" as c123,
	   T2."ORIG_ORDER_NO" as c124,
	   T2."ORIG_LINE_NO" as c125,
	   T2."ORIG_CREATION_CODE" as c126,
	   T2."BACK_ORDER_CD" as c127,
	   T2."BACK_ORDER" as c128,
	   T2."INTERNAL_TRANSFER" as c129,
	   T2."STDPRICE_2" as c130,
	   T2."QUANTITY_DISC_CODE" as c131,
	   T2."CAMPAIGN_CODE" as c132,
	   T2."REPLACE_CODE" as c133,
	   T2."N_MAIN_PART_NO" as c134,
	   T2."LINE_TEXTLINE_1" as c135,
	   T2."LINE_TEXTLINE_2" as c136,
	   T2."LINE_TEXTLINE_3" as c137,
	   T2."LINE_TEXT_CODE" as c138,
	   T2."LINE_CODE" as c139,
	   T2."LINE_WORKSHOP" as c140,
	   T2."BACK_REG_CODE" as c141,
	   T2."REQUISITION_NUM" as c142,
	   T2."REPAIR_CODE" as c143,
	   T2."REPAIR_GROUP" as c144,
	   T2."REPAIR_NAME" as c145,
	   T2."RATE_PRICE_CODE" as c146,
	   T2."TIME_RATE" as c147,
	   T2."USED_TIME" as c148,
	   T2."EST_TIME" as c149,
	   T2."INV_TIME" as c150,
	   T2."REPAIR_CODE_2" as c151,
	   T2."REPAIR_POS" as c152,
	   T2."LINE_COMMENT" as c153,
	   T2."INSPECTION_1" as c154,
	   T2."INSPECTION_2" as c155,
	   T2."WORK_DATE" as c156,
	   T2."START_TIME" as c157,
	   T2."END_DATE" as c158,
	   T2."END_TIME" as c159,
	   T2."WORKSHOP_AREA" as c160,
	   T2."W_MAIN_REPAIR_NO" as c161,
	   T2."KIT_GROUP" as c162,
	   T2."KIT_CODE" as c163,
	   T2."WORKSHOP_MODEL" as c164,
	   T2."KIT_TEXT" as c165,
	   T2."KIT_FIXED_PRICE" as c166,
	   T2."CLASS_RULE" as c167,
	   T2."KIT_ONE_LINE" as c168,
	   T2."KIT_ONE_LINEPRICE" as c169,
	   T2."KIT_CATALOG_CODE" as c170,
	   T2."KIT_PARTS_DISC_PER" as c171,
	   T2."KIT_WORK_DISC_PER" as c172,
	   T2."KIT_MISC_DISC_PER" as c173,
	   T2."KIT_DELETE" as c174,
	   T2."KIT_PRICE_DIFF" as c175,
	   T2."KIT_PRINT_SPLIT" as c176,
	   T2."TYPE_OL" as c177,
	   T2."TRANSACTION_CODE_2" as c178,
	   T2."TXT_OL" as c179,
	   T2."AMOUNT_OL" as c180,
	   T2."CASH_ACCOUNT" as c181,
	   T2."REPAIR_CODE_ACCU" as c182,
	   T2."RECOMMENDED_PRICE" as c183,
	   T2."COST_PRICE_WORK" as c184,
	   T2."TIME_CODE_1" as c185,
	   T2."USED_TIME_TYPE_1" as c186,
	   T2."COST_PRICE_TYPE_1" as c187,
	   T2."TIME_CODE_2" as c188,
	   T2."USED_TIME_TYPE_2" as c189,
	   T2."COST_PRICE_TYPE_2" as c190,
	   T2."DISCOUNT_ALLOWANCE" as c191,
	   T2."CREATE_AFTER_RC" as c192,
	   T2."REPEAT_REPAIR" as c193,
	   T2."INV_TIME_COST" as c194,
	   T2."TIME_CODE" as c195,
	   T2."FACTOR_CODE" as c196,
	   T2."REDUCTION_FACTOR_1" as c197,
	   T2."RESULTING_LINE_1" as c198,
	   T2."EXTERNAL_STOCK" as c199,
	   T2."REPAIR_GROUP_TYPE" as c200,
	   T2."AUTOMATIC_CREATED" as c201,
	   T2."INCOMPLETE_LINE" as c202,
	   T2."INCOMPLETE_LINE_2" as c203,
	   T2."ORDER_LINETYPE_4" as c204,
	   T2."CONSIGNMENT_CODE" as c205,
	   T2."PART_GROUP" as c206,
	   T2."MISC_1" as c207,
	   T2."MISC_2" as c208,
	   T2."MISC_3" as c209,
	   T2."MISC_4" as c210,
	   T2."MISC_5" as c211,
	   T2."MISC_6" as c212,
	   T2."ORDER_LINE_TRANSM" as c213,
	   T2."ORIG_PROD_CODE" as c214,
	   T2."ORIG_MAKE_CD" as c215,
	   T2."ORIG_PROD_GROUP" as c216,
	   T2."STOCK_SHOP_LIST" as c217,
	   T2."LINE_REFERENCE" as c218,
	   T2."WORK_TYPE_CODE" as c219,
	   T2."CUSTOMER_COMPLAINT" as c220,
	   T2."JOB_CODE_DESCR" as c221,
	   T2."TEXT_200" as c222,
	   T2."CREATE_MSC" as c223,
	   T2."SPECIAL_LOCK_NO" as c224,
	   T2."SUPPLIER_CODE" as c225,
	   T2."REQUISITION_NUMBER" as c226,
	   T2."USED_TIME_INT" as c227,
	   T2."EST_TIME_INT" as c228,
	   T2."INV_TIME_INT" as c229,
	   T2."MAKE_TIME_UNIT" as c230,
	   T2."DEPOSIT_TYPE" as c231,
	   T2."LINE_STATUS" as c232,
	   T2."SALES_UNIT_STD" as c233,
	   T2."SALES_UNIT_ALT" as c234,
	   T2."ORDER_QUANTITY_ALT_UNIT" as c235,
	   T2."OIL" as c236,
	   T2."DEDUCTIBLE_VAT" as c237,
	   T2."QTY_SOLD_NEGATIVE" as c238,
	   T2."ORIG_COST_PRICE" as c239,
	   T2."REQUESTED_QUANTITY" as c240,
	   T2."UNIQUE_IDENT" as c241,
	   T3."STAT_CODE" as c242,
	   T3."STAT_SPECIFY" as c243,
	   T4."DEPARTMENT_TYPE_ID" as c244,
	   T4."DESCRIPTION" as c245,
	   T5."SELLER_CODE" as c246,
	   T5."SEL_NAME" as c247,
	   T5."SEL_DEPARTMENT" as c248,
	   T5."SEL_FIRST_NAME" as c249,
	   T5."SEL_FAMILY_NAME" as c250,
	   T6."CUSTOMER_GROUP" as c251,
	   T6."CUST_GROUP_SPECIFY" as c252,
	   T7."SELLER_CODE" as c253,
	   T7."SEL_NAME" as c254,
	   T7."SEL_DEPARTMENT" as c255,
	   T7."SEL_FIRST_NAME" as c256,
	   T7."SEL_FAMILY_NAME" as c257,
	   T8."REPAIR_GROUP" as c258,
	   T8."MAKE_CD" as c259,
	   T8."REPAIR_GRP_SPECIFY" as c260,
	   '1' as c261,
	   (od_left(T4."DEPARTMENT_TYPE_ID",2)) as c262,
	   (substring(T4."DEPARTMENT_TYPE_ID" from 2 for 1)) as c263,
	   ((substring(T4."DEPARTMENT_TYPE_ID" from 3 for 2))) as c264,
	   T6."CUSTOMER_GROUP" || ' - ' || T6."CUST_GROUP_SPECIFY" as c265,
	   CASE WHEN ((T6."CUSTOMER_GROUP" BETWEEN '10' AND '59') or (T1."CUSTOMER_GROUP" LIKE '7%')) THEN ('extern') WHEN (T6."CUSTOMER_GROUP" LIKE '6%') THEN ('GWL') WHEN (((T6."CUSTOMER_GROUP" LIKE '9%') or (T1."PMT_TERM" = 'IN')) or ((od_left(T1."CUSTOMER_GROUP",1)) BETWEEN 'A' AND 'Z')) THEN ('intern') WHEN (T1."CUSTOMER_GROUP" IN ('00')) THEN ('intern') ELSE null END as c266,
	   T1."PMT_TERM" || ' - ' || T1."PAYMENT_TEXT" as c267,
	   T5."SEL_NAME" as c268,
	   T7."SEL_NAME" as c269,
	   CASE WHEN (T1."STATUS" BETWEEN '30' AND '39') THEN ('Teile') WHEN (T1."STATUS" BETWEEN '40' AND '51') THEN ('Service') WHEN (T1."STATUS" = '70') THEN ('sonst. Auftrag') WHEN (T1."STATUS" = '91') THEN ('Anfrage') ELSE null END as c270,
	   T1."STATUS" || ' - ' || T3."STAT_SPECIFY" as c271,
	   CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINES_NET_VALUE") ELSE null END as c272,
	   CASE WHEN ((T2."INV_TIME" <> 0) and (T2."LINES_NET_VALUE" <> .00)) THEN (T2."LINES_NET_VALUE") WHEN ((T2."INV_TIME" <> 0) and (T2."LINES_NET_VALUE" = .00)) THEN (T2."REDUCTION_AMOUNT") ELSE null END as c273,
	   CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINES_NET_VALUE") ELSE null END as c274,
	   CASE WHEN (T1."STATUS" IN ('35','37','39','47','49','36')) THEN ('Rechnung/Gutschrift') WHEN (T1."STATUS" IN ('30','40','32')) THEN ('offen') WHEN (T1."STATUS" IN ('41')) THEN ('Kostenvoranschlag') ELSE null END as c275,
	   T2."INV_TIME_INT" as c276,
	   T2."EST_TIME_INT" as c277,
	   T2."USED_TIME_INT" as c278,
	   CASE WHEN ((T2."ORDER_LINETYPE" = '3') and (T2."PROD_CODE" <> 'TU')) THEN (T2."LINES_NET_VALUE") ELSE null END as c279,
	   T2."INV_TIME_INT" * 12 as c280,
	   T1."DEBIT_ACCOUNT" || ' - ' || T1."NAME" as c281,
	   T2."EST_TIME_INT" * 12 as c282,
	   T2."USED_TIME_INT" * 12 as c283,
	   T9."GLOBAL_MAKE_CD" as c284,
	   T9."DESCRIPTION" as c285,
	   T9."DESCRIPTION" as c286,
	   T1."MODEL_TEXT" as c287,
	   T1."BASIS_NUMBER" || ' - ' || T1."CHASSIS_NUMBER" as c288,
	   CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINE_COSTS") ELSE null END as c289,
	   CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINE_COSTS") ELSE null END as c290,
	   CASE WHEN (T1."STATUS" IN ('35','37','47','50')) THEN ('Rechnung') WHEN (T1."STATUS" IN ('36','39','49','51')) THEN ('Gutschrift') ELSE null END as c291,
	   T2."LINES_NET_VALUE" - T2."LINE_COSTS" as c292,
	   ((CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINES_NET_VALUE") ELSE null END) - (CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINE_COSTS") ELSE null END)) as c293,
	   (CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINES_NET_VALUE") ELSE null END) - (CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINE_COSTS") ELSE null END) as c294,
	   CASE WHEN ((((((CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINES_NET_VALUE") ELSE null END) - (CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '40' AND '51')) THEN (T2."LINE_COSTS") ELSE null END))) < 0) or (((CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINES_NET_VALUE") ELSE null END) - (CASE WHEN ((T2."ORDER_LINETYPE" = '1') and (T1."STATUS" BETWEEN '30' AND '39')) THEN (T2."LINE_COSTS") ELSE null END)) < 0)) and ((CASE WHEN (T1."STATUS" IN ('35','37','47','50')) THEN ('Rechnung') WHEN (T1."STATUS" IN ('36','39','49','51')) THEN ('Gutschrift') ELSE null END) = 'Rechnung')) THEN ('VK < EK') ELSE ('VK > EK') END as c295,
	   (od_left((cast_numberToString(cast_integer(T1."ORDER_NUMBER"))),7)) || ' - ' || (T1."DEBIT_ACCOUNT" || ' - ' || T1."NAME") as c296,
	   12 as c297,
	   CASE WHEN ((extract(DAY FROM (now()) - T1."INVOICE_DATE")) <= 7) THEN (((od_left((cast_numberToString(cast_integer(T1."ORDER_NUMBER"))),7)) || ' - ' || (T1."DEBIT_ACCOUNT" || ' - ' || T1."NAME")) || ' - ' || (asciiz(extract(YEAR FROM T1."INVOICE_DATE"),4) || '-' || asciiz(extract(MONTH FROM T1."INVOICE_DATE"),2) || '-' || asciiz(extract(DAY FROM T1."INVOICE_DATE"),2))) ELSE null END as c298,
	   CASE WHEN (T9."DESCRIPTION" IN ('Ford')) THEN (T9."DESCRIPTION") ELSE ('Fremdfabrikat') END as c299
from (((((((("deaf1032"."dbo"."ORDER_HEADER" T1 left outer join "deaf1032"."dbo"."ORDER_LINE" T2 on T1."ORDER_NUMBER" = T2."ORDER_NUMBER") left outer join "deaf1032"."dbo"."vPP25" T3 on T1."STATUS" = T3."STAT_CODE") left outer join "deaf1032"."dbo"."DEPARTMENT_TYPE" T4 on T1."DEPARTMENT" = T4."DEPARTMENT_TYPE_ID") left outer join "deaf1032"."dbo"."vPP43" T5 on T1."SALESMAN" = T5."SELLER_CODE") left outer join "deaf1032"."dbo"."vPP48" T6 on T1."CUSTOMER_GROUP" = T6."CUSTOMER_GROUP") left outer join "deaf1032"."dbo"."vPP43" T7 on T2."MECHANIC_CODE" = T7."SELLER_CODE") left outer join "deaf1032"."dbo"."vPP73" T8 on (T2."REPAIR_GROUP" = T8."REPAIR_GROUP") and (T2."MAKE_CD" = T8."MAKE_CD")) left outer join "deaf1032"."dbo"."GLOBAL_MAKE" T9 on T1."MAKE_CD" = T9."GLOBAL_MAKE_CD")
where ((T1."STATUS" IN ('35','37','39','47','49','50','51','36','34')) and (T1."INVOICE_DATE" >= TIMESTAMP '2015-01-01 00:00:00.000'))
order by c1 asc

END SQL
COLUMN,0,Order Number_ori
COLUMN,1,Register Number
COLUMN,2,Status
COLUMN,3,State Key Date
COLUMN,4,Debit Account
COLUMN,5,Invoice Number
COLUMN,6,Workshop Model
COLUMN,7,State Code
COLUMN,8,Transact Date
COLUMN,9,Handler
COLUMN,10,Delivery Account
COLUMN,11,Department
COLUMN,12,Debet Department
COLUMN,13,Salesman
COLUMN,14,Debit Perm
COLUMN,15,Order Date
COLUMN,16,Delivery Date
COLUMN,17,Invoice Date
COLUMN,18,Pmt Term
COLUMN,19,Duedate 1
COLUMN,20,Payment Text
COLUMN,21,Costs
COLUMN,22,Purch Tax
COLUMN,23,Orders Grossvalue
COLUMN,24,Tax Share
COLUMN,25,Discount Amount
COLUMN,26,Price Code
COLUMN,27,Misc Adds
COLUMN,28,Stock
COLUMN,29,Place Code
COLUMN,30,Internal Code
COLUMN,31,Customer Group
COLUMN,32,Basis Number
COLUMN,33,Mileage
COLUMN,34,Prev Status
COLUMN,35,Sales Class Number
COLUMN,36,Invoice Disc Perc
COLUMN,37,Sales Tax Free
COLUMN,38,Title
COLUMN,39,Name
COLUMN,40,Street Addr
COLUMN,41,Addr 2
COLUMN,42,Zipcode
COLUMN,43,Mail Addr
COLUMN,44,Discount Limit
COLUMN,45,Reference Number
COLUMN,46,Expected Order Tim
COLUMN,47,Model Text
COLUMN,48,Workshop Pricecode
COLUMN,49,Split Counter
COLUMN,50,Arrival Time
COLUMN,51,Arrival Date
COLUMN,52,End Date
COLUMN,53,End Time
COLUMN,54,Fac Model Code S
COLUMN,55,Make Cd
COLUMN,56,Year Model
COLUMN,57,Transfer Make Cd
COLUMN,58,Chassis Number
COLUMN,59,Workshop Team
COLUMN,60,Commission Salesman
COLUMN,61,Actual Inv Date Time
COLUMN,62,Unique Ident
COLUMN,63,Line Number
COLUMN,64,Key Prod Code
COLUMN,65,Key Make Cd
COLUMN,66,Delivery Date
COLUMN,67,Line Group Code
COLUMN,68,Handler
COLUMN,69,State Code
COLUMN,70,Person Code
COLUMN,71,Order Linetype
COLUMN,72,Order Linetype 2
COLUMN,73,Order Linetype 3
COLUMN,74,Resulting Line
COLUMN,75,Resulting Line 2
COLUMN,76,Print Invoice
COLUMN,77,Reduction Code
COLUMN,78,Reduction Amount
COLUMN,79,Reduction Code 2
COLUMN,80,Reduction Pos
COLUMN,81,Split Code
COLUMN,82,Split Code 2
COLUMN,83,Mechanic Code
COLUMN,84,Salesman
COLUMN,85,Discount Table
COLUMN,86,Discount Code
COLUMN,87,Claim Code Ind
COLUMN,88,Claim Number
COLUMN,89,Kit Fixed Price Cd
COLUMN,90,R Delivery Date
COLUMN,91,Wust Code
COLUMN,92,Status
COLUMN,93,Stock
COLUMN,94,Gross Discount
COLUMN,95,Statistic Code
COLUMN,96,Decimal Indicator
COLUMN,97,Add Cost Code
COLUMN,98,Discount Perc
COLUMN,99,Discount Perc 2
COLUMN,100,Discount
COLUMN,101,Stdprice
COLUMN,102,Lines Net Value
COLUMN,103,Tax Code 1
COLUMN,104,Vat Rate Code
COLUMN,105,Tax C U
COLUMN,106,Tax Drawn
COLUMN,107,Line Misc Adds
COLUMN,108,Line Misc Adds Per
COLUMN,109,Claim Trouble Cd
COLUMN,110,Prod Code
COLUMN,111,Make Cd
COLUMN,112,Product Group
COLUMN,113,Prod Name
COLUMN,114,Location
COLUMN,115,Order Quantity
COLUMN,116,Delivery Quantity
COLUMN,117,Line Costs
COLUMN,118,Claim Return Code
COLUMN,119,Inv Total Number
COLUMN,120,Special Price
COLUMN,121,Sales Price
COLUMN,122,Sales Price Incl
COLUMN,123,Orig Order No
COLUMN,124,Orig Line No
COLUMN,125,Orig Creation Code
COLUMN,126,Back Order Cd
COLUMN,127,Back Order
COLUMN,128,Internal Transfer
COLUMN,129,Stdprice 2
COLUMN,130,Quantity Disc Code
COLUMN,131,Campaign Code
COLUMN,132,Replace Code
COLUMN,133,N Main Part No
COLUMN,134,Line Textline 1
COLUMN,135,Line Textline 2
COLUMN,136,Line Textline 3
COLUMN,137,Line Text Code
COLUMN,138,Line Code
COLUMN,139,Line Workshop
COLUMN,140,Back Reg Code
COLUMN,141,Requisition Num
COLUMN,142,Repair Code
COLUMN,143,Repair Group
COLUMN,144,Repair Name
COLUMN,145,Rate Price Code
COLUMN,146,Time Rate
COLUMN,147,Used Time
COLUMN,148,Est Time
COLUMN,149,Inv Time
COLUMN,150,Repair Code 2
COLUMN,151,Repair Pos
COLUMN,152,Line Comment
COLUMN,153,Inspection 1
COLUMN,154,Inspection 2
COLUMN,155,Work Date
COLUMN,156,Start Time
COLUMN,157,End Date
COLUMN,158,End Time
COLUMN,159,Workshop Area
COLUMN,160,W Main Repair No
COLUMN,161,Kit Group
COLUMN,162,Kit Code
COLUMN,163,Workshop Model
COLUMN,164,Kit Text
COLUMN,165,Kit Fixed Price
COLUMN,166,Class Rule
COLUMN,167,Kit One Line
COLUMN,168,Kit One Lineprice
COLUMN,169,Kit Catalog Code
COLUMN,170,Kit Parts Disc Per
COLUMN,171,Kit Work Disc Per
COLUMN,172,Kit Misc Disc Per
COLUMN,173,Kit Delete
COLUMN,174,Kit Price Diff
COLUMN,175,Kit Print Split
COLUMN,176,Type Ol
COLUMN,177,Transaction Code 2
COLUMN,178,Txt Ol
COLUMN,179,Amount Ol
COLUMN,180,Cash Account
COLUMN,181,Repair Code Accu
COLUMN,182,Recommended Price
COLUMN,183,Cost Price Work
COLUMN,184,Time Code 1
COLUMN,185,Used Time Type 1
COLUMN,186,Cost Price Type 1
COLUMN,187,Time Code 2
COLUMN,188,Used Time Type 2
COLUMN,189,Cost Price Type 2
COLUMN,190,Discount Allowance
COLUMN,191,Create After Rc
COLUMN,192,Repeat Repair
COLUMN,193,Inv Time Cost
COLUMN,194,Time Code
COLUMN,195,Factor Code
COLUMN,196,Reduction Factor 1
COLUMN,197,Resulting Line 1
COLUMN,198,External Stock
COLUMN,199,Repair Group Type
COLUMN,200,Automatic Created
COLUMN,201,Incomplete Line
COLUMN,202,Incomplete Line 2
COLUMN,203,Order Linetype 4
COLUMN,204,Consignment Code
COLUMN,205,Part Group
COLUMN,206,Misc 1
COLUMN,207,Misc 2
COLUMN,208,Misc 3
COLUMN,209,Misc 4
COLUMN,210,Misc 5
COLUMN,211,Misc 6
COLUMN,212,Order Line Transm
COLUMN,213,Orig Prod Code
COLUMN,214,Orig Make Cd
COLUMN,215,Orig Prod Group
COLUMN,216,Stock Shop List
COLUMN,217,Line Reference
COLUMN,218,Work Type Code
COLUMN,219,Customer Complaint
COLUMN,220,Job Code Descr
COLUMN,221,Text 200
COLUMN,222,Create Msc
COLUMN,223,Special Lock No
COLUMN,224,Supplier Code
COLUMN,225,Requisition Number
COLUMN,226,Used Time Int
COLUMN,227,Est Time Int
COLUMN,228,Inv Time Int
COLUMN,229,Make Time Unit
COLUMN,230,Deposit Type
COLUMN,231,Line Status
COLUMN,232,Sales Unit Std
COLUMN,233,Sales Unit Alt
COLUMN,234,Order Quantity Alt Unit
COLUMN,235,Oil
COLUMN,236,Deductible Vat
COLUMN,237,Qty Sold Negative
COLUMN,238,Orig Cost Price
COLUMN,239,Requested Quantity
COLUMN,240,Unique Ident
COLUMN,241,Stat Code
COLUMN,242,Stat Specify
COLUMN,243,Department Type Id
COLUMN,244,Description
COLUMN,245,Seller Code
COLUMN,246,Sel Name
COLUMN,247,Sel Department
COLUMN,248,Sel First Name
COLUMN,249,Sel Family Name
COLUMN,250,Customer Group
COLUMN,251,Cust Group Specify
COLUMN,252,Seller Code
COLUMN,253,Sel Name_Monteur
COLUMN,254,Sel Department
COLUMN,255,Sel First Name_Monteur
COLUMN,256,Sel Family Name_Monteur
COLUMN,257,Repair Group
COLUMN,258,Make Cd
COLUMN,259,Repair Grp Specify
COLUMN,260,Hauptbetrieb
COLUMN,261,Standort
COLUMN,262,Marke
COLUMN,263,Kostenstelle
COLUMN,264,Kundenart
COLUMN,265,Umsatzart
COLUMN,266,Geschäftsart
COLUMN,267,Serviceberater
COLUMN,268,Monteur
COLUMN,269,Auftragsart
COLUMN,270,Auftragsstatus
COLUMN,271,Umsatz Teile Service
COLUMN,272,Umsatz Lohn
COLUMN,273,Umsatz Teile (nur Teile)
COLUMN,274,Status_1
COLUMN,275,verk. Stunden
COLUMN,276,Soll-Stunden (Auftrag)
COLUMN,277,benutzte Zeit (Auftrag)
COLUMN,278,Umsatz Sonstiges
COLUMN,279,verk. AW
COLUMN,280,Kunde
COLUMN,281,Soll AW
COLUMN,282,benutzte AW
COLUMN,283,Global Make Cd
COLUMN,284,Description
COLUMN,285,Fabrikat_ori
COLUMN,286,Model
COLUMN,287,Fahrzeug
COLUMN,288,Einsatz Teile Service
COLUMN,289,Einsatz Teile (nur Teile)
COLUMN,290,Rechnung/Gutschrift
COLUMN,291,DB
COLUMN,292,DB 1 Teile SC
COLUMN,293,DB 1 Teile T
COLUMN,294,VK < EK
COLUMN,295,Order Number
COLUMN,296,AW_Faktor
COLUMN,297,Order Number Rg_Ausgang
COLUMN,298,Fabrikat

