core-jgi/migration/i1.0a-i1.0b/oracle/201304241641_IDEMPIERE-794.sql

4946 lines
149 KiB
SQL

UPDATE AD_Element SET ColumnName='C_Order_C_BPartner_Loc_ID' WHERE AD_Element_ID=202081
;
UPDATE AD_Column SET ColumnName='C_Order_C_BPartner_Loc_ID' WHERE AD_Column_ID=208010
;
UPDATE AD_Element SET ColumnName='M_MovementLine_ReversalLn_ID' WHERE AD_Element_ID=202115
;
UPDATE AD_Column SET ColumnName='M_MovementLine_ReversalLn_ID' WHERE AD_Column_ID=208257
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=201408
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=203613
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=206133
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=206646
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=206839
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Element_ID=200449
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_CreatedBy' WHERE AD_Column_ID=207186
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=201421
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=203626
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=206146
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=206659
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=206852
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Element_ID=200457
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_UpdatedBy' WHERE AD_Column_ID=207199
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=201387
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=203594
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=205920
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=206966
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=207166
;
UPDATE AD_Element SET ColumnName='AD_User_CreatedBy' WHERE AD_Element_ID=200430
;
UPDATE AD_Column SET ColumnName='AD_User_CreatedBy' WHERE AD_Column_ID=207392
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=201398
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=203604
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=205930
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=206976
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=207176
;
UPDATE AD_Element SET ColumnName='AD_User_UpdatedBy' WHERE AD_Element_ID=200441
;
UPDATE AD_Column SET ColumnName='AD_User_UpdatedBy' WHERE AD_Column_ID=207395
;
UPDATE AD_Element SET ColumnName='Bill_BP_CreatedBy' WHERE AD_Element_ID=201714
;
UPDATE AD_Column SET ColumnName='Bill_BP_CreatedBy' WHERE AD_Column_ID=206246
;
UPDATE AD_Element SET ColumnName='Bill_BP_Location_CreatedBy' WHERE AD_Element_ID=201767
;
UPDATE AD_Column SET ColumnName='Bill_BP_Location_CreatedBy' WHERE AD_Column_ID=206299
;
UPDATE AD_Element SET ColumnName='Bill_BP_Location_UpdatedBy' WHERE AD_Element_ID=201780
;
UPDATE AD_Column SET ColumnName='Bill_BP_Location_UpdatedBy' WHERE AD_Column_ID=206312
;
UPDATE AD_Element SET ColumnName='Bill_BP_UpdatedBy' WHERE AD_Element_ID=201762
;
UPDATE AD_Column SET ColumnName='Bill_BP_UpdatedBy' WHERE AD_Column_ID=206294
;
UPDATE AD_Element SET ColumnName='Bill_User_CreatedBy' WHERE AD_Element_ID=201789
;
UPDATE AD_Column SET ColumnName='Bill_User_CreatedBy' WHERE AD_Column_ID=206321
;
UPDATE AD_Element SET ColumnName='Bill_User_UpdatedBy' WHERE AD_Element_ID=201799
;
UPDATE AD_Column SET ColumnName='Bill_User_UpdatedBy' WHERE AD_Column_ID=206331
;
UPDATE AD_Element SET ColumnName='BP_CreatedBy' WHERE AD_Element_ID=200983
;
UPDATE AD_Column SET ColumnName='BP_CreatedBy' WHERE AD_Column_ID=203503
;
UPDATE AD_Element SET ColumnName='BP_CreatedBy' WHERE AD_Element_ID=200983
;
UPDATE AD_Column SET ColumnName='BP_CreatedBy' WHERE AD_Column_ID=205829
;
UPDATE AD_Element SET ColumnName='BP_Location_CreatedBy' WHERE AD_Element_ID=201036
;
UPDATE AD_Column SET ColumnName='BP_Location_CreatedBy' WHERE AD_Column_ID=203557
;
UPDATE AD_Element SET ColumnName='BP_Location_CreatedBy' WHERE AD_Element_ID=201036
;
UPDATE AD_Column SET ColumnName='BP_Location_CreatedBy' WHERE AD_Column_ID=205883
;
UPDATE AD_Element SET ColumnName='BP_Location_UpdatedBy' WHERE AD_Element_ID=201043
;
UPDATE AD_Column SET ColumnName='BP_Location_UpdatedBy' WHERE AD_Column_ID=203570
;
UPDATE AD_Element SET ColumnName='BP_Location_UpdatedBy' WHERE AD_Element_ID=201043
;
UPDATE AD_Column SET ColumnName='BP_Location_UpdatedBy' WHERE AD_Column_ID=205896
;
UPDATE AD_Element SET ColumnName='BP_UpdatedBy' WHERE AD_Element_ID=201029
;
UPDATE AD_Column SET ColumnName='BP_UpdatedBy' WHERE AD_Column_ID=203549
;
UPDATE AD_Element SET ColumnName='BP_UpdatedBy' WHERE AD_Element_ID=201029
;
UPDATE AD_Column SET ColumnName='BP_UpdatedBy' WHERE AD_Column_ID=205874
;
UPDATE AD_Element SET ColumnName='BPartner_CreatedBy' WHERE AD_Element_ID=201062
;
UPDATE AD_Column SET ColumnName='BPartner_CreatedBy' WHERE AD_Column_ID=203661
;
UPDATE AD_Element SET ColumnName='BPartner_UpdatedBy' WHERE AD_Element_ID=201112
;
UPDATE AD_Column SET ColumnName='BPartner_UpdatedBy' WHERE AD_Column_ID=203711
;
UPDATE AD_Element SET ColumnName='C_AllocationLine_CreatedBy' WHERE AD_Element_ID=201338
;
UPDATE AD_Column SET ColumnName='C_AllocationLine_CreatedBy' WHERE AD_Column_ID=204617
;
UPDATE AD_Element SET ColumnName='C_AllocationLine_UpdatedBy' WHERE AD_Element_ID=201343
;
UPDATE AD_Column SET ColumnName='C_AllocationLine_UpdatedBy' WHERE AD_Column_ID=204622
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=206592
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=206788
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=207075
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=207447
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=207594
;
UPDATE AD_Element SET ColumnName='C_BP_CreatedBy' WHERE AD_Element_ID=201911
;
UPDATE AD_Column SET ColumnName='C_BP_CreatedBy' WHERE AD_Column_ID=207753
;
UPDATE AD_Element SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Element_ID=202002
;
UPDATE AD_Column SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Column_ID=206986
;
UPDATE AD_Element SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Element_ID=202002
;
UPDATE AD_Column SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Column_ID=207129
;
UPDATE AD_Element SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Element_ID=202002
;
UPDATE AD_Column SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Column_ID=207374
;
UPDATE AD_Element SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Element_ID=202002
;
UPDATE AD_Column SET ColumnName='C_BP_Location_CreatedBy' WHERE AD_Column_ID=207505
;
UPDATE AD_Element SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Element_ID=202009
;
UPDATE AD_Column SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Column_ID=206999
;
UPDATE AD_Element SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Element_ID=202009
;
UPDATE AD_Column SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Column_ID=207142
;
UPDATE AD_Element SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Element_ID=202009
;
UPDATE AD_Column SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Column_ID=207387
;
UPDATE AD_Element SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Element_ID=202009
;
UPDATE AD_Column SET ColumnName='C_BP_Location_UpdatedBy' WHERE AD_Column_ID=207518
;
UPDATE AD_Element SET ColumnName='C_BP_Product_CreatedBy' WHERE AD_Element_ID=201598
;
UPDATE AD_Column SET ColumnName='C_BP_Product_CreatedBy' WHERE AD_Column_ID=205711
;
UPDATE AD_Element SET ColumnName='C_BP_Product_UpdatedBy' WHERE AD_Element_ID=201602
;
UPDATE AD_Column SET ColumnName='C_BP_Product_UpdatedBy' WHERE AD_Column_ID=205720
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=206636
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=206833
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=207120
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=207498
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=207642
;
UPDATE AD_Element SET ColumnName='C_BP_UpdatedBy' WHERE AD_Element_ID=201955
;
UPDATE AD_Column SET ColumnName='C_BP_UpdatedBy' WHERE AD_Column_ID=207803
;
UPDATE AD_Element SET ColumnName='C_BPartner_CreatedBy' WHERE AD_Element_ID=200354
;
UPDATE AD_Column SET ColumnName='C_BPartner_CreatedBy' WHERE AD_Column_ID=201295
;
UPDATE AD_Element SET ColumnName='C_BPartner_CreatedBy' WHERE AD_Element_ID=200354
;
UPDATE AD_Column SET ColumnName='C_BPartner_CreatedBy' WHERE AD_Column_ID=204045
;
UPDATE AD_Element SET ColumnName='C_BPartner_Location_CreatedBy' WHERE AD_Element_ID=200408
;
UPDATE AD_Column SET ColumnName='C_BPartner_Location_CreatedBy' WHERE AD_Column_ID=201349
;
UPDATE AD_Element SET ColumnName='C_BPartner_Location_CreatedBy' WHERE AD_Element_ID=200408
;
UPDATE AD_Column SET ColumnName='C_BPartner_Location_CreatedBy' WHERE AD_Column_ID=204102
;
UPDATE AD_Element SET ColumnName='C_BPartner_Location_UpdatedBy' WHERE AD_Element_ID=200415
;
UPDATE AD_Column SET ColumnName='C_BPartner_Location_UpdatedBy' WHERE AD_Column_ID=201362
;
UPDATE AD_Element SET ColumnName='C_BPartner_Location_UpdatedBy' WHERE AD_Element_ID=200415
;
UPDATE AD_Column SET ColumnName='C_BPartner_Location_UpdatedBy' WHERE AD_Column_ID=204115
;
UPDATE AD_Element SET ColumnName='C_BPartner_Product_CreatedBy' WHERE AD_Element_ID=201220
;
UPDATE AD_Column SET ColumnName='C_BPartner_Product_CreatedBy' WHERE AD_Column_ID=204022
;
UPDATE AD_Element SET ColumnName='C_BPartner_Product_UpdatedBy' WHERE AD_Element_ID=201227
;
UPDATE AD_Column SET ColumnName='C_BPartner_Product_UpdatedBy' WHERE AD_Column_ID=204031
;
UPDATE AD_Element SET ColumnName='C_BPartner_UpdatedBy' WHERE AD_Element_ID=200400
;
UPDATE AD_Column SET ColumnName='C_BPartner_UpdatedBy' WHERE AD_Column_ID=201341
;
UPDATE AD_Element SET ColumnName='C_BPartner_UpdatedBy' WHERE AD_Element_ID=200400
;
UPDATE AD_Column SET ColumnName='C_BPartner_UpdatedBy' WHERE AD_Column_ID=204096
;
UPDATE AD_Element SET ColumnName='C_Commission_CreatedBy' WHERE AD_Element_ID=201369
;
UPDATE AD_Column SET ColumnName='C_Commission_CreatedBy' WHERE AD_Column_ID=204761
;
UPDATE AD_Element SET ColumnName='C_Commission_UpdatedBy' WHERE AD_Element_ID=201374
;
UPDATE AD_Column SET ColumnName='C_Commission_UpdatedBy' WHERE AD_Column_ID=204771
;
UPDATE AD_Element SET ColumnName='C_CommissionDetail_CreatedBy' WHERE AD_Element_ID=201383
;
UPDATE AD_Column SET ColumnName='C_CommissionDetail_CreatedBy' WHERE AD_Column_ID=204781
;
UPDATE AD_Element SET ColumnName='C_CommissionDetail_UpdatedBy' WHERE AD_Element_ID=201386
;
UPDATE AD_Column SET ColumnName='C_CommissionDetail_UpdatedBy' WHERE AD_Column_ID=204784
;
UPDATE AD_Element SET ColumnName='C_CommmissionAmt_CreatedBy' WHERE AD_Element_ID=201377
;
UPDATE AD_Column SET ColumnName='C_CommmissionAmt_CreatedBy' WHERE AD_Column_ID=204775
;
UPDATE AD_Element SET ColumnName='C_CommssionAmt_UpdatedBy' WHERE AD_Element_ID=201380
;
UPDATE AD_Column SET ColumnName='C_CommssionAmt_UpdatedBy' WHERE AD_Column_ID=204778
;
UPDATE AD_Element SET ColumnName='C_DunningRunEntry_CreatedBy' WHERE AD_Element_ID=200333
;
UPDATE AD_Column SET ColumnName='C_DunningRunEntry_CreatedBy' WHERE AD_Column_ID=201260
;
UPDATE AD_Element SET ColumnName='C_DunningRunEntry_UpdatedBy' WHERE AD_Element_ID=200337
;
UPDATE AD_Column SET ColumnName='C_DunningRunEntry_UpdatedBy' WHERE AD_Column_ID=201264
;
UPDATE AD_Element SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Element_ID=200549
;
UPDATE AD_Column SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Column_ID=201520
;
UPDATE AD_Element SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Element_ID=200549
;
UPDATE AD_Column SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Column_ID=205587
;
UPDATE AD_Element SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Element_ID=200549
;
UPDATE AD_Column SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Column_ID=204264
;
UPDATE AD_Element SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Element_ID=200549
;
UPDATE AD_Column SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Column_ID=207550
;
UPDATE AD_Element SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Element_ID=200549
;
UPDATE AD_Column SET ColumnName='C_Invoice_CreatedBy' WHERE AD_Column_ID=204968
;
UPDATE AD_Element SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Element_ID=200557
;
UPDATE AD_Column SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Column_ID=201544
;
UPDATE AD_Element SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Element_ID=200557
;
UPDATE AD_Column SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Column_ID=205624
;
UPDATE AD_Element SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Element_ID=200557
;
UPDATE AD_Column SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Column_ID=204296
;
UPDATE AD_Element SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Element_ID=200557
;
UPDATE AD_Column SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Column_ID=207579
;
UPDATE AD_Element SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Element_ID=200557
;
UPDATE AD_Column SET ColumnName='C_Invoice_UpdatedBy' WHERE AD_Column_ID=205002
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_CreatedBy' WHERE AD_Element_ID=201426
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_CreatedBy' WHERE AD_Column_ID=204848
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_UpdatedBy' WHERE AD_Element_ID=201448
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_UpdatedBy' WHERE AD_Column_ID=204874
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=201372
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=203580
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=205906
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=207152
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=207402
;
UPDATE AD_Element SET ColumnName='C_Location_CreatedBy' WHERE AD_Element_ID=200418
;
UPDATE AD_Column SET ColumnName='C_Location_CreatedBy' WHERE AD_Column_ID=207526
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=201378
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=203585
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=205911
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=207157
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=207406
;
UPDATE AD_Element SET ColumnName='C_Location_UpdatedBy' WHERE AD_Element_ID=200421
;
UPDATE AD_Column SET ColumnName='C_Location_UpdatedBy' WHERE AD_Column_ID=207531
;
UPDATE AD_Element SET ColumnName='C_Order_CreatedBy' WHERE AD_Element_ID=201144
;
UPDATE AD_Column SET ColumnName='C_Order_CreatedBy' WHERE AD_Column_ID=203861
;
UPDATE AD_Element SET ColumnName='C_Order_CreatedBy' WHERE AD_Element_ID=201144
;
UPDATE AD_Column SET ColumnName='C_Order_CreatedBy' WHERE AD_Column_ID=204901
;
UPDATE AD_Element SET ColumnName='C_Order_CreatedBy' WHERE AD_Element_ID=201144
;
UPDATE AD_Column SET ColumnName='C_Order_CreatedBy' WHERE AD_Column_ID=208024
;
UPDATE AD_Element SET ColumnName='C_Order_UpdatedBy' WHERE AD_Element_ID=201160
;
UPDATE AD_Column SET ColumnName='C_Order_UpdatedBy' WHERE AD_Column_ID=203912
;
UPDATE AD_Element SET ColumnName='C_Order_UpdatedBy' WHERE AD_Element_ID=201160
;
UPDATE AD_Column SET ColumnName='C_Order_UpdatedBy' WHERE AD_Column_ID=208068
;
UPDATE AD_Element SET ColumnName='C_OrderLine_CreatedBy' WHERE AD_Element_ID=201397
;
UPDATE AD_Column SET ColumnName='C_OrderLine_CreatedBy' WHERE AD_Column_ID=207317
;
UPDATE AD_Element SET ColumnName='C_OrderLine_CreatedBy' WHERE AD_Element_ID=201397
;
UPDATE AD_Column SET ColumnName='C_OrderLine_CreatedBy' WHERE AD_Column_ID=204798
;
UPDATE AD_Element SET ColumnName='C_OrderLine_UpdatedBy' WHERE AD_Element_ID=201414
;
UPDATE AD_Column SET ColumnName='C_OrderLine_UpdatedBy' WHERE AD_Column_ID=207352
;
UPDATE AD_Element SET ColumnName='C_OrderLine_UpdatedBy' WHERE AD_Element_ID=201414
;
UPDATE AD_Column SET ColumnName='C_OrderLine_UpdatedBy' WHERE AD_Column_ID=204833
;
UPDATE AD_Element SET ColumnName='C_Payment_CreatedBy' WHERE AD_Element_ID=200569
;
UPDATE AD_Column SET ColumnName='C_Payment_CreatedBy' WHERE AD_Column_ID=201584
;
UPDATE AD_Element SET ColumnName='C_Payment_CreatedBy' WHERE AD_Element_ID=200569
;
UPDATE AD_Column SET ColumnName='C_Payment_CreatedBy' WHERE AD_Column_ID=206534
;
UPDATE AD_Element SET ColumnName='C_Payment_UpdatedBy' WHERE AD_Element_ID=200577
;
UPDATE AD_Column SET ColumnName='C_Payment_UpdatedBy' WHERE AD_Column_ID=201618
;
UPDATE AD_Element SET ColumnName='C_Payment_UpdatedBy' WHERE AD_Element_ID=200577
;
UPDATE AD_Column SET ColumnName='C_Payment_UpdatedBy' WHERE AD_Column_ID=206575
;
UPDATE AD_Element SET ColumnName='C_PaySelection_CreatedBy' WHERE AD_Element_ID=201888
;
UPDATE AD_Column SET ColumnName='C_PaySelection_CreatedBy' WHERE AD_Column_ID=206503
;
UPDATE AD_Element SET ColumnName='C_PaySelection_UpdatedBy' WHERE AD_Element_ID=201895
;
UPDATE AD_Column SET ColumnName='C_PaySelection_UpdatedBy' WHERE AD_Column_ID=206511
;
UPDATE AD_Element SET ColumnName='C_PaySelectionCheck_CreatedBy' WHERE AD_Element_ID=201880
;
UPDATE AD_Column SET ColumnName='C_PaySelectionCheck_CreatedBy' WHERE AD_Column_ID=206491
;
UPDATE AD_Element SET ColumnName='C_PaySelectionCheck_UpdatedBy' WHERE AD_Element_ID=201884
;
UPDATE AD_Column SET ColumnName='C_PaySelectionCheck_UpdatedBy' WHERE AD_Column_ID=206499
;
UPDATE AD_Element SET ColumnName='C_PaySelectionLine_CreatedBy' WHERE AD_Element_ID=201266
;
UPDATE AD_Column SET ColumnName='C_PaySelectionLine_CreatedBy' WHERE AD_Column_ID=204239
;
UPDATE AD_Element SET ColumnName='C_PaySelectionLine_UpdatedBy' WHERE AD_Element_ID=201271
;
UPDATE AD_Column SET ColumnName='C_PaySelectionLine_UpdatedBy' WHERE AD_Column_ID=204246
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_CreatedBy' WHERE AD_Element_ID=202167
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_CreatedBy' WHERE AD_Column_ID=208324
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_UpdatedBy' WHERE AD_Element_ID=202182
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_UpdatedBy' WHERE AD_Column_ID=208339
;
UPDATE AD_Element SET ColumnName='C_Project_CreatedBy' WHERE AD_Element_ID=201963
;
UPDATE AD_Column SET ColumnName='C_Project_CreatedBy' WHERE AD_Column_ID=206682
;
UPDATE AD_Element SET ColumnName='C_Project_UpdatedBy' WHERE AD_Element_ID=201978
;
UPDATE AD_Column SET ColumnName='C_Project_UpdatedBy' WHERE AD_Column_ID=206709
;
UPDATE AD_Element SET ColumnName='Fact_Acct_UpdatedBy' WHERE AD_Element_ID=201585
;
UPDATE AD_Column SET ColumnName='Fact_Acct_UpdatedBy' WHERE AD_Column_ID=205524
;
UPDATE AD_Element SET ColumnName='M_InOut_CreatedBy' WHERE AD_Element_ID=202063
;
UPDATE AD_Column SET ColumnName='M_InOut_CreatedBy' WHERE AD_Column_ID=207864
;
UPDATE AD_Element SET ColumnName='M_InOut_UpdatedBy' WHERE AD_Element_ID=202066
;
UPDATE AD_Column SET ColumnName='M_InOut_UpdatedBy' WHERE AD_Column_ID=207882
;
UPDATE AD_Element SET ColumnName='M_InOutLine_CreatedBy' WHERE AD_Element_ID=202123
;
UPDATE AD_Column SET ColumnName='M_InOutLine_CreatedBy' WHERE AD_Column_ID=208273
;
UPDATE AD_Element SET ColumnName='M_InOutLine_UpdatedBy' WHERE AD_Element_ID=202138
;
UPDATE AD_Column SET ColumnName='M_InOutLine_UpdatedBy' WHERE AD_Column_ID=208293
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_CreatedBy' WHERE AD_Element_ID=202094
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_CreatedBy' WHERE AD_Column_ID=208228
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_UpdatedBy' WHERE AD_Element_ID=202103
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_UpdatedBy' WHERE AD_Column_ID=208242
;
UPDATE AD_Element SET ColumnName='M_MovementLine_CreatedBy' WHERE AD_Element_ID=202107
;
UPDATE AD_Column SET ColumnName='M_MovementLine_CreatedBy' WHERE AD_Column_ID=208246
;
UPDATE AD_Element SET ColumnName='M_MovementLine_UpdatedBy' WHERE AD_Element_ID=202119
;
UPDATE AD_Column SET ColumnName='M_MovementLine_UpdatedBy' WHERE AD_Column_ID=208261
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=205651
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=203921
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=206715
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=207236
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=204699
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=205014
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=207664
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=207809
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=207927
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=208116
;
UPDATE AD_Element SET ColumnName='M_Product_CreatedBy' WHERE AD_Element_ID=201168
;
UPDATE AD_Column SET ColumnName='M_Product_CreatedBy' WHERE AD_Column_ID=208180
;
UPDATE AD_Element SET ColumnName='M_Product_PO_CreatedBy' WHERE AD_Element_ID=201188
;
UPDATE AD_Column SET ColumnName='M_Product_PO_CreatedBy' WHERE AD_Column_ID=203974
;
UPDATE AD_Element SET ColumnName='M_Product_PO_CreatedBy' WHERE AD_Element_ID=201188
;
UPDATE AD_Column SET ColumnName='M_Product_PO_CreatedBy' WHERE AD_Column_ID=207983
;
UPDATE AD_Element SET ColumnName='M_Product_PO_UpdatedBy' WHERE AD_Element_ID=201199
;
UPDATE AD_Column SET ColumnName='M_Product_PO_UpdatedBy' WHERE AD_Column_ID=203995
;
UPDATE AD_Element SET ColumnName='M_Product_PO_UpdatedBy' WHERE AD_Element_ID=201199
;
UPDATE AD_Column SET ColumnName='M_Product_PO_UpdatedBy' WHERE AD_Column_ID=208001
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=205694
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=203965
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=206761
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=207280
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=204745
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=205059
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=207709
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=207855
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=207975
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=208158
;
UPDATE AD_Element SET ColumnName='M_Product_UpdatedBy' WHERE AD_Element_ID=201181
;
UPDATE AD_Column SET ColumnName='M_Product_UpdatedBy' WHERE AD_Column_ID=208224
;
UPDATE AD_Element SET ColumnName='M_ProductionLine_CreatedBy' WHERE AD_Element_ID=202141
;
UPDATE AD_Column SET ColumnName='M_ProductionLine_CreatedBy' WHERE AD_Column_ID=208298
;
UPDATE AD_Element SET ColumnName='M_ProductionLine_UpdatedBy' WHERE AD_Element_ID=202151
;
UPDATE AD_Column SET ColumnName='M_ProductionLine_UpdatedBy' WHERE AD_Column_ID=208308
;
UPDATE AD_Element SET ColumnName='M_ProductionPlan_CreatedBy' WHERE AD_Element_ID=202154
;
UPDATE AD_Column SET ColumnName='M_ProductionPlan_CreatedBy' WHERE AD_Column_ID=208311
;
UPDATE AD_Element SET ColumnName='M_ProductionPlan_UpdatedBy' WHERE AD_Element_ID=202163
;
UPDATE AD_Column SET ColumnName='M_ProductionPlan_UpdatedBy' WHERE AD_Column_ID=208320
;
UPDATE AD_Element SET ColumnName='M_Storage_UpdatedBy' WHERE AD_Element_ID=202087
;
UPDATE AD_Column SET ColumnName='M_Storage_UpdatedBy' WHERE AD_Column_ID=208107
;
UPDATE AD_Element SET ColumnName='M_Transaction_CreatedBy' WHERE AD_Element_ID=202075
;
UPDATE AD_Column SET ColumnName='M_Transaction_CreatedBy' WHERE AD_Column_ID=207914
;
UPDATE AD_Element SET ColumnName='M_Transaction_CreatedBy' WHERE AD_Element_ID=202075
;
UPDATE AD_Column SET ColumnName='M_Transaction_CreatedBy' WHERE AD_Column_ID=208167
;
UPDATE AD_Element SET ColumnName='M_Transation_UpdatedBy' WHERE AD_Element_ID=202078
;
UPDATE AD_Column SET ColumnName='M_Transation_UpdatedBy' WHERE AD_Column_ID=207922
;
UPDATE AD_Element SET ColumnName='M_Transction_UpdatedBy' WHERE AD_Element_ID=202089
;
UPDATE AD_Column SET ColumnName='M_Transction_UpdatedBy' WHERE AD_Column_ID=208171
;
UPDATE AD_Element SET ColumnName='S_RAssignment_UpdatedBy' WHERE AD_Element_ID=201610
;
UPDATE AD_Column SET ColumnName='S_RAssignment_UpdatedBy' WHERE AD_Column_ID=205733
;
UPDATE AD_Element SET ColumnName='S_ResourceAssignment_UpdatedBy' WHERE AD_Element_ID=201209
;
UPDATE AD_Column SET ColumnName='S_ResourceAssignment_UpdatedBy' WHERE AD_Column_ID=204008
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_CreatedBy' WHERE AD_Element_ID=201653
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_CreatedBy' WHERE AD_Column_ID=206181
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_CreatedBy' WHERE AD_Element_ID=201653
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_CreatedBy' WHERE AD_Column_ID=206901
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_UpdatedBy' WHERE AD_Element_ID=201699
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_UpdatedBy' WHERE AD_Column_ID=206231
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_UpdatedBy' WHERE AD_Element_ID=201699
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_UpdatedBy' WHERE AD_Column_ID=206951
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_CreatedBy' WHERE AD_Element_ID=200489
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_CreatedBy' WHERE AD_Column_ID=201453
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_UpdatedBy' WHERE AD_Element_ID=200535
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_UpdatedBy' WHERE AD_Column_ID=201499
;
UPDATE AD_Element SET ColumnName='SalesRep_CreatedBy' WHERE AD_Element_ID=200466
;
UPDATE AD_Column SET ColumnName='SalesRep_CreatedBy' WHERE AD_Column_ID=201430
;
UPDATE AD_Element SET ColumnName='SalesRep_CreatedBy' WHERE AD_Element_ID=200466
;
UPDATE AD_Column SET ColumnName='SalesRep_CreatedBy' WHERE AD_Column_ID=203635
;
UPDATE AD_Element SET ColumnName='SalesRep_CreatedBy' WHERE AD_Element_ID=200466
;
UPDATE AD_Column SET ColumnName='SalesRep_CreatedBy' WHERE AD_Column_ID=206155
;
UPDATE AD_Element SET ColumnName='SalesRep_CreatedBy' WHERE AD_Element_ID=200466
;
UPDATE AD_Column SET ColumnName='SalesRep_CreatedBy' WHERE AD_Column_ID=206875
;
UPDATE AD_Element SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Element_ID=200476
;
UPDATE AD_Column SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Column_ID=201440
;
UPDATE AD_Element SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Element_ID=200476
;
UPDATE AD_Column SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Column_ID=203647
;
UPDATE AD_Element SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Element_ID=200476
;
UPDATE AD_Column SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Column_ID=206167
;
UPDATE AD_Element SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Element_ID=200476
;
UPDATE AD_Column SET ColumnName='SalesRep_UpdatedBy' WHERE AD_Column_ID=206887
;
UPDATE AD_Element SET ColumnName='T_InvoiceGL_CreatedBy' WHERE AD_Element_ID=201567
;
UPDATE AD_Column SET ColumnName='T_InvoiceGL_CreatedBy' WHERE AD_Column_ID=205473
;
UPDATE AD_Element SET ColumnName='T_InvoiceGL_UpdatedBy' WHERE AD_Element_ID=201571
;
UPDATE AD_Column SET ColumnName='T_InvoiceGL_UpdatedBy' WHERE AD_Column_ID=205477
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=201404
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=203609
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=206129
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=206642
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=206835
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Element_ID=200447
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_AD_Org_ID' WHERE AD_Column_ID=207182
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Element_ID=201642
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Column_ID=206139
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Element_ID=201642
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Column_ID=206845
;
UPDATE AD_Element SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Element_ID=201642
;
UPDATE AD_Column SET ColumnName='AD_OrgInfo_M_Warehouse_ID' WHERE AD_Column_ID=207192
;
UPDATE AD_Element SET ColumnName='AD_User_AD_AD_OrgTrx_ID' WHERE AD_Element_ID=202508
;
UPDATE AD_Column SET ColumnName='AD_User_AD_AD_OrgTrx_ID' WHERE AD_Column_ID=210221
;
UPDATE AD_Element SET ColumnName='Bill_BP_AD_Org_ID' WHERE AD_Element_ID=201706
;
UPDATE AD_Column SET ColumnName='Bill_BP_AD_Org_ID' WHERE AD_Column_ID=206238
;
UPDATE AD_Element SET ColumnName='Bill_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201705
;
UPDATE AD_Column SET ColumnName='Bill_BP_AD_OrgBP_ID' WHERE AD_Column_ID=206237
;
UPDATE AD_Element SET ColumnName='Bill_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201707
;
UPDATE AD_Column SET ColumnName='Bill_BP_BPartner_Parent_ID' WHERE AD_Column_ID=206239
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_BP_Group_ID' WHERE AD_Element_ID=201708
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_BP_Group_ID' WHERE AD_Column_ID=206240
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_Dunning_ID' WHERE AD_Element_ID=201709
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_Dunning_ID' WHERE AD_Column_ID=206241
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_Greeting_ID' WHERE AD_Element_ID=201710
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_Greeting_ID' WHERE AD_Column_ID=206242
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201711
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=206243
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201712
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=206244
;
UPDATE AD_Element SET ColumnName='Bill_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201715
;
UPDATE AD_Column SET ColumnName='Bill_BP_C_TaxGroup_ID' WHERE AD_Column_ID=206247
;
UPDATE AD_Element SET ColumnName='Bill_BP_Location_AD_Org_ID' WHERE AD_Element_ID=201764
;
UPDATE AD_Column SET ColumnName='Bill_BP_Location_AD_Org_ID' WHERE AD_Column_ID=206296
;
UPDATE AD_Element SET ColumnName='Bill_BP_Location_C_BPartner_ID' WHERE AD_Element_ID=201765
;
UPDATE AD_Column SET ColumnName='Bill_BP_Location_C_BPartner_ID' WHERE AD_Column_ID=206297
;
UPDATE AD_Element SET ColumnName='Bill_BP_Location_C_SalesReg_ID' WHERE AD_Element_ID=201768
;
UPDATE AD_Column SET ColumnName='Bill_BP_Location_C_SalesReg_ID' WHERE AD_Column_ID=206300
;
UPDATE AD_Element SET ColumnName='Bill_BP_Logo_ID' WHERE AD_Element_ID=201737
;
UPDATE AD_Column SET ColumnName='Bill_BP_Logo_ID' WHERE AD_Column_ID=206269
;
UPDATE AD_Element SET ColumnName='Bill_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201738
;
UPDATE AD_Column SET ColumnName='Bill_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=206270
;
UPDATE AD_Element SET ColumnName='Bill_BP_M_PriceList_ID' WHERE AD_Element_ID=201739
;
UPDATE AD_Column SET ColumnName='Bill_BP_M_PriceList_ID' WHERE AD_Column_ID=206271
;
UPDATE AD_Element SET ColumnName='Bill_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201744
;
UPDATE AD_Column SET ColumnName='Bill_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=206276
;
UPDATE AD_Element SET ColumnName='Bill_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201745
;
UPDATE AD_Column SET ColumnName='Bill_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=206277
;
UPDATE AD_Element SET ColumnName='Bill_BP_PO_PriceList_ID' WHERE AD_Element_ID=201746
;
UPDATE AD_Column SET ColumnName='Bill_BP_PO_PriceList_ID' WHERE AD_Column_ID=206278
;
UPDATE AD_Element SET ColumnName='Bill_BP_SalesRep_ID' WHERE AD_Element_ID=201751
;
UPDATE AD_Column SET ColumnName='Bill_BP_SalesRep_ID' WHERE AD_Column_ID=206283
;
UPDATE AD_Element SET ColumnName='Bill_User_AD_Org_ID' WHERE AD_Element_ID=201781
;
UPDATE AD_Column SET ColumnName='Bill_User_AD_Org_ID' WHERE AD_Column_ID=206313
;
UPDATE AD_Element SET ColumnName='Bill_User_AD_OrgTrx_ID' WHERE AD_Element_ID=201782
;
UPDATE AD_Column SET ColumnName='Bill_User_AD_OrgTrx_ID' WHERE AD_Column_ID=206314
;
UPDATE AD_Element SET ColumnName='Bill_User_C_BP_Location_ID' WHERE AD_Element_ID=201785
;
UPDATE AD_Column SET ColumnName='Bill_User_C_BP_Location_ID' WHERE AD_Column_ID=206317
;
UPDATE AD_Element SET ColumnName='Bill_User_C_BPartner_ID' WHERE AD_Element_ID=201784
;
UPDATE AD_Column SET ColumnName='Bill_User_C_BPartner_ID' WHERE AD_Column_ID=206316
;
UPDATE AD_Element SET ColumnName='Bill_User_C_Greeting_ID' WHERE AD_Element_ID=201786
;
UPDATE AD_Column SET ColumnName='Bill_User_C_Greeting_ID' WHERE AD_Column_ID=206318
;
UPDATE AD_Element SET ColumnName='Bill_User_Supervisor_ID' WHERE AD_Element_ID=201797
;
UPDATE AD_Column SET ColumnName='Bill_User_Supervisor_ID' WHERE AD_Column_ID=206329
;
UPDATE AD_Element SET ColumnName='BP_AD_Org_ID' WHERE AD_Element_ID=200975
;
UPDATE AD_Column SET ColumnName='BP_AD_Org_ID' WHERE AD_Column_ID=203495
;
UPDATE AD_Element SET ColumnName='BP_AD_Org_ID' WHERE AD_Element_ID=200975
;
UPDATE AD_Column SET ColumnName='BP_AD_Org_ID' WHERE AD_Column_ID=210225
;
UPDATE AD_Element SET ColumnName='BP_AD_OrgBP_ID' WHERE AD_Element_ID=200974
;
UPDATE AD_Column SET ColumnName='BP_AD_OrgBP_ID' WHERE AD_Column_ID=203494
;
UPDATE AD_Element SET ColumnName='BP_AD_OrgBP_ID' WHERE AD_Element_ID=200974
;
UPDATE AD_Column SET ColumnName='BP_AD_OrgBP_ID' WHERE AD_Column_ID=210224
;
UPDATE AD_Element SET ColumnName='BP_BPartner_Parent_ID' WHERE AD_Element_ID=200976
;
UPDATE AD_Column SET ColumnName='BP_BPartner_Parent_ID' WHERE AD_Column_ID=210217
;
UPDATE AD_Element SET ColumnName='BP_BPartner_Parent_ID' WHERE AD_Element_ID=200976
;
UPDATE AD_Column SET ColumnName='BP_BPartner_Parent_ID' WHERE AD_Column_ID=210226
;
UPDATE AD_Element SET ColumnName='BP_C_BP_Group_ID' WHERE AD_Element_ID=200977
;
UPDATE AD_Column SET ColumnName='BP_C_BP_Group_ID' WHERE AD_Column_ID=210178
;
UPDATE AD_Element SET ColumnName='BP_C_BP_Group_ID' WHERE AD_Element_ID=200977
;
UPDATE AD_Column SET ColumnName='BP_C_BP_Group_ID' WHERE AD_Column_ID=210227
;
UPDATE AD_Element SET ColumnName='BP_C_Dunning_ID' WHERE AD_Element_ID=202507
;
UPDATE AD_Column SET ColumnName='BP_C_Dunning_ID' WHERE AD_Column_ID=210218
;
UPDATE AD_Element SET ColumnName='BP_C_Dunning_ID' WHERE AD_Element_ID=202507
;
UPDATE AD_Column SET ColumnName='BP_C_Dunning_ID' WHERE AD_Column_ID=210228
;
UPDATE AD_Element SET ColumnName='BP_C_Greeting_ID' WHERE AD_Element_ID=200979
;
UPDATE AD_Column SET ColumnName='BP_C_Greeting_ID' WHERE AD_Column_ID=203499
;
UPDATE AD_Element SET ColumnName='BP_C_Greeting_ID' WHERE AD_Element_ID=200979
;
UPDATE AD_Column SET ColumnName='BP_C_Greeting_ID' WHERE AD_Column_ID=210229
;
UPDATE AD_Element SET ColumnName='BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=200980
;
UPDATE AD_Column SET ColumnName='BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=210219
;
UPDATE AD_Element SET ColumnName='BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=200980
;
UPDATE AD_Column SET ColumnName='BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=210230
;
UPDATE AD_Element SET ColumnName='BP_C_PaymentTerm_ID' WHERE AD_Element_ID=200981
;
UPDATE AD_Column SET ColumnName='BP_C_PaymentTerm_ID' WHERE AD_Column_ID=203501
;
UPDATE AD_Element SET ColumnName='BP_C_PaymentTerm_ID' WHERE AD_Element_ID=200981
;
UPDATE AD_Column SET ColumnName='BP_C_PaymentTerm_ID' WHERE AD_Column_ID=210231
;
UPDATE AD_Element SET ColumnName='BP_C_TaxGroup_ID' WHERE AD_Element_ID=200984
;
UPDATE AD_Column SET ColumnName='BP_C_TaxGroup_ID' WHERE AD_Column_ID=203504
;
UPDATE AD_Element SET ColumnName='BP_C_TaxGroup_ID' WHERE AD_Element_ID=200984
;
UPDATE AD_Column SET ColumnName='BP_C_TaxGroup_ID' WHERE AD_Column_ID=210232
;
UPDATE AD_Element SET ColumnName='BP_Location_AD_Org_ID' WHERE AD_Element_ID=201033
;
UPDATE AD_Column SET ColumnName='BP_Location_AD_Org_ID' WHERE AD_Column_ID=203554
;
UPDATE AD_Element SET ColumnName='BP_Location_AD_Org_ID' WHERE AD_Element_ID=201033
;
UPDATE AD_Column SET ColumnName='BP_Location_AD_Org_ID' WHERE AD_Column_ID=210240
;
UPDATE AD_Element SET ColumnName='BP_Location_C_BPartner_ID' WHERE AD_Element_ID=201034
;
UPDATE AD_Column SET ColumnName='BP_Location_C_BPartner_ID' WHERE AD_Column_ID=203555
;
UPDATE AD_Element SET ColumnName='BP_Location_C_BPartner_ID' WHERE AD_Element_ID=201034
;
UPDATE AD_Column SET ColumnName='BP_Location_C_BPartner_ID' WHERE AD_Column_ID=205881
;
UPDATE AD_Element SET ColumnName='BP_Logo_ID' WHERE AD_Element_ID=201005
;
UPDATE AD_Column SET ColumnName='BP_Logo_ID' WHERE AD_Column_ID=203525
;
UPDATE AD_Element SET ColumnName='BP_Logo_ID' WHERE AD_Element_ID=201005
;
UPDATE AD_Column SET ColumnName='BP_Logo_ID' WHERE AD_Column_ID=210233
;
UPDATE AD_Element SET ColumnName='BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201006
;
UPDATE AD_Column SET ColumnName='BP_M_DiscountSchema_ID' WHERE AD_Column_ID=203526
;
UPDATE AD_Element SET ColumnName='BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201006
;
UPDATE AD_Column SET ColumnName='BP_M_DiscountSchema_ID' WHERE AD_Column_ID=210234
;
UPDATE AD_Element SET ColumnName='BP_M_PriceList_ID' WHERE AD_Element_ID=201007
;
UPDATE AD_Column SET ColumnName='BP_M_PriceList_ID' WHERE AD_Column_ID=203527
;
UPDATE AD_Element SET ColumnName='BP_M_PriceList_ID' WHERE AD_Element_ID=201007
;
UPDATE AD_Column SET ColumnName='BP_M_PriceList_ID' WHERE AD_Column_ID=210235
;
UPDATE AD_Element SET ColumnName='BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201012
;
UPDATE AD_Column SET ColumnName='BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=203532
;
UPDATE AD_Element SET ColumnName='BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201012
;
UPDATE AD_Column SET ColumnName='BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=210236
;
UPDATE AD_Element SET ColumnName='BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201013
;
UPDATE AD_Column SET ColumnName='BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=203533
;
UPDATE AD_Element SET ColumnName='BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201013
;
UPDATE AD_Column SET ColumnName='BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=210237
;
UPDATE AD_Element SET ColumnName='BP_PO_PriceList_ID' WHERE AD_Element_ID=201014
;
UPDATE AD_Column SET ColumnName='BP_PO_PriceList_ID' WHERE AD_Column_ID=203534
;
UPDATE AD_Element SET ColumnName='BP_PO_PriceList_ID' WHERE AD_Element_ID=201014
;
UPDATE AD_Column SET ColumnName='BP_PO_PriceList_ID' WHERE AD_Column_ID=210238
;
UPDATE AD_Element SET ColumnName='BP_SalesRep_ID' WHERE AD_Element_ID=201018
;
UPDATE AD_Column SET ColumnName='BP_SalesRep_ID' WHERE AD_Column_ID=210220
;
UPDATE AD_Element SET ColumnName='BP_SalesRep_ID' WHERE AD_Element_ID=201018
;
UPDATE AD_Column SET ColumnName='BP_SalesRep_ID' WHERE AD_Column_ID=210239
;
UPDATE AD_Element SET ColumnName='BPartner_AD_Org_ID' WHERE AD_Element_ID=201054
;
UPDATE AD_Column SET ColumnName='BPartner_AD_Org_ID' WHERE AD_Column_ID=203653
;
UPDATE AD_Element SET ColumnName='BPartner_AD_OrgBP_ID' WHERE AD_Element_ID=201053
;
UPDATE AD_Column SET ColumnName='BPartner_AD_OrgBP_ID' WHERE AD_Column_ID=203652
;
UPDATE AD_Element SET ColumnName='BPartner_BPartner_Parent_ID' WHERE AD_Element_ID=201055
;
UPDATE AD_Column SET ColumnName='BPartner_BPartner_Parent_ID' WHERE AD_Column_ID=203654
;
UPDATE AD_Element SET ColumnName='BPartner_C_BP_Group_ID' WHERE AD_Element_ID=201056
;
UPDATE AD_Column SET ColumnName='BPartner_C_BP_Group_ID' WHERE AD_Column_ID=203655
;
UPDATE AD_Element SET ColumnName='BPartner_C_Dunning_ID' WHERE AD_Element_ID=201057
;
UPDATE AD_Column SET ColumnName='BPartner_C_Dunning_ID' WHERE AD_Column_ID=203656
;
UPDATE AD_Element SET ColumnName='BPartner_C_Greeting_ID' WHERE AD_Element_ID=201058
;
UPDATE AD_Column SET ColumnName='BPartner_C_Greeting_ID' WHERE AD_Column_ID=203657
;
UPDATE AD_Element SET ColumnName='BPartner_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201059
;
UPDATE AD_Column SET ColumnName='BPartner_C_InvoiceSchedule_ID' WHERE AD_Column_ID=203658
;
UPDATE AD_Element SET ColumnName='BPartner_C_PaymentTerm_ID' WHERE AD_Element_ID=201060
;
UPDATE AD_Column SET ColumnName='BPartner_C_PaymentTerm_ID' WHERE AD_Column_ID=203659
;
UPDATE AD_Element SET ColumnName='BPartner_C_TaxGroup_ID' WHERE AD_Element_ID=201063
;
UPDATE AD_Column SET ColumnName='BPartner_C_TaxGroup_ID' WHERE AD_Column_ID=203662
;
UPDATE AD_Element SET ColumnName='BPartner_Logo_ID' WHERE AD_Element_ID=201085
;
UPDATE AD_Column SET ColumnName='BPartner_Logo_ID' WHERE AD_Column_ID=203684
;
UPDATE AD_Element SET ColumnName='BPartner_M_DiscountSchema_ID' WHERE AD_Element_ID=201086
;
UPDATE AD_Column SET ColumnName='BPartner_M_DiscountSchema_ID' WHERE AD_Column_ID=203685
;
UPDATE AD_Element SET ColumnName='BPartner_M_PriceList_ID' WHERE AD_Element_ID=201087
;
UPDATE AD_Column SET ColumnName='BPartner_M_PriceList_ID' WHERE AD_Column_ID=203686
;
UPDATE AD_Element SET ColumnName='BPartner_PO_DiscountSchema_ID' WHERE AD_Element_ID=201093
;
UPDATE AD_Column SET ColumnName='BPartner_PO_DiscountSchema_ID' WHERE AD_Column_ID=203692
;
UPDATE AD_Element SET ColumnName='BPartner_PO_PaymentTerm_ID' WHERE AD_Element_ID=201094
;
UPDATE AD_Column SET ColumnName='BPartner_PO_PaymentTerm_ID' WHERE AD_Column_ID=203693
;
UPDATE AD_Element SET ColumnName='BPartner_PO_PriceList_ID' WHERE AD_Element_ID=201095
;
UPDATE AD_Column SET ColumnName='BPartner_PO_PriceList_ID' WHERE AD_Column_ID=203694
;
UPDATE AD_Element SET ColumnName='BPartner_SalesRep_ID' WHERE AD_Element_ID=201100
;
UPDATE AD_Column SET ColumnName='BPartner_SalesRep_ID' WHERE AD_Column_ID=203699
;
UPDATE AD_Element SET ColumnName='C_AcctSchema_AD_Org_ID' WHERE AD_Element_ID=201511
;
UPDATE AD_Column SET ColumnName='C_AcctSchema_AD_Org_ID' WHERE AD_Column_ID=205067
;
UPDATE AD_Element SET ColumnName='C_AcctSchema_AD_Org_ID' WHERE AD_Element_ID=201511
;
UPDATE AD_Column SET ColumnName='C_AcctSchema_AD_Org_ID' WHERE AD_Column_ID=207713
;
UPDATE AD_Element SET ColumnName='C_AllocationLine_AD_Org_ID' WHERE AD_Element_ID=201336
;
UPDATE AD_Column SET ColumnName='C_AllocationLine_AD_Org_ID' WHERE AD_Column_ID=204615
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=206584
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=206780
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=207067
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=207440
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=207586
;
UPDATE AD_Element SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Element_ID=201903
;
UPDATE AD_Column SET ColumnName='C_BP_AD_Org_ID' WHERE AD_Column_ID=207746
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=206583
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=206779
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=207066
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=207439
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=207585
;
UPDATE AD_Element SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201902
;
UPDATE AD_Column SET ColumnName='C_BP_AD_OrgBP_ID' WHERE AD_Column_ID=207745
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=206585
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=206781
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=207068
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=207441
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=207587
;
UPDATE AD_Element SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201904
;
UPDATE AD_Column SET ColumnName='C_BP_BPartner_Parent_ID' WHERE AD_Column_ID=207747
;
UPDATE AD_Element SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Element_ID=201905
;
UPDATE AD_Column SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Column_ID=206586
;
UPDATE AD_Element SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Element_ID=201905
;
UPDATE AD_Column SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Column_ID=206782
;
UPDATE AD_Element SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Element_ID=201905
;
UPDATE AD_Column SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Column_ID=207069
;
UPDATE AD_Element SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Element_ID=201905
;
UPDATE AD_Column SET ColumnName='C_BP_C_BP_Group_ID' WHERE AD_Column_ID=207588
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=206587
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=206783
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=207070
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=207442
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=207589
;
UPDATE AD_Element SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Element_ID=201906
;
UPDATE AD_Column SET ColumnName='C_BP_C_Dunning_ID' WHERE AD_Column_ID=207748
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=206588
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=206784
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=207071
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=207443
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=207590
;
UPDATE AD_Element SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Element_ID=201907
;
UPDATE AD_Column SET ColumnName='C_BP_C_Greeting_ID' WHERE AD_Column_ID=207749
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=206589
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=206785
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=207072
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=207444
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=207591
;
UPDATE AD_Element SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Element_ID=201908
;
UPDATE AD_Column SET ColumnName='C_BP_C_InvoiceSchedule_ID' WHERE AD_Column_ID=207750
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=206590
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=206786
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=207073
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=207445
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=207592
;
UPDATE AD_Element SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Element_ID=201909
;
UPDATE AD_Column SET ColumnName='C_BP_C_PaymentTerm_ID' WHERE AD_Column_ID=207751
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=206593
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=206789
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=207076
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=207365
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=207448
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=207595
;
UPDATE AD_Element SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Element_ID=201912
;
UPDATE AD_Column SET ColumnName='C_BP_C_TaxGroup_ID' WHERE AD_Column_ID=207754
;
UPDATE AD_Element SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Element_ID=202000
;
UPDATE AD_Column SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Column_ID=206983
;
UPDATE AD_Element SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Element_ID=202000
;
UPDATE AD_Column SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Column_ID=207126
;
UPDATE AD_Element SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Element_ID=202000
;
UPDATE AD_Column SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Column_ID=207370
;
UPDATE AD_Element SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Element_ID=202000
;
UPDATE AD_Column SET ColumnName='C_BP_Location_AD_Org_ID' WHERE AD_Column_ID=207501
;
UPDATE AD_Element SET ColumnName='C_BP_Location_C_Location_ID' WHERE AD_Element_ID=202028
;
UPDATE AD_Column SET ColumnName='C_BP_Location_C_Location_ID' WHERE AD_Column_ID=207372
;
UPDATE AD_Element SET ColumnName='C_BP_Location_C_Location_ID' WHERE AD_Element_ID=202028
;
UPDATE AD_Column SET ColumnName='C_BP_Location_C_Location_ID' WHERE AD_Column_ID=207503
;
UPDATE AD_Element SET ColumnName='C_BP_Location_SalesRegion_ID' WHERE AD_Element_ID=202029
;
UPDATE AD_Column SET ColumnName='C_BP_Location_SalesRegion_ID' WHERE AD_Column_ID=207375
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=206614
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=206810
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=207097
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=207369
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=207470
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=207616
;
UPDATE AD_Element SET ColumnName='C_BP_Logo_ID' WHERE AD_Element_ID=201933
;
UPDATE AD_Column SET ColumnName='C_BP_Logo_ID' WHERE AD_Column_ID=207776
;
UPDATE AD_Element SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201934
;
UPDATE AD_Column SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=206615
;
UPDATE AD_Element SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201934
;
UPDATE AD_Column SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=206811
;
UPDATE AD_Element SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201934
;
UPDATE AD_Column SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=207098
;
UPDATE AD_Element SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201934
;
UPDATE AD_Column SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=207471
;
UPDATE AD_Element SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Element_ID=201934
;
UPDATE AD_Column SET ColumnName='C_BP_M_DiscountSchema_ID' WHERE AD_Column_ID=207777
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=206616
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=206812
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=207099
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=207472
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=207618
;
UPDATE AD_Element SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Element_ID=201935
;
UPDATE AD_Column SET ColumnName='C_BP_M_PriceList_ID' WHERE AD_Column_ID=207778
;
UPDATE AD_Element SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201939
;
UPDATE AD_Column SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=206620
;
UPDATE AD_Element SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201939
;
UPDATE AD_Column SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=206816
;
UPDATE AD_Element SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201939
;
UPDATE AD_Column SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=207103
;
UPDATE AD_Element SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201939
;
UPDATE AD_Column SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=207479
;
UPDATE AD_Element SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Element_ID=201939
;
UPDATE AD_Column SET ColumnName='C_BP_PO_DiscountSchema_ID' WHERE AD_Column_ID=207784
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201940
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=206621
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201940
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=206817
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201940
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=207104
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201940
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=207480
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Element_ID=201940
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PaymentTerm_ID' WHERE AD_Column_ID=207785
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Element_ID=201941
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Column_ID=206622
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Element_ID=201941
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Column_ID=206818
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Element_ID=201941
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Column_ID=207105
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Element_ID=201941
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Column_ID=207481
;
UPDATE AD_Element SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Element_ID=201941
;
UPDATE AD_Column SET ColumnName='C_BP_PO_PriceList_ID' WHERE AD_Column_ID=207786
;
UPDATE AD_Element SET ColumnName='C_BP_Product_AD_Org_ID' WHERE AD_Element_ID=201596
;
UPDATE AD_Column SET ColumnName='C_BP_Product_AD_Org_ID' WHERE AD_Column_ID=205708
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=206625
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=206822
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=207109
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=207486
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=207631
;
UPDATE AD_Element SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Element_ID=201944
;
UPDATE AD_Column SET ColumnName='C_BP_SalesRep_ID' WHERE AD_Column_ID=207791
;
UPDATE AD_Element SET ColumnName='C_BPartner_Greeting_AD_Org_ID' WHERE AD_Element_ID=200402
;
UPDATE AD_Column SET ColumnName='C_BPartner_Greeting_AD_Org_ID' WHERE AD_Column_ID=201343
;
UPDATE AD_Element SET ColumnName='C_BPartner_PO_PaymentTerm_ID' WHERE AD_Element_ID=200384
;
UPDATE AD_Column SET ColumnName='C_BPartner_PO_PaymentTerm_ID' WHERE AD_Column_ID=201325
;
UPDATE AD_Element SET ColumnName='C_BPartner_Product_AD_Org_ID' WHERE AD_Element_ID=201217
;
UPDATE AD_Column SET ColumnName='C_BPartner_Product_AD_Org_ID' WHERE AD_Column_ID=204019
;
UPDATE AD_Element SET ColumnName='C_Charge_AD_Org_ID' WHERE AD_Element_ID=201210
;
UPDATE AD_Column SET ColumnName='C_Charge_AD_Org_ID' WHERE AD_Column_ID=205698
;
UPDATE AD_Element SET ColumnName='C_Charge_AD_Org_ID' WHERE AD_Element_ID=201210
;
UPDATE AD_Column SET ColumnName='C_Charge_AD_Org_ID' WHERE AD_Column_ID=204009
;
UPDATE AD_Element SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Element_ID=201211
;
UPDATE AD_Column SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Column_ID=205699
;
UPDATE AD_Element SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Element_ID=201211
;
UPDATE AD_Column SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Column_ID=204010
;
UPDATE AD_Element SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Element_ID=201211
;
UPDATE AD_Column SET ColumnName='C_Charge_C_BPartner_ID' WHERE AD_Column_ID=207356
;
UPDATE AD_Element SET ColumnName='C_Charge_C_Org_ID' WHERE AD_Element_ID=202027
;
UPDATE AD_Column SET ColumnName='C_Charge_C_Org_ID' WHERE AD_Column_ID=207355
;
UPDATE AD_Element SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Element_ID=201213
;
UPDATE AD_Column SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Column_ID=205702
;
UPDATE AD_Element SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Element_ID=201213
;
UPDATE AD_Column SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Column_ID=204013
;
UPDATE AD_Element SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Element_ID=201213
;
UPDATE AD_Column SET ColumnName='C_Charge_C_TaxCategory_ID' WHERE AD_Column_ID=207359
;
UPDATE AD_Element SET ColumnName='C_Commission_AD_Org_ID' WHERE AD_Element_ID=201366
;
UPDATE AD_Column SET ColumnName='C_Commission_AD_Org_ID' WHERE AD_Column_ID=204758
;
UPDATE AD_Element SET ColumnName='C_Commission_C_Currency_ID' WHERE AD_Element_ID=201367
;
UPDATE AD_Column SET ColumnName='C_Commission_C_Currency_ID' WHERE AD_Column_ID=204759
;
UPDATE AD_Element SET ColumnName='C_CommissionAmt_AD_Org_ID' WHERE AD_Element_ID=201375
;
UPDATE AD_Column SET ColumnName='C_CommissionAmt_AD_Org_ID' WHERE AD_Column_ID=204772
;
UPDATE AD_Element SET ColumnName='C_CommissionDetail_AD_Org_ID' WHERE AD_Element_ID=201381
;
UPDATE AD_Column SET ColumnName='C_CommissionDetail_AD_Org_ID' WHERE AD_Column_ID=204779
;
UPDATE AD_Element SET ColumnName='C_Country_C_Currency_ID' WHERE AD_Element_ID=202040
;
UPDATE AD_Column SET ColumnName='C_Country_C_Currency_ID' WHERE AD_Column_ID=207413
;
UPDATE AD_Element SET ColumnName='C_DunningLevel_AD_Org_ID' WHERE AD_Element_ID=200338
;
UPDATE AD_Column SET ColumnName='C_DunningLevel_AD_Org_ID' WHERE AD_Column_ID=201265
;
UPDATE AD_Element SET ColumnName='C_DunningLevel_C_Dunning_ID' WHERE AD_Element_ID=200339
;
UPDATE AD_Column SET ColumnName='C_DunningLevel_C_Dunning_ID' WHERE AD_Column_ID=201266
;
UPDATE AD_Element SET ColumnName='C_DunningRun_C_DunningLevel_ID' WHERE AD_Element_ID=200328
;
UPDATE AD_Column SET ColumnName='C_DunningRun_C_DunningLevel_ID' WHERE AD_Column_ID=201249
;
UPDATE AD_Element SET ColumnName='C_DunningRunEntry_AD_Org_ID' WHERE AD_Element_ID=200330
;
UPDATE AD_Column SET ColumnName='C_DunningRunEntry_AD_Org_ID' WHERE AD_Column_ID=201254
;
UPDATE AD_Element SET ColumnName='C_ElementValue_AD_Org_ID' WHERE AD_Element_ID=202055
;
UPDATE AD_Column SET ColumnName='C_ElementValue_AD_Org_ID' WHERE AD_Column_ID=207732
;
UPDATE AD_Element SET ColumnName='C_ElementValue_C_Currency_ID' WHERE AD_Element_ID=202056
;
UPDATE AD_Column SET ColumnName='C_ElementValue_C_Currency_ID' WHERE AD_Column_ID=207734
;
UPDATE AD_Element SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Element_ID=201620
;
UPDATE AD_Column SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Column_ID=205876
;
UPDATE AD_Element SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Element_ID=201620
;
UPDATE AD_Column SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Column_ID=210196
;
UPDATE AD_Element SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Element_ID=201620
;
UPDATE AD_Column SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Column_ID=210198
;
UPDATE AD_Element SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Element_ID=201620
;
UPDATE AD_Column SET ColumnName='C_Greeting_AD_Org_ID' WHERE AD_Column_ID=210199
;
UPDATE AD_Element SET ColumnName='C_InviceLine_AD_Org_ID' WHERE AD_Element_ID=201416
;
UPDATE AD_Column SET ColumnName='C_InviceLine_AD_Org_ID' WHERE AD_Column_ID=204836
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Element_ID=200970
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Column_ID=203440
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Element_ID=200970
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Column_ID=205569
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Element_ID=200970
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Column_ID=207417
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Element_ID=200970
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Column_ID=207536
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Element_ID=200970
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_OrgTrx_ID' WHERE AD_Column_ID=204953
;
UPDATE AD_Element SET ColumnName='C_Invoice_AD_User_ID' WHERE AD_Element_ID=201592
;
UPDATE AD_Column SET ColumnName='C_Invoice_AD_User_ID' WHERE AD_Column_ID=205570
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Activity_ID' WHERE AD_Element_ID=201474
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Activity_ID' WHERE AD_Column_ID=205571
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Activity_ID' WHERE AD_Element_ID=201474
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Activity_ID' WHERE AD_Column_ID=204954
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_BPartner_ID' WHERE AD_Element_ID=200545
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_BPartner_ID' WHERE AD_Column_ID=201513
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_BPartner_ID' WHERE AD_Element_ID=200545
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_BPartner_ID' WHERE AD_Column_ID=205572
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Campaign_ID' WHERE AD_Element_ID=201475
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Campaign_ID' WHERE AD_Column_ID=205574
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Campaign_ID' WHERE AD_Element_ID=201475
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Campaign_ID' WHERE AD_Column_ID=204955
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Element_ID=201476
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Column_ID=205575
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Element_ID=201476
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Column_ID=204956
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Element_ID=201476
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Charge_ID' WHERE AD_Column_ID=205478
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_ConversionType_ID' WHERE AD_Element_ID=201477
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_ConversionType_ID' WHERE AD_Column_ID=207418
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_ConversionType_ID' WHERE AD_Element_ID=201477
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_ConversionType_ID' WHERE AD_Column_ID=204957
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Currency_ID' WHERE AD_Element_ID=201478
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Currency_ID' WHERE AD_Column_ID=204958
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_DocTypeTarget_ID' WHERE AD_Element_ID=201479
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_DocTypeTarget_ID' WHERE AD_Column_ID=204959
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Invoice_ID' WHERE AD_Element_ID=201481
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Invoice_ID' WHERE AD_Column_ID=204962
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Order_ID' WHERE AD_Element_ID=200546
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Order_ID' WHERE AD_Column_ID=201517
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Order_ID' WHERE AD_Element_ID=200546
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Order_ID' WHERE AD_Column_ID=204963
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Payment_ID' WHERE AD_Element_ID=200547
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Payment_ID' WHERE AD_Column_ID=201518
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Payment_ID' WHERE AD_Element_ID=200547
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Payment_ID' WHERE AD_Column_ID=204964
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_PaymentTerm_ID' WHERE AD_Element_ID=201482
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_PaymentTerm_ID' WHERE AD_Column_ID=207548
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_PaymentTerm_ID' WHERE AD_Element_ID=201482
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_PaymentTerm_ID' WHERE AD_Column_ID=204965
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Project_ID' WHERE AD_Element_ID=201483
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Project_ID' WHERE AD_Column_ID=205585
;
UPDATE AD_Element SET ColumnName='C_Invoice_C_Project_ID' WHERE AD_Element_ID=201483
;
UPDATE AD_Column SET ColumnName='C_Invoice_C_Project_ID' WHERE AD_Column_ID=204966
;
UPDATE AD_Element SET ColumnName='C_Invoice_M_PriceList_ID' WHERE AD_Element_ID=201497
;
UPDATE AD_Column SET ColumnName='C_Invoice_M_PriceList_ID' WHERE AD_Column_ID=204989
;
UPDATE AD_Element SET ColumnName='C_Invoice_M_RMA_ID' WHERE AD_Element_ID=201498
;
UPDATE AD_Column SET ColumnName='C_Invoice_M_RMA_ID' WHERE AD_Column_ID=204990
;
UPDATE AD_Element SET ColumnName='C_Invoice_Reversal_ID' WHERE AD_Element_ID=200555
;
UPDATE AD_Column SET ColumnName='C_Invoice_Reversal_ID' WHERE AD_Column_ID=201540
;
UPDATE AD_Element SET ColumnName='C_Invoice_SalesRep_ID' WHERE AD_Element_ID=201501
;
UPDATE AD_Column SET ColumnName='C_Invoice_SalesRep_ID' WHERE AD_Column_ID=204998
;
UPDATE AD_Element SET ColumnName='C_Invoice_User1_ID' WHERE AD_Element_ID=201504
;
UPDATE AD_Column SET ColumnName='C_Invoice_User1_ID' WHERE AD_Column_ID=205625
;
UPDATE AD_Element SET ColumnName='C_Invoice_User1_ID' WHERE AD_Element_ID=201504
;
UPDATE AD_Column SET ColumnName='C_Invoice_User1_ID' WHERE AD_Column_ID=205003
;
UPDATE AD_Element SET ColumnName='C_Invoice_User2_ID' WHERE AD_Element_ID=201505
;
UPDATE AD_Column SET ColumnName='C_Invoice_User2_ID' WHERE AD_Column_ID=205626
;
UPDATE AD_Element SET ColumnName='C_Invoice_User2_ID' WHERE AD_Element_ID=201505
;
UPDATE AD_Column SET ColumnName='C_Invoice_User2_ID' WHERE AD_Column_ID=205004
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201417
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_AD_OrgTrx_ID' WHERE AD_Column_ID=205542
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201417
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_AD_OrgTrx_ID' WHERE AD_Column_ID=204837
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_Activity_ID' WHERE AD_Element_ID=201418
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_Activity_ID' WHERE AD_Column_ID=204839
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_Campaign_ID' WHERE AD_Element_ID=201419
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_Campaign_ID' WHERE AD_Column_ID=204840
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_Charge_ID' WHERE AD_Element_ID=201420
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_Charge_ID' WHERE AD_Column_ID=204841
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_OrderLine_ID' WHERE AD_Element_ID=201421
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_OrderLine_ID' WHERE AD_Column_ID=204843
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_Project_ID' WHERE AD_Element_ID=201422
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_Project_ID' WHERE AD_Column_ID=204844
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_ProjectTask_ID' WHERE AD_Element_ID=201424
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_ProjectTask_ID' WHERE AD_Column_ID=204846
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_Tax_ID' WHERE AD_Element_ID=201427
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_Tax_ID' WHERE AD_Column_ID=204849
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_UOM_ID' WHERE AD_Element_ID=201348
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_UOM_ID' WHERE AD_Column_ID=204678
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_C_UOM_ID' WHERE AD_Element_ID=201348
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_C_UOM_ID' WHERE AD_Column_ID=204850
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_M_RMALine_ID' WHERE AD_Element_ID=201434
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_M_RMALine_ID' WHERE AD_Column_ID=204860
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_User1_ID' WHERE AD_Element_ID=201449
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_User1_ID' WHERE AD_Column_ID=205557
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_User1_ID' WHERE AD_Element_ID=201449
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_User1_ID' WHERE AD_Column_ID=204875
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_User2_ID' WHERE AD_Element_ID=201450
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_User2_ID' WHERE AD_Column_ID=205558
;
UPDATE AD_Element SET ColumnName='C_InvoiceLine_User2_ID' WHERE AD_Element_ID=201450
;
UPDATE AD_Column SET ColumnName='C_InvoiceLine_User2_ID' WHERE AD_Column_ID=204876
;
UPDATE AD_Element SET ColumnName='C_InvoiceTax_AD_Org_ID' WHERE AD_Element_ID=202049
;
UPDATE AD_Column SET ColumnName='C_InvoiceTax_AD_Org_ID' WHERE AD_Column_ID=207532
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=201367
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=203575
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=205901
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=207147
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=207398
;
UPDATE AD_Element SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Element_ID=200416
;
UPDATE AD_Column SET ColumnName='C_Location_AD_Org_ID' WHERE AD_Column_ID=207523
;
UPDATE AD_Element SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Element_ID=201135
;
UPDATE AD_Column SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Column_ID=203836
;
UPDATE AD_Element SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Element_ID=201135
;
UPDATE AD_Column SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Column_ID=204877
;
UPDATE AD_Element SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Element_ID=201135
;
UPDATE AD_Column SET ColumnName='C_Order_AD_Org_ID' WHERE AD_Column_ID=208004
;
UPDATE AD_Element SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Element_ID=201136
;
UPDATE AD_Column SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Column_ID=203837
;
UPDATE AD_Element SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Element_ID=201136
;
UPDATE AD_Column SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Column_ID=204878
;
UPDATE AD_Element SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Element_ID=201136
;
UPDATE AD_Column SET ColumnName='C_Order_AD_OrgTrx_ID' WHERE AD_Column_ID=208005
;
UPDATE AD_Element SET ColumnName='C_Order_AD_User_ID' WHERE AD_Element_ID=201451
;
UPDATE AD_Column SET ColumnName='C_Order_AD_User_ID' WHERE AD_Column_ID=204879
;
UPDATE AD_Element SET ColumnName='C_Order_C_Activity_ID' WHERE AD_Element_ID=201137
;
UPDATE AD_Column SET ColumnName='C_Order_C_Activity_ID' WHERE AD_Column_ID=203844
;
UPDATE AD_Element SET ColumnName='C_Order_C_Activity_ID' WHERE AD_Element_ID=201137
;
UPDATE AD_Column SET ColumnName='C_Order_C_Activity_ID' WHERE AD_Column_ID=208008
;
UPDATE AD_Element SET ColumnName='C_Order_C_BPartner_ID' WHERE AD_Element_ID=201138
;
UPDATE AD_Column SET ColumnName='C_Order_C_BPartner_ID' WHERE AD_Column_ID=203845
;
UPDATE AD_Element SET ColumnName='C_Order_C_BPartner_ID' WHERE AD_Element_ID=201138
;
UPDATE AD_Column SET ColumnName='C_Order_C_BPartner_ID' WHERE AD_Column_ID=208009
;
UPDATE AD_Element SET ColumnName='C_Order_C_Campaign_ID' WHERE AD_Element_ID=201139
;
UPDATE AD_Column SET ColumnName='C_Order_C_Campaign_ID' WHERE AD_Column_ID=203846
;
UPDATE AD_Element SET ColumnName='C_Order_C_Campaign_ID' WHERE AD_Element_ID=201139
;
UPDATE AD_Column SET ColumnName='C_Order_C_Campaign_ID' WHERE AD_Column_ID=204886
;
UPDATE AD_Element SET ColumnName='C_Order_C_Charge_ID' WHERE AD_Element_ID=201140
;
UPDATE AD_Column SET ColumnName='C_Order_C_Charge_ID' WHERE AD_Column_ID=203849
;
UPDATE AD_Element SET ColumnName='C_Order_C_Charge_ID' WHERE AD_Element_ID=201140
;
UPDATE AD_Column SET ColumnName='C_Order_C_Charge_ID' WHERE AD_Column_ID=208014
;
UPDATE AD_Element SET ColumnName='C_Order_C_Compaign_ID' WHERE AD_Element_ID=202082
;
UPDATE AD_Column SET ColumnName='C_Order_C_Compaign_ID' WHERE AD_Column_ID=208011
;
UPDATE AD_Element SET ColumnName='C_Order_C_Currency_ID' WHERE AD_Element_ID=201141
;
UPDATE AD_Column SET ColumnName='C_Order_C_Currency_ID' WHERE AD_Column_ID=203851
;
UPDATE AD_Element SET ColumnName='C_Order_C_Currency_ID' WHERE AD_Element_ID=201141
;
UPDATE AD_Column SET ColumnName='C_Order_C_Currency_ID' WHERE AD_Column_ID=204891
;
UPDATE AD_Element SET ColumnName='C_Order_C_Order_ID' WHERE AD_Element_ID=201454
;
UPDATE AD_Column SET ColumnName='C_Order_C_Order_ID' WHERE AD_Column_ID=204895
;
UPDATE AD_Element SET ColumnName='C_Order_C_Payment_ID' WHERE AD_Element_ID=201455
;
UPDATE AD_Column SET ColumnName='C_Order_C_Payment_ID' WHERE AD_Column_ID=204896
;
UPDATE AD_Element SET ColumnName='C_Order_C_Project_ID' WHERE AD_Element_ID=201142
;
UPDATE AD_Column SET ColumnName='C_Order_C_Project_ID' WHERE AD_Column_ID=203859
;
UPDATE AD_Element SET ColumnName='C_Order_C_Project_ID' WHERE AD_Element_ID=201142
;
UPDATE AD_Column SET ColumnName='C_Order_C_Project_ID' WHERE AD_Column_ID=204899
;
UPDATE AD_Element SET ColumnName='C_Order_C_Project_ID' WHERE AD_Element_ID=201142
;
UPDATE AD_Column SET ColumnName='C_Order_C_Project_ID' WHERE AD_Column_ID=208022
;
UPDATE AD_Element SET ColumnName='C_Order_M_FreightCategory_ID' WHERE AD_Element_ID=201152
;
UPDATE AD_Column SET ColumnName='C_Order_M_FreightCategory_ID' WHERE AD_Column_ID=203893
;
UPDATE AD_Element SET ColumnName='C_Order_M_PriceList_ID' WHERE AD_Element_ID=201153
;
UPDATE AD_Column SET ColumnName='C_Order_M_PriceList_ID' WHERE AD_Column_ID=203894
;
UPDATE AD_Element SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Element_ID=201154
;
UPDATE AD_Column SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Column_ID=203895
;
UPDATE AD_Element SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Element_ID=201154
;
UPDATE AD_Column SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Column_ID=204935
;
UPDATE AD_Element SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Element_ID=201154
;
UPDATE AD_Column SET ColumnName='C_Order_M_Shipper_ID' WHERE AD_Column_ID=208053
;
UPDATE AD_Element SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Element_ID=201155
;
UPDATE AD_Column SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Column_ID=203896
;
UPDATE AD_Element SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Element_ID=201155
;
UPDATE AD_Column SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Column_ID=204936
;
UPDATE AD_Element SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Element_ID=201155
;
UPDATE AD_Column SET ColumnName='C_Order_M_Warehouse_ID' WHERE AD_Column_ID=208054
;
UPDATE AD_Element SET ColumnName='C_Order_PaymentTerm_ID' WHERE AD_Element_ID=201456
;
UPDATE AD_Column SET ColumnName='C_Order_PaymentTerm_ID' WHERE AD_Column_ID=204897
;
UPDATE AD_Element SET ColumnName='C_Order_Ref_Order_ID' WHERE AD_Element_ID=201472
;
UPDATE AD_Column SET ColumnName='C_Order_Ref_Order_ID' WHERE AD_Column_ID=204947
;
UPDATE AD_Element SET ColumnName='C_Order_User1_ID' WHERE AD_Element_ID=201161
;
UPDATE AD_Column SET ColumnName='C_Order_User1_ID' WHERE AD_Column_ID=203913
;
UPDATE AD_Element SET ColumnName='C_Order_User1_ID' WHERE AD_Element_ID=201161
;
UPDATE AD_Column SET ColumnName='C_Order_User1_ID' WHERE AD_Column_ID=204950
;
UPDATE AD_Element SET ColumnName='C_Order_User1_ID' WHERE AD_Element_ID=201161
;
UPDATE AD_Column SET ColumnName='C_Order_User1_ID' WHERE AD_Column_ID=208069
;
UPDATE AD_Element SET ColumnName='C_Order_User2_ID' WHERE AD_Element_ID=201162
;
UPDATE AD_Column SET ColumnName='C_Order_User2_ID' WHERE AD_Column_ID=203914
;
UPDATE AD_Element SET ColumnName='C_Order_User2_ID' WHERE AD_Element_ID=201162
;
UPDATE AD_Column SET ColumnName='C_Order_User2_ID' WHERE AD_Column_ID=204951
;
UPDATE AD_Element SET ColumnName='C_Order_User2_ID' WHERE AD_Element_ID=201162
;
UPDATE AD_Column SET ColumnName='C_Order_User2_ID' WHERE AD_Column_ID=208070
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_Org_ID' WHERE AD_Element_ID=201387
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_Org_ID' WHERE AD_Column_ID=207305
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_Org_ID' WHERE AD_Element_ID=201387
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_Org_ID' WHERE AD_Column_ID=204785
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201121
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Column_ID=203800
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201121
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Column_ID=207306
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201121
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Column_ID=204786
;
UPDATE AD_Element SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Element_ID=201121
;
UPDATE AD_Column SET ColumnName='C_OrderLine_AD_OrgTrx_ID' WHERE AD_Column_ID=208073
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Activity_ID' WHERE AD_Element_ID=201388
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Activity_ID' WHERE AD_Column_ID=207307
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Activity_ID' WHERE AD_Element_ID=201388
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Activity_ID' WHERE AD_Column_ID=204787
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_BPartner_ID' WHERE AD_Element_ID=201389
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_BPartner_ID' WHERE AD_Column_ID=207308
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_BPartner_ID' WHERE AD_Element_ID=201389
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_BPartner_ID' WHERE AD_Column_ID=204788
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Campaign_ID' WHERE AD_Element_ID=201391
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Campaign_ID' WHERE AD_Column_ID=204790
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Element_ID=201122
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Column_ID=203801
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Element_ID=201122
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Column_ID=207310
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Element_ID=201122
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Column_ID=204791
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Element_ID=201122
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Charge_ID' WHERE AD_Column_ID=208074
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Element_ID=201123
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Column_ID=203802
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Element_ID=201123
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Column_ID=207311
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Element_ID=201123
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Column_ID=204792
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Element_ID=201123
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Currency_ID' WHERE AD_Column_ID=208075
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Order_ID' WHERE AD_Element_ID=201392
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Order_ID' WHERE AD_Column_ID=204793
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Project_ID' WHERE AD_Element_ID=201393
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Project_ID' WHERE AD_Column_ID=207313
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Project_ID' WHERE AD_Element_ID=201393
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Project_ID' WHERE AD_Column_ID=204794
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_ProjectPhase_ID' WHERE AD_Element_ID=201394
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_ProjectPhase_ID' WHERE AD_Column_ID=207314
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_ProjectPhase_ID' WHERE AD_Element_ID=201394
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_ProjectPhase_ID' WHERE AD_Column_ID=204795
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_ProjectTask_ID' WHERE AD_Element_ID=201395
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_ProjectTask_ID' WHERE AD_Column_ID=207315
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_ProjectTask_ID' WHERE AD_Element_ID=201395
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_ProjectTask_ID' WHERE AD_Column_ID=204796
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Tax_ID' WHERE AD_Element_ID=201398
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Tax_ID' WHERE AD_Column_ID=207318
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_Tax_ID' WHERE AD_Element_ID=201398
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_Tax_ID' WHERE AD_Column_ID=204799
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_UOM_ID' WHERE AD_Element_ID=201399
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_UOM_ID' WHERE AD_Column_ID=207319
;
UPDATE AD_Element SET ColumnName='C_OrderLine_C_UOM_ID' WHERE AD_Element_ID=201399
;
UPDATE AD_Column SET ColumnName='C_OrderLine_C_UOM_ID' WHERE AD_Column_ID=204800
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Product_ID' WHERE AD_Element_ID=202024
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Product_ID' WHERE AD_Column_ID=207333
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Element_ID=201126
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Column_ID=203812
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Element_ID=201126
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Column_ID=207335
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Element_ID=201126
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Column_ID=204815
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Element_ID=201126
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Shipper_ID' WHERE AD_Column_ID=208087
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Warehouse_ID' WHERE AD_Element_ID=201127
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Warehouse_ID' WHERE AD_Column_ID=203813
;
UPDATE AD_Element SET ColumnName='C_OrderLine_M_Warehouse_ID' WHERE AD_Element_ID=201127
;
UPDATE AD_Column SET ColumnName='C_OrderLine_M_Warehouse_ID' WHERE AD_Column_ID=204816
;
UPDATE AD_Element SET ColumnName='C_OrderLine_Ref_OrderLine_ID' WHERE AD_Element_ID=201409
;
UPDATE AD_Column SET ColumnName='C_OrderLine_Ref_OrderLine_ID' WHERE AD_Column_ID=204828
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Element_ID=202499
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Column_ID=210184
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Element_ID=202499
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Column_ID=210205
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Element_ID=202499
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Column_ID=210189
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Element_ID=202499
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User1_ID' WHERE AD_Column_ID=210206
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Element_ID=201130
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Column_ID=203826
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Element_ID=201130
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Column_ID=207354
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Element_ID=201130
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Column_ID=204835
;
UPDATE AD_Element SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Element_ID=201130
;
UPDATE AD_Column SET ColumnName='C_OrderLine_User2_ID' WHERE AD_Column_ID=208097
;
UPDATE AD_Element SET ColumnName='C_OrderLine_Warehouse_ID' WHERE AD_Element_ID=202025
;
UPDATE AD_Column SET ColumnName='C_OrderLine_Warehouse_ID' WHERE AD_Column_ID=207336
;
UPDATE AD_Element SET ColumnName='C_Payment_AD_Org_ID' WHERE AD_Element_ID=200562
;
UPDATE AD_Column SET ColumnName='C_Payment_AD_Org_ID' WHERE AD_Column_ID=201569
;
UPDATE AD_Element SET ColumnName='C_Payment_AD_Org_ID' WHERE AD_Element_ID=200562
;
UPDATE AD_Column SET ColumnName='C_Payment_AD_Org_ID' WHERE AD_Column_ID=206514
;
UPDATE AD_Element SET ColumnName='C_Payment_C_BPartner_ID' WHERE AD_Element_ID=200563
;
UPDATE AD_Column SET ColumnName='C_Payment_C_BPartner_ID' WHERE AD_Column_ID=201576
;
UPDATE AD_Element SET ColumnName='C_Payment_C_BPartner_ID' WHERE AD_Element_ID=200563
;
UPDATE AD_Column SET ColumnName='C_Payment_C_BPartner_ID' WHERE AD_Column_ID=206522
;
UPDATE AD_Element SET ColumnName='C_Payment_C_Order_ID' WHERE AD_Element_ID=200567
;
UPDATE AD_Column SET ColumnName='C_Payment_C_Order_ID' WHERE AD_Column_ID=201581
;
UPDATE AD_Element SET ColumnName='C_Payment_C_Order_ID' WHERE AD_Element_ID=200567
;
UPDATE AD_Column SET ColumnName='C_Payment_C_Order_ID' WHERE AD_Column_ID=206530
;
UPDATE AD_Element SET ColumnName='C_Payment_Reversal_ID' WHERE AD_Element_ID=200575
;
UPDATE AD_Column SET ColumnName='C_Payment_Reversal_ID' WHERE AD_Column_ID=201607
;
UPDATE AD_Element SET ColumnName='C_Payment_Reversal_ID' WHERE AD_Element_ID=200575
;
UPDATE AD_Column SET ColumnName='C_Payment_Reversal_ID' WHERE AD_Column_ID=206563
;
UPDATE AD_Element SET ColumnName='C_PaymentTerm_C_PaymentTerm_ID' WHERE AD_Element_ID=202010
;
UPDATE AD_Column SET ColumnName='C_PaymentTerm_C_PaymentTerm_ID' WHERE AD_Column_ID=207002
;
UPDATE AD_Element SET ColumnName='C_PaySel_C_BankAccount_ID' WHERE AD_Element_ID=201886
;
UPDATE AD_Column SET ColumnName='C_PaySel_C_BankAccount_ID' WHERE AD_Column_ID=206501
;
UPDATE AD_Element SET ColumnName='C_PaySelection_AD_Org_ID' WHERE AD_Element_ID=201885
;
UPDATE AD_Column SET ColumnName='C_PaySelection_AD_Org_ID' WHERE AD_Column_ID=206500
;
UPDATE AD_Element SET ColumnName='C_Phase_AD_Org_ID' WHERE AD_Element_ID=201989
;
UPDATE AD_Column SET ColumnName='C_Phase_AD_Org_ID' WHERE AD_Column_ID=206858
;
UPDATE AD_Element SET ColumnName='C_Phase_C_Phase_ID' WHERE AD_Element_ID=201990
;
UPDATE AD_Column SET ColumnName='C_Phase_C_Phase_ID' WHERE AD_Column_ID=206859
;
UPDATE AD_Element SET ColumnName='C_Phase_C_ProjectType_ID' WHERE AD_Element_ID=201991
;
UPDATE AD_Column SET ColumnName='C_Phase_C_ProjectType_ID' WHERE AD_Column_ID=206860
;
UPDATE AD_Element SET ColumnName='C_Phase_M_Product_ID' WHERE AD_Element_ID=201995
;
UPDATE AD_Column SET ColumnName='C_Phase_M_Product_ID' WHERE AD_Column_ID=206864
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_AD_Org_ID' WHERE AD_Element_ID=202164
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_AD_Org_ID' WHERE AD_Column_ID=208321
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_C_ProjectIssue_ID' WHERE AD_Element_ID=202165
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_C_ProjectIssue_ID' WHERE AD_Column_ID=208322
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_M_InOutLine_ID' WHERE AD_Element_ID=202171
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_M_InOutLine_ID' WHERE AD_Column_ID=208328
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_M_Locator_ID' WHERE AD_Element_ID=202172
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_M_Locator_ID' WHERE AD_Column_ID=208329
;
UPDATE AD_Element SET ColumnName='C_PrjctIssue_M_Product_ID' WHERE AD_Element_ID=202175
;
UPDATE AD_Column SET ColumnName='C_PrjctIssue_M_Product_ID' WHERE AD_Column_ID=208332
;
UPDATE AD_Element SET ColumnName='C_Project_AD_Org_ID' WHERE AD_Element_ID=201958
;
UPDATE AD_Column SET ColumnName='C_Project_AD_Org_ID' WHERE AD_Column_ID=206668
;
UPDATE AD_Element SET ColumnName='C_Project_C_PaymentTerm_ID' WHERE AD_Element_ID=201982
;
UPDATE AD_Column SET ColumnName='C_Project_C_PaymentTerm_ID' WHERE AD_Column_ID=206770
;
UPDATE AD_Element SET ColumnName='C_Project_SalesRep_ID' WHERE AD_Element_ID=201976
;
UPDATE AD_Column SET ColumnName='C_Project_SalesRep_ID' WHERE AD_Column_ID=206707
;
UPDATE AD_Element SET ColumnName='C_ProjectType_AD_Org_ID' WHERE AD_Element_ID=201984
;
UPDATE AD_Column SET ColumnName='C_ProjectType_AD_Org_ID' WHERE AD_Column_ID=206853
;
UPDATE AD_Element SET ColumnName='C_Region_AD_Org_ID' WHERE AD_Element_ID=202035
;
UPDATE AD_Column SET ColumnName='C_Region_AD_Org_ID' WHERE AD_Column_ID=207407
;
UPDATE AD_Element SET ColumnName='C_Region_C_Country_ID' WHERE AD_Element_ID=202036
;
UPDATE AD_Column SET ColumnName='C_Region_C_Country_ID' WHERE AD_Column_ID=207408
;
UPDATE AD_Element SET ColumnName='C_Tax_AD_Org_ID' WHERE AD_Element_ID=201235
;
UPDATE AD_Column SET ColumnName='C_Tax_AD_Org_ID' WHERE AD_Column_ID=205627
;
UPDATE AD_Element SET ColumnName='C_Tax_AD_Org_ID' WHERE AD_Element_ID=201235
;
UPDATE AD_Column SET ColumnName='C_Tax_AD_Org_ID' WHERE AD_Column_ID=204116
;
UPDATE AD_Element SET ColumnName='C_Tax_C_TaxCategory_ID' WHERE AD_Element_ID=201236
;
UPDATE AD_Column SET ColumnName='C_Tax_C_TaxCategory_ID' WHERE AD_Column_ID=205631
;
UPDATE AD_Element SET ColumnName='C_Tax_C_TaxCategory_ID' WHERE AD_Element_ID=201236
;
UPDATE AD_Column SET ColumnName='C_Tax_C_TaxCategory_ID' WHERE AD_Column_ID=204120
;
UPDATE AD_Element SET ColumnName='C_Tax_To_Region_ID' WHERE AD_Element_ID=201243
;
UPDATE AD_Column SET ColumnName='C_Tax_To_Region_ID' WHERE AD_Column_ID=204134
;
UPDATE AD_Element SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Element_ID=201131
;
UPDATE AD_Column SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Column_ID=205559
;
UPDATE AD_Element SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Element_ID=201131
;
UPDATE AD_Column SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Column_ID=203827
;
UPDATE AD_Element SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Element_ID=201131
;
UPDATE AD_Column SET ColumnName='C_UOM_AD_Org_ID' WHERE AD_Column_ID=207284
;
UPDATE AD_Element SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Element_ID=200443
;
UPDATE AD_Column SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Column_ID=201400
;
UPDATE AD_Element SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Element_ID=200443
;
UPDATE AD_Column SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Column_ID=205932
;
UPDATE AD_Element SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Element_ID=200443
;
UPDATE AD_Column SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Column_ID=206978
;
UPDATE AD_Element SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Element_ID=200443
;
UPDATE AD_Column SET ColumnName='C_User_Greeting_AD_Org_ID' WHERE AD_Column_ID=207178
;
UPDATE AD_Element SET ColumnName='C_User_Greeting_C_Greeting_ID' WHERE AD_Element_ID=201999
;
UPDATE AD_Column SET ColumnName='C_User_Greeting_C_Greeting_ID' WHERE AD_Column_ID=206979
;
UPDATE AD_Element SET ColumnName='Fact_Acct_AD_Org_ID' WHERE AD_Element_ID=201573
;
UPDATE AD_Column SET ColumnName='Fact_Acct_AD_Org_ID' WHERE AD_Column_ID=205508
;
UPDATE AD_Element SET ColumnName='Fact_Acct_AD_OrgTrx_ID' WHERE AD_Element_ID=201574
;
UPDATE AD_Column SET ColumnName='Fact_Acct_AD_OrgTrx_ID' WHERE AD_Column_ID=205509
;
UPDATE AD_Element SET ColumnName='Fact_Acct_AD_Table_ID' WHERE AD_Element_ID=201575
;
UPDATE AD_Column SET ColumnName='Fact_Acct_AD_Table_ID' WHERE AD_Column_ID=205510
;
UPDATE AD_Element SET ColumnName='Fact_Acct_C_Activity_ID' WHERE AD_Element_ID=201576
;
UPDATE AD_Column SET ColumnName='Fact_Acct_C_Activity_ID' WHERE AD_Column_ID=205511
;
UPDATE AD_Element SET ColumnName='Fact_Acct_C_BPartner_ID' WHERE AD_Element_ID=201577
;
UPDATE AD_Column SET ColumnName='Fact_Acct_C_BPartner_ID' WHERE AD_Column_ID=205512
;
UPDATE AD_Element SET ColumnName='Fact_Acct_C_Campaign_ID' WHERE AD_Element_ID=201578
;
UPDATE AD_Column SET ColumnName='Fact_Acct_C_Campaign_ID' WHERE AD_Column_ID=205513
;
UPDATE AD_Element SET ColumnName='Fact_Acct_C_Currency_ID' WHERE AD_Element_ID=201579
;
UPDATE AD_Column SET ColumnName='Fact_Acct_C_Currency_ID' WHERE AD_Column_ID=205514
;
UPDATE AD_Element SET ColumnName='Fact_Acct_M_Product_ID' WHERE AD_Element_ID=201583
;
UPDATE AD_Column SET ColumnName='Fact_Acct_M_Product_ID' WHERE AD_Column_ID=205521
;
UPDATE AD_Element SET ColumnName='Fact_Acct_User1_ID' WHERE AD_Element_ID=201586
;
UPDATE AD_Column SET ColumnName='Fact_Acct_User1_ID' WHERE AD_Column_ID=205525
;
UPDATE AD_Element SET ColumnName='Fact_Acct_User2_ID' WHERE AD_Element_ID=201587
;
UPDATE AD_Column SET ColumnName='Fact_Acct_User2_ID' WHERE AD_Column_ID=205526
;
UPDATE AD_Element SET ColumnName='M_CostElement_AD_Org_ID' WHERE AD_Element_ID=201507
;
UPDATE AD_Column SET ColumnName='M_CostElement_AD_Org_ID' WHERE AD_Column_ID=205063
;
UPDATE AD_Element SET ColumnName='M_InOut_C_Charge_ID' WHERE AD_Element_ID=202060
;
UPDATE AD_Column SET ColumnName='M_InOut_C_Charge_ID' WHERE AD_Column_ID=207859
;
UPDATE AD_Element SET ColumnName='M_InOut_C_Invoice_ID' WHERE AD_Element_ID=202061
;
UPDATE AD_Column SET ColumnName='M_InOut_C_Invoice_ID' WHERE AD_Column_ID=207861
;
UPDATE AD_Element SET ColumnName='M_InOut_SalesRep_ID' WHERE AD_Element_ID=202012
;
UPDATE AD_Column SET ColumnName='M_InOut_SalesRep_ID' WHERE AD_Column_ID=207057
;
UPDATE AD_Element SET ColumnName='M_InOutLine_AD_Org_ID' WHERE AD_Element_ID=202067
;
UPDATE AD_Column SET ColumnName='M_InOutLine_AD_Org_ID' WHERE AD_Column_ID=207885
;
UPDATE AD_Element SET ColumnName='M_InOutLine_AD_Org_ID' WHERE AD_Element_ID=202067
;
UPDATE AD_Column SET ColumnName='M_InOutLine_AD_Org_ID' WHERE AD_Column_ID=208262
;
UPDATE AD_Element SET ColumnName='M_InOutLine_AD_OrgTrx_ID' WHERE AD_Element_ID=202068
;
UPDATE AD_Column SET ColumnName='M_InOutLine_AD_OrgTrx_ID' WHERE AD_Column_ID=207886
;
UPDATE AD_Element SET ColumnName='M_InOutLine_AD_OrgTrx_ID' WHERE AD_Element_ID=202068
;
UPDATE AD_Column SET ColumnName='M_InOutLine_AD_OrgTrx_ID' WHERE AD_Column_ID=208263
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Activity_ID' WHERE AD_Element_ID=202069
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Activity_ID' WHERE AD_Column_ID=207887
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Activity_ID' WHERE AD_Element_ID=202069
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Activity_ID' WHERE AD_Column_ID=208264
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Campaign_ID' WHERE AD_Element_ID=202070
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Campaign_ID' WHERE AD_Column_ID=207888
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Campaign_ID' WHERE AD_Element_ID=202070
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Campaign_ID' WHERE AD_Column_ID=208265
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Charge_ID' WHERE AD_Element_ID=202071
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Charge_ID' WHERE AD_Column_ID=207889
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Charge_ID' WHERE AD_Element_ID=202071
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Charge_ID' WHERE AD_Column_ID=208266
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_OrderLine_ID' WHERE AD_Element_ID=202121
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_OrderLine_ID' WHERE AD_Column_ID=208268
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Project_ID' WHERE AD_Element_ID=202072
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Project_ID' WHERE AD_Column_ID=207890
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_Project_ID' WHERE AD_Element_ID=202072
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_Project_ID' WHERE AD_Column_ID=208269
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_UOM_ID' WHERE AD_Element_ID=202014
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_UOM_ID' WHERE AD_Column_ID=207220
;
UPDATE AD_Element SET ColumnName='M_InOutLine_C_UOM_ID' WHERE AD_Element_ID=202014
;
UPDATE AD_Column SET ColumnName='M_InOutLine_C_UOM_ID' WHERE AD_Column_ID=208274
;
UPDATE AD_Element SET ColumnName='M_InOutLine_M_InOut_ID' WHERE AD_Element_ID=202128
;
UPDATE AD_Column SET ColumnName='M_InOutLine_M_InOut_ID' WHERE AD_Column_ID=208281
;
UPDATE AD_Element SET ColumnName='M_InOutLine_M_Product_ID' WHERE AD_Element_ID=202130
;
UPDATE AD_Column SET ColumnName='M_InOutLine_M_Product_ID' WHERE AD_Column_ID=208283
;
UPDATE AD_Element SET ColumnName='M_InOutLine_M_RMALine_ID' WHERE AD_Element_ID=202131
;
UPDATE AD_Column SET ColumnName='M_InOutLine_M_RMALine_ID' WHERE AD_Column_ID=208284
;
UPDATE AD_Element SET ColumnName='M_InOutLine_ReversalLine_ID' WHERE AD_Element_ID=202134
;
UPDATE AD_Column SET ColumnName='M_InOutLine_ReversalLine_ID' WHERE AD_Column_ID=208289
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Element_ID=202017
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Column_ID=207230
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Element_ID=202017
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Column_ID=207898
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Element_ID=202017
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User1_ID' WHERE AD_Column_ID=208294
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Element_ID=202018
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Column_ID=207231
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Element_ID=202018
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Column_ID=207899
;
UPDATE AD_Element SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Element_ID=202018
;
UPDATE AD_Column SET ColumnName='M_InOutLine_User2_ID' WHERE AD_Column_ID=208295
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_AD_Org_ID' WHERE AD_Element_ID=202091
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_AD_Org_ID' WHERE AD_Column_ID=208225
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_C_Charge_ID' WHERE AD_Element_ID=202092
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_C_Charge_ID' WHERE AD_Column_ID=208226
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_M_Locator_ID' WHERE AD_Element_ID=202098
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_M_Locator_ID' WHERE AD_Column_ID=208233
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_M_Product_ID' WHERE AD_Element_ID=202099
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_M_Product_ID' WHERE AD_Column_ID=208234
;
UPDATE AD_Element SET ColumnName='M_InventoryLine_RevLine_ID' WHERE AD_Element_ID=202101
;
UPDATE AD_Column SET ColumnName='M_InventoryLine_RevLine_ID' WHERE AD_Column_ID=208240
;
UPDATE AD_Element SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Element_ID=202020
;
UPDATE AD_Column SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Column_ID=207300
;
UPDATE AD_Element SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Element_ID=202020
;
UPDATE AD_Column SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Column_ID=207900
;
UPDATE AD_Element SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Element_ID=202020
;
UPDATE AD_Column SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Column_ID=208108
;
UPDATE AD_Element SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Element_ID=202020
;
UPDATE AD_Column SET ColumnName='M_Locator_AD_Org_ID' WHERE AD_Column_ID=208172
;
UPDATE AD_Element SET ColumnName='M_Locator_M_Warehouse_ID' WHERE AD_Element_ID=202073
;
UPDATE AD_Column SET ColumnName='M_Locator_M_Warehouse_ID' WHERE AD_Column_ID=207903
;
UPDATE AD_Element SET ColumnName='M_MovementLine_AD_Org_ID' WHERE AD_Element_ID=202104
;
UPDATE AD_Column SET ColumnName='M_MovementLine_AD_Org_ID' WHERE AD_Column_ID=208243
;
UPDATE AD_Element SET ColumnName='M_MovementLine_M_Locator_ID' WHERE AD_Element_ID=202111
;
UPDATE AD_Column SET ColumnName='M_MovementLine_M_Locator_ID' WHERE AD_Column_ID=208252
;
UPDATE AD_Element SET ColumnName='M_MovementLine_M_Product_ID' WHERE AD_Element_ID=202113
;
UPDATE AD_Column SET ColumnName='M_MovementLine_M_Product_ID' WHERE AD_Column_ID=208255
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=205647
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=203917
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=206711
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=207232
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=204695
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=205010
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=207660
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=207805
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=207923
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=208113
;
UPDATE AD_Element SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Element_ID=201165
;
UPDATE AD_Column SET ColumnName='M_Product_AD_Org_ID' WHERE AD_Column_ID=208177
;
UPDATE AD_Element SET ColumnName='M_Product_C_TaxCategory_ID' WHERE AD_Element_ID=201593
;
UPDATE AD_Column SET ColumnName='M_Product_C_TaxCategory_ID' WHERE AD_Column_ID=205654
;
UPDATE AD_Element SET ColumnName='M_Product_C_TaxCategory_ID' WHERE AD_Element_ID=201593
;
UPDATE AD_Column SET ColumnName='M_Product_C_TaxCategory_ID' WHERE AD_Column_ID=207239
;
UPDATE AD_Element SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Element_ID=201169
;
UPDATE AD_Column SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Column_ID=203925
;
UPDATE AD_Element SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Element_ID=201169
;
UPDATE AD_Column SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Column_ID=207240
;
UPDATE AD_Element SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Element_ID=201169
;
UPDATE AD_Column SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Column_ID=207813
;
UPDATE AD_Element SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Element_ID=201169
;
UPDATE AD_Column SET ColumnName='M_Product_C_UOM_ID' WHERE AD_Column_ID=207931
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=205677
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=207263
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=204728
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=205043
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=207693
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=207838
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=207956
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=208142
;
UPDATE AD_Element SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Element_ID=201353
;
UPDATE AD_Column SET ColumnName='M_Product_M_AttributeSet_ID' WHERE AD_Column_ID=208208
;
UPDATE AD_Element SET ColumnName='M_Product_M_FreightCategory_ID' WHERE AD_Element_ID=201176
;
UPDATE AD_Column SET ColumnName='M_Product_M_FreightCategory_ID' WHERE AD_Column_ID=203950
;
UPDATE AD_Element SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Element_ID=202019
;
UPDATE AD_Column SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Column_ID=207959
;
UPDATE AD_Element SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Element_ID=202019
;
UPDATE AD_Column SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Column_ID=208145
;
UPDATE AD_Element SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Element_ID=202019
;
UPDATE AD_Column SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Column_ID=208211
;
UPDATE AD_Element SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Element_ID=202019
;
UPDATE AD_Column SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Column_ID=207266
;
UPDATE AD_Element SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Element_ID=202019
;
UPDATE AD_Column SET ColumnName='M_Product_M_Locator_ID' WHERE AD_Column_ID=207841
;
UPDATE AD_Element SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Element_ID=201594
;
UPDATE AD_Column SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Column_ID=205681
;
UPDATE AD_Element SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Element_ID=201594
;
UPDATE AD_Column SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Column_ID=206747
;
UPDATE AD_Element SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Element_ID=201594
;
UPDATE AD_Column SET ColumnName='M_Product_M_Prod_Category_ID' WHERE AD_Column_ID=207267
;
UPDATE AD_Element SET ColumnName='M_Product_M_Product_ID' WHERE AD_Element_ID=201354
;
UPDATE AD_Column SET ColumnName='M_Product_M_Product_ID' WHERE AD_Column_ID=206748
;
UPDATE AD_Element SET ColumnName='M_Product_M_Product_ID' WHERE AD_Element_ID=201354
;
UPDATE AD_Column SET ColumnName='M_Product_M_Product_ID' WHERE AD_Column_ID=204731
;
UPDATE AD_Element SET ColumnName='M_Product_PO_AD_Org_ID' WHERE AD_Element_ID=201184
;
UPDATE AD_Column SET ColumnName='M_Product_PO_AD_Org_ID' WHERE AD_Column_ID=203969
;
UPDATE AD_Element SET ColumnName='M_Product_PO_AD_Org_ID' WHERE AD_Element_ID=201184
;
UPDATE AD_Column SET ColumnName='M_Product_PO_AD_Org_ID' WHERE AD_Column_ID=207979
;
UPDATE AD_Element SET ColumnName='M_Product_PO_C_BPartner_ID' WHERE AD_Element_ID=201185
;
UPDATE AD_Column SET ColumnName='M_Product_PO_C_BPartner_ID' WHERE AD_Column_ID=203970
;
UPDATE AD_Element SET ColumnName='M_Product_PO_C_Currency_ID' WHERE AD_Element_ID=201186
;
UPDATE AD_Column SET ColumnName='M_Product_PO_C_Currency_ID' WHERE AD_Column_ID=203971
;
UPDATE AD_Element SET ColumnName='M_Product_PO_C_Currency_ID' WHERE AD_Element_ID=201186
;
UPDATE AD_Column SET ColumnName='M_Product_PO_C_Currency_ID' WHERE AD_Column_ID=207980
;
UPDATE AD_Element SET ColumnName='M_Product_PO_C_UOM_ID' WHERE AD_Element_ID=201189
;
UPDATE AD_Column SET ColumnName='M_Product_PO_C_UOM_ID' WHERE AD_Column_ID=203975
;
UPDATE AD_Element SET ColumnName='M_Product_PO_C_UOM_ID' WHERE AD_Element_ID=201189
;
UPDATE AD_Column SET ColumnName='M_Product_PO_C_UOM_ID' WHERE AD_Column_ID=207984
;
UPDATE AD_Element SET ColumnName='M_Product_PO_M_Product_ID' WHERE AD_Element_ID=201194
;
UPDATE AD_Column SET ColumnName='M_Product_PO_M_Product_ID' WHERE AD_Column_ID=203983
;
UPDATE AD_Element SET ColumnName='M_Product_PO_M_Product_ID' WHERE AD_Element_ID=201194
;
UPDATE AD_Column SET ColumnName='M_Product_PO_M_Product_ID' WHERE AD_Column_ID=207992
;
UPDATE AD_Element SET ColumnName='M_Product_S_Resource_ID' WHERE AD_Element_ID=201595
;
UPDATE AD_Column SET ColumnName='M_Product_S_Resource_ID' WHERE AD_Column_ID=205690
;
UPDATE AD_Element SET ColumnName='M_Product_S_Resource_ID' WHERE AD_Element_ID=201595
;
UPDATE AD_Column SET ColumnName='M_Product_S_Resource_ID' WHERE AD_Column_ID=207276
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=205685
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=203956
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=206752
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=207271
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=204735
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=205049
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=207699
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=207845
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=207964
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=208149
;
UPDATE AD_Element SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Element_ID=201179
;
UPDATE AD_Column SET ColumnName='M_Product_SalesRep_ID' WHERE AD_Column_ID=208215
;
UPDATE AD_Element SET ColumnName='M_ProductionL_M_ProductionL_ID' WHERE AD_Element_ID=202148
;
UPDATE AD_Column SET ColumnName='M_ProductionL_M_ProductionL_ID' WHERE AD_Column_ID=208305
;
UPDATE AD_Element SET ColumnName='M_ProductionLine_AD_Org_ID' WHERE AD_Element_ID=202139
;
UPDATE AD_Column SET ColumnName='M_ProductionLine_AD_Org_ID' WHERE AD_Column_ID=208296
;
UPDATE AD_Element SET ColumnName='M_ProductionLine_M_Locator_ID' WHERE AD_Element_ID=202145
;
UPDATE AD_Column SET ColumnName='M_ProductionLine_M_Locator_ID' WHERE AD_Column_ID=208302
;
UPDATE AD_Element SET ColumnName='M_ProductionLine_M_Product_ID' WHERE AD_Element_ID=202147
;
UPDATE AD_Column SET ColumnName='M_ProductionLine_M_Product_ID' WHERE AD_Column_ID=208304
;
UPDATE AD_Element SET ColumnName='M_ProductionPlan_AD_Org_ID' WHERE AD_Element_ID=202152
;
UPDATE AD_Column SET ColumnName='M_ProductionPlan_AD_Org_ID' WHERE AD_Column_ID=208309
;
UPDATE AD_Element SET ColumnName='M_ProductionPlan_M_Locator_ID' WHERE AD_Element_ID=202158
;
UPDATE AD_Column SET ColumnName='M_ProductionPlan_M_Locator_ID' WHERE AD_Column_ID=208315
;
UPDATE AD_Element SET ColumnName='M_ProductionPlan_M_Product_ID' WHERE AD_Element_ID=202159
;
UPDATE AD_Column SET ColumnName='M_ProductionPlan_M_Product_ID' WHERE AD_Column_ID=208316
;
UPDATE AD_Element SET ColumnName='M_ProductLine_C_UOM_ID' WHERE AD_Element_ID=201351
;
UPDATE AD_Column SET ColumnName='M_ProductLine_C_UOM_ID' WHERE AD_Column_ID=204703
;
UPDATE AD_Element SET ColumnName='M_Warehouse_AD_Org_ID' WHERE AD_Element_ID=201614
;
UPDATE AD_Column SET ColumnName='M_Warehouse_AD_Org_ID' WHERE AD_Column_ID=205787
;
UPDATE AD_Element SET ColumnName='M_Warehouse_AD_Org_ID' WHERE AD_Element_ID=201614
;
UPDATE AD_Column SET ColumnName='M_Warehouse_AD_Org_ID' WHERE AD_Column_ID=210200
;
UPDATE AD_Element SET ColumnName='S_RAssignment_AD_Org_ID' WHERE AD_Element_ID=201603
;
UPDATE AD_Column SET ColumnName='S_RAssignment_AD_Org_ID' WHERE AD_Column_ID=205722
;
UPDATE AD_Element SET ColumnName='S_ResourceAssignment_AD_Org_ID' WHERE AD_Element_ID=201201
;
UPDATE AD_Column SET ColumnName='S_ResourceAssignment_AD_Org_ID' WHERE AD_Column_ID=203997
;
UPDATE AD_Element SET ColumnName='SalesRep_AD_AD_OrgTrx_ID' WHERE AD_Element_ID=200459
;
UPDATE AD_Column SET ColumnName='SalesRep_AD_AD_OrgTrx_ID' WHERE AD_Column_ID=201423
;
UPDATE AD_Element SET ColumnName='SalesRep_AD_AD_OrgTrx_ID' WHERE AD_Element_ID=200459
;
UPDATE AD_Column SET ColumnName='SalesRep_AD_AD_OrgTrx_ID' WHERE AD_Column_ID=203628
;
UPDATE AD_Element SET ColumnName='SalesRep_AD_OrgTrx_ID' WHERE AD_Element_ID=201643
;
UPDATE AD_Column SET ColumnName='SalesRep_AD_OrgTrx_ID' WHERE AD_Column_ID=206148
;
UPDATE AD_Element SET ColumnName='SalesRep_AD_OrgTrx_ID' WHERE AD_Element_ID=201643
;
UPDATE AD_Column SET ColumnName='SalesRep_AD_OrgTrx_ID' WHERE AD_Column_ID=206868
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_AD_Org_ID' WHERE AD_Element_ID=201648
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_AD_Org_ID' WHERE AD_Column_ID=206173
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_AD_Org_ID' WHERE AD_Element_ID=201648
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_AD_Org_ID' WHERE AD_Column_ID=206893
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201647
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_AD_OrgBP_ID' WHERE AD_Column_ID=206172
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_AD_OrgBP_ID' WHERE AD_Element_ID=201647
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_AD_OrgBP_ID' WHERE AD_Column_ID=206892
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201649
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_BPartner_Parent_ID' WHERE AD_Column_ID=206174
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_BPartner_Parent_ID' WHERE AD_Element_ID=201649
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_BPartner_Parent_ID' WHERE AD_Column_ID=206894
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_C_Dunning_ID' WHERE AD_Element_ID=201650
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_C_Dunning_ID' WHERE AD_Column_ID=206176
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_C_Dunning_ID' WHERE AD_Element_ID=201650
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_C_Dunning_ID' WHERE AD_Column_ID=206896
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_C_InvoiceSched_ID' WHERE AD_Element_ID=201651
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_C_InvoiceSched_ID' WHERE AD_Column_ID=206178
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_C_InvoiceSched_ID' WHERE AD_Element_ID=201651
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_C_InvoiceSched_ID' WHERE AD_Column_ID=206898
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_Logo_ID' WHERE AD_Element_ID=201675
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_Logo_ID' WHERE AD_Column_ID=206204
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_Logo_ID' WHERE AD_Element_ID=201675
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_Logo_ID' WHERE AD_Column_ID=206924
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_SalesRep_ID' WHERE AD_Element_ID=201687
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_SalesRep_ID' WHERE AD_Column_ID=206219
;
UPDATE AD_Element SET ColumnName='SalesRep_BP_SalesRep_ID' WHERE AD_Element_ID=201687
;
UPDATE AD_Column SET ColumnName='SalesRep_BP_SalesRep_ID' WHERE AD_Column_ID=206939
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_AD_Org_ID' WHERE AD_Element_ID=200482
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_AD_Org_ID' WHERE AD_Column_ID=201446
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_AD_OrgBP_ID' WHERE AD_Element_ID=200481
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_AD_OrgBP_ID' WHERE AD_Column_ID=201445
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_Logo_ID' WHERE AD_Element_ID=200511
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_Logo_ID' WHERE AD_Column_ID=201475
;
UPDATE AD_Element SET ColumnName='SalesRep_BPartner_SalesRep_ID' WHERE AD_Element_ID=200524
;
UPDATE AD_Column SET ColumnName='SalesRep_BPartner_SalesRep_ID' WHERE AD_Column_ID=201488
;
UPDATE AD_Element SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Element_ID=200461
;
UPDATE AD_Column SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Column_ID=201425
;
UPDATE AD_Element SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Element_ID=200461
;
UPDATE AD_Column SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Column_ID=203630
;
UPDATE AD_Element SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Element_ID=200461
;
UPDATE AD_Column SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Column_ID=206150
;
UPDATE AD_Element SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Element_ID=200461
;
UPDATE AD_Column SET ColumnName='SalesRep_C_BPartner_ID' WHERE AD_Column_ID=206870
;
UPDATE AD_Element SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Element_ID=200463
;
UPDATE AD_Column SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Column_ID=201427
;
UPDATE AD_Element SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Element_ID=200463
;
UPDATE AD_Column SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Column_ID=203632
;
UPDATE AD_Element SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Element_ID=200463
;
UPDATE AD_Column SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Column_ID=206152
;
UPDATE AD_Element SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Element_ID=200463
;
UPDATE AD_Column SET ColumnName='SalesRep_C_Greeting_ID' WHERE AD_Column_ID=206872
;
UPDATE AD_Element SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Element_ID=200474
;
UPDATE AD_Column SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Column_ID=206164
;
UPDATE AD_Element SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Element_ID=200474
;
UPDATE AD_Column SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Column_ID=206884
;
UPDATE AD_Element SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Element_ID=200474
;
UPDATE AD_Column SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Column_ID=201438
;
UPDATE AD_Element SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Element_ID=200474
;
UPDATE AD_Column SET ColumnName='SalesRep_Supervisor_ID' WHERE AD_Column_ID=203644
;
UPDATE AD_Element SET ColumnName='T_InvoiceGL_AD_Org_ID' WHERE AD_Element_ID=201564
;
UPDATE AD_Column SET ColumnName='T_InvoiceGL_AD_Org_ID' WHERE AD_Column_ID=205470
;
UPDATE AD_Element SET ColumnName='T_InvoiceGL_C_Invoice_ID' WHERE AD_Element_ID=201565
;
UPDATE AD_Column SET ColumnName='T_InvoiceGL_C_Invoice_ID' WHERE AD_Column_ID=205471
;
DROP VIEW rv_orderdetail;
CREATE OR REPLACE VIEW rv_orderdetail
AS
SELECT l.ad_client_id,
l.ad_org_id,
l.isactive,
l.created,
l.createdby,
l.updated,
l.updatedby,
o.c_order_id,
o.docstatus,
o.docaction,
o.c_doctype_id,
o.isapproved,
o.iscreditapproved,
o.salesrep_id,
o.bill_bpartner_id,
o.bill_location_id,
o.bill_user_id,
o.isdropship,
l.c_bpartner_id,
l.c_bpartner_location_id,
o.ad_user_id,
o.poreference,
o.c_currency_id,
o.issotrx,
l.c_campaign_id,
l.c_project_id,
l.c_activity_id,
l.c_projectphase_id,
l.c_projecttask_id,
l.c_orderline_id,
l.dateordered,
l.datepromised,
l.m_product_id,
l.m_warehouse_id,
l.m_attributesetinstance_id,
productattribute(l.m_attributesetinstance_id) AS productattribute,
pasi.m_attributeset_id,
pasi.m_lot_id,
pasi.guaranteedate,
pasi.lot,
pasi.serno,
l.c_uom_id,
l.qtyentered,
l.qtyordered,
l.qtyreserved,
l.qtydelivered,
l.qtyinvoiced,
l.priceactual,
l.priceentered,
l.qtyordered - l.qtydelivered AS qtytodeliver,
l.qtyordered - l.qtyinvoiced AS qtytoinvoice,
( l.qtyordered - l.qtyinvoiced ) * l.priceactual AS netamttoinvoice,
l.qtylostsales,
l.qtylostsales * l.priceactual AS amtlostsales,
CASE
WHEN l.pricelist = 0 THEN 0
ELSE round(( l.pricelist - l.priceactual ) / l.pricelist * 100, 2)
END AS discount,
CASE
WHEN l.pricelimit = 0 THEN 0
ELSE round(( l.priceactual - l.pricelimit ) / l.pricelimit * 100, 2)
END AS margin,
CASE
WHEN l.pricelimit = 0 THEN 0
ELSE ( l.priceactual - l.pricelimit ) * l.qtydelivered
END AS marginamt,
o.ad_org_id AS c_order_ad_org_id,
o.ad_orgtrx_id AS c_order_ad_orgtrx_id,
o.amountrefunded,
o.amounttendered,
o.c_activity_id AS c_order_c_activity_id,
o.c_bpartner_id AS c_order_c_bpartner_id,
o.c_bpartner_location_id AS c_order_c_bpartner_loc_id,
o.c_campaign_id AS c_order_c_compaign_id,
o.c_cashline_id,
o.c_cashplanline_id,
o.c_charge_id AS c_order_c_charge_id,
o.c_conversiontype_id,
o.c_doctypetarget_id,
o.chargeamt,
o.copyfrom,
o.c_payment_id,
o.c_paymentterm_id,
o.c_pos_id,
o.c_project_id AS c_order_c_project_id,
o.created AS c_order_created,
o.createdby AS c_order_createdby,
o.dateacct,
o.dateordered AS c_order_dateordered,
o.dateprinted,
o.datepromised AS c_order_datepromised,
o.deliveryrule,
o.deliveryviarule,
o.description AS c_order_description,
o.documentno,
o.dropship_bpartner_id,
o.dropship_location_id,
o.dropship_user_id,
o.freightamt AS c_order_freightamt,
o.freightcostrule,
o.grandtotal,
o.invoicerule,
o.isactive AS c_order_isactive,
o.isdelivered,
o.isdiscountprinted,
o.isinvoiced,
o.ispayschedulevalid,
o.isprinted,
o.isselected,
o.isselfservice,
o.istaxincluded,
o.istransferred,
o.link_order_id,
o.m_freightcategory_id,
o.m_pricelist_id,
o.m_shipper_id AS c_order_m_shipper_id,
o.m_warehouse_id AS c_order_m_warehouse_id,
o.ordertype,
o.pay_bpartner_id,
o.pay_location_id,
o.paymentrule,
o.posted,
o.priorityrule,
o.processed AS c_order_processed,
o.processedon,
o.promotioncode,
o.ref_order_id,
o.sendemail,
o.totallines,
o.updated AS c_order_updated,
o.updatedby AS c_order_updatedby,
o.user1_id AS c_order_user1_id,
o.user2_id AS c_order_user2_id,
o.volume,
o.weight,
l.ad_orgtrx_id AS c_orderline_ad_orgtrx_id,
l.c_charge_id AS c_orderline_c_charge_id,
l.c_currency_id AS c_orderline_c_currency_id,
l.c_tax_id,
l.datedelivered,
l.dateinvoiced,
l.description AS c_orderline_description,
l.discount AS c_orderline_discount,
l.freightamt AS c_orderline_freightamt,
l.isdescription,
l.line,
l.linenetamt,
l.link_orderline_id,
l.m_promotion_id,
l.m_shipper_id AS c_orderline_m_shipper_id,
l.pricecost,
l.pricelimit,
l.pricelist,
l.processed AS c_orderline_processed,
l.ref_orderline_id,
l.rramt,
l.rrstartdate,
l.s_resourceassignment_id,
l.user1_id AS c_orderline_user1_id,
l.user2_id AS c_orderline_user2_id,
pasi.ad_org_id AS m_asi_ad_org_id,
pasi.created AS m_asi_created,
pasi.createdby AS m_asi_createdby,
pasi.description AS m_asi_description,
pasi.isactive AS m_asi_isactive,
pasi.updated AS m_asi_updated,
pasi.updatedby AS m_asi_updatedby
FROM c_order o
JOIN c_orderline l
ON o.c_order_id = l.c_order_id
LEFT JOIN m_attributesetinstance pasi
ON l.m_attributesetinstance_id = pasi.m_attributesetinstance_id
;
DROP VIEW rv_transaction;
CREATE OR REPLACE VIEW rv_transaction
AS
SELECT t.m_transaction_id,
t.ad_client_id,
t.ad_org_id,
t.movementtype,
t.movementdate,
t.movementqty,
t.m_attributesetinstance_id,
asi.m_attributeset_id,
asi.serno,
asi.lot,
asi.m_lot_id,
asi.guaranteedate,
t.m_product_id,
p.value,
p.name,
p.description,
p.upc,
p.sku,
p.c_uom_id,
p.m_product_category_id,
p.classification,
p.weight,
p.volume,
p.versionno,
t.m_locator_id,
l.m_warehouse_id,
l.x,
l.y,
l.z,
t.m_inventoryline_id,
il.m_inventory_id,
t.m_movementline_id,
ml.m_movement_id,
t.m_inoutline_id,
iol.m_inout_id,
t.m_productionline_id,
prdl.m_productionplan_id,
prdp.m_production_id,
t.c_projectissue_id,
pjl.c_project_id,
COALESCE(il.line, ml.line, iol.line, prdl.line, pjl.line) AS line,
t.created AS m_transaction_created,
t.createdby AS m_transaction_createdby,
t.isactive AS m_transaction_isactive,
t.pp_cost_collector_id,
t.updated AS m_transaction_updated,
t.updatedby AS m_transction_updatedby,
l.ad_org_id AS m_locator_ad_org_id,
l.isactive AS m_locator_isactive,
l.isdefault,
l.priorityno,
l.value AS m_locator_value,
p.ad_org_id AS m_product_ad_org_id,
p.copyfrom AS m_product_copyfrom,
p.created AS m_product_created,
p.createdby AS m_product_createdby,
p.c_revenuerecognition_id,
p.c_subscriptiontype_id,
p.c_taxcategory_id,
p.descriptionurl,
p.discontinued AS m_product_discontinued,
p.discontinuedat AS m_product_discontinuedat,
p.documentnote,
p.group1,
p.group2,
p.guaranteedays,
p.guaranteedaysmin,
p.help,
p.imageurl,
p.isactive AS m_product_isactive,
p.isbom,
p.isdropship,
p.isexcludeautodelivery,
p.isinvoiceprintdetails,
p.ispicklistprintdetails,
p.ispurchased,
p.isselfservice,
p.issold,
p.isstocked,
p.issummary AS m_product_issummary,
p.isverified,
p.iswebstorefeatured,
p.lowlevel,
p.m_attributeset_id AS m_product_m_attributeset_id,
p.m_attributesetinstance_id AS m_product_m_asi_id,
p.m_freightcategory_id,
p.m_locator_id AS m_product_m_locator_id,
p.processing AS m_product_processing,
p.producttype,
p.r_mailtext_id,
p.salesrep_id AS m_product_salesrep_id,
p.s_expensetype_id,
p.shelfdepth,
p.shelfheight,
p.shelfwidth,
p.s_resource_id,
p.unitsperpack,
p.unitsperpallet,
p.updated AS m_product_updated,
p.updatedby AS m_product_updatedby,
il.ad_org_id AS m_inventoryline_ad_org_id,
il.c_charge_id AS m_inventoryline_c_charge_id,
il.created AS m_inventoryline_created,
il.createdby AS m_inventoryline_createdby,
il.description AS m_inventoryline_description,
il.inventorytype,
il.isactive AS m_inventoryline_isactive,
il.m_attributesetinstance_id AS m_inventoryline_m_asi_id,
il.m_locator_id AS m_inventoryline_m_locator_id,
il.m_product_id AS m_inventoryline_m_product_id,
il.processed AS m_inventoryline_processed,
il.qtybook,
il.qtycount,
il.qtycsv,
il.qtyinternaluse,
il.reversalline_id AS m_inventoryline_revline_id,
il.updated AS m_inventoryline_updated,
il.updatedby AS m_inventoryline_updatedby,
ml.ad_org_id AS m_movementline_ad_org_id,
ml.confirmedqty AS m_movementline_confirmedqty,
ml.created AS m_movementline_created,
ml.createdby AS m_movementline_createdby,
ml.dd_orderline_id,
ml.description AS m_movementline_description,
ml.isactive AS m_movementline_isactive,
ml.m_attributesetinstance_id AS m_movementline_m_asi_id,
ml.m_attributesetinstanceto_id,
ml.m_locator_id AS m_movementline_m_locator_id,
ml.m_locatorto_id,
ml.movementqty AS m_movementline_movementqty,
ml.m_product_id AS m_movementline_m_product_id,
ml.processed AS m_movementline_processed,
ml.reversalline_id AS m_movementline_reversalln_id,
ml.scrappedqty AS m_movementline_scrappedqty,
ml.targetqty AS m_movementline_targetqty,
ml.updated AS m_movementline_updated,
ml.updatedby AS m_movementline_updatedby,
iol.ad_org_id AS m_inoutline_ad_org_id,
iol.ad_orgtrx_id AS m_inoutline_ad_orgtrx_id,
iol.c_activity_id AS m_inoutline_c_activity_id,
iol.c_campaign_id AS m_inoutline_c_campaign_id,
iol.c_charge_id AS m_inoutline_c_charge_id,
iol.confirmedqty AS m_inoutline_confirmedqty,
iol.c_orderline_id AS m_inoutline_c_orderline_id,
iol.c_project_id AS m_inoutline_c_project_id,
iol.c_projectphase_id,
iol.c_projecttask_id,
iol.created AS m_inoutline_created,
iol.createdby AS m_inoutline_createdby,
iol.c_uom_id AS m_inoutline_c_uom_id,
iol.description AS m_inoutline_description,
iol.isactive AS m_inoutline_isactive,
iol.isdescription,
iol.isinvoiced,
iol.line AS m_inoutline_line,
iol.m_attributesetinstance_id AS m_inoutline_m_asi_id,
iol.m_inout_id AS m_inoutline_m_inout_id,
iol.movementqty AS m_inoutline_movementqty,
iol.m_product_id AS m_inoutline_m_product_id,
iol.m_rmaline_id AS m_inoutline_m_rmaline_id,
iol.pickedqty AS m_inoutline_pickedqty,
iol.processed AS m_inoutline_processed,
iol.qtyentered AS m_inoutline_qtyentered,
iol.ref_inoutline_id,
iol.reversalline_id AS m_inoutline_reversalline_id,
iol.scrappedqty AS m_inoutline_scrappedqty,
iol.targetqty AS m_inoutline_targetqty,
iol.updated AS m_inoutline_updated,
iol.updatedby AS m_inoutline_updatedby,
iol.user1_id AS m_inoutline_user1_id,
iol.user2_id AS m_inoutline_user2_id,
prdl.ad_org_id AS m_productionline_ad_org_id,
prdl.created AS m_productionline_created,
prdl.createdby AS m_productionline_createdby,
prdl.description AS m_productionline_description,
prdl.isactive AS m_productionline_isactive,
prdl.m_attributesetinstance_id AS m_productionline_m_asi_id,
prdl.m_locator_id AS m_productionline_m_locator_id,
prdl.movementqty AS m_productionline_movementqty,
prdl.m_product_id AS m_productionline_m_product_id,
prdl.m_productionline_id AS m_productionl_m_productionl_id,
prdl.processed AS m_productionline_processed,
prdl.updated AS m_productionline_updated,
prdl.updatedby AS m_productionline_updatedby,
prdp.ad_org_id AS m_productionplan_ad_org_id,
prdp.created AS m_productionplan_created,
prdp.createdby AS m_productionplan_createdby,
prdp.description AS m_productionplan_description,
prdp.isactive AS m_productionplan_isactive,
prdp.line AS m_productionplan_line,
prdp.m_locator_id AS m_productionplan_m_locator_id,
prdp.m_product_id AS m_productionplan_m_product_id,
prdp.processed AS m_productionplan_processed,
prdp.productionqty AS m_productionplan_productionqt,
prdp.updated AS m_productionplan_updated,
prdp.updatedby AS m_productionplan_updatedby,
pjl.ad_org_id AS c_prjctissue_ad_org_id,
pjl.c_projectissue_id AS c_prjctissue_c_projectissue_id,
pjl.created AS c_prjctissue_created,
pjl.createdby AS c_prjctissue_createdby,
pjl.description AS c_prjctissue_description,
pjl.isactive AS c_prjctissue_isactive,
pjl.m_attributesetinstance_id AS c_prjctissue_m_asi_id,
pjl.m_inoutline_id AS c_prjctissue_m_inoutline_id,
pjl.m_locator_id AS c_prjctissue_m_locator_id,
pjl.movementdate AS c_prjctissue_movementdate,
pjl.movementqty AS c_prjctissue_movementqty,
pjl.m_product_id AS c_prjctissue_m_product_id,
pjl.posted AS c_prjctissue_posted,
pjl.processed AS c_prjctissue_processed,
pjl.processedon AS c_prjctissue_processedon,
pjl.processing AS c_prjctissue_processing,
pjl.s_timeexpenseline_id AS c_prjctissue_s_timeexpline_id,
pjl.updated AS c_prjctissue_updated,
pjl.updatedby AS c_prjctissue_updatedby
FROM m_transaction t
JOIN m_locator l
ON t.m_locator_id = l.m_locator_id
JOIN m_product p
ON t.m_product_id = p.m_product_id
LEFT JOIN m_attributesetinstance asi
ON t.m_attributesetinstance_id = asi.m_attributesetinstance_id
LEFT JOIN m_inventoryline il
ON t.m_inventoryline_id = il.m_inventoryline_id
LEFT JOIN m_movementline ml
ON t.m_movementline_id = ml.m_movementline_id
LEFT JOIN m_inoutline iol
ON t.m_inoutline_id = iol.m_inoutline_id
LEFT JOIN m_productionline prdl
ON t.m_productionline_id = prdl.m_productionline_id
LEFT JOIN m_productionplan prdp
ON prdl.m_productionplan_id = prdp.m_productionplan_id
LEFT JOIN c_projectissue pjl
ON t.c_projectissue_id = pjl.c_projectissue_id
;
SELECT register_migration_script('201304241641_IDEMPIERE-794.sql') FROM dual
;