MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:cp
:TCMOD:rpd
:TFLNO:320
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
migrate BillOfCriticalMaterials
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:BillOfCriticalMaterials,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd3120m000


---  Migration Logic  ---
Source table in Access: BillOfCriticalMaterials
Target table in %TV: %TTcprpd320


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.




---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:cp
:TCMOD:rpd
:TFLNO:710
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
migrate SourcingStrategies
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:SourcingStrategies,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd7110m000

---  Migration Logic  ---
Source table in access: Sourcing Strategies
Target table in %TV: %TTcprpd710




---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:com
:TFLNO:117
:LDAT:10/11/2013 12:12:31 PM
:PRTX:START
migrate BusinessPartnerShipToBySoldTo
:PRTX:END
:STAT:V
:VARI:
:STBL:BusinessPartnerShipToBySoldTo
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4117m000


---  Migration Logic  ---
Source table in Access: BusinessPartnerShipToBySoldTo
Target table in %TV: %TTtccom117


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:com
:TFLNO:139
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.tccom139.city = ""
var.tccom139.idnr = 0
prev.city = ""
prev.country = ""
prev.stateprovince=""
var.tccom139.dsca = ""
var.tccom139.seak = ""

migrate Addresses
:PRTX:END
:STAT:V
:VARI:
:STBL:Addresses
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4539m000

---  Migration Logic  ---
The table Addresses is used as source for this table
Target table in %TV: %TTtccom139
Only unique combinations of country, state/province and city will be dumped.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:003
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate ConversionFactors
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'| Item functions
:STBL:ConversionFactors,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0103m000


---  Migration Logic  ---
Source table in access: ConversionFactors
Target table in %TV: %TTtcibd003



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:004
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate ItemCodesByItemCodeSystem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemCodesByItemCodeSystem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0504m000

---  Migration Logic  ---
Source table in access: ItemCodesByItemCodeSystem
Target table in %TV: %TTtcibd004


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:005
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate AlternativeItems
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:AlternativeItems,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0505m000

---  Migration Logic  ---
Source table in access: AlternativeItems
Target table in %TV: %TTtcibd005


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:mcs
:TFLNO:001
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.DefaultUnitSet
from	GeneralParameters
selectdo
	var.DefaultUnitSet = GeneralParameters.DefaultUnitSet
endselect

migrate Units
:PRTX:END
:STAT:V
:VARI:
:STBL:Units,GeneralParameters
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:mcs
:TFLNO:012
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.DefaultUnitSet
from	GeneralParameters
selectdo
	var.DefaultUnitSet = GeneralParameters.DefaultUnitSet
endselect

migrate Units
:PRTX:END
:STAT:V
:VARI:
:STBL:Units,GeneralParameters
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:mcs
:TFLNO:052
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate Projects
:PRTX:END
:STAT:V
:VARI:
:STBL:Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcmcs0552m000

---  Migration Logic  ---
Source table in access: Projects
Target table in %TV: %TTtcmcs052


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemPurchaseBP,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate ItemSalesBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemSalesBP,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:pcg
:TFLNO:010
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate MatrixDefinitions
:PRTX:END
:STAT:V
:VARI:
:STBL:MatrixDefinitions
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0110m000

---  Migration Logic  ---
Source table in access: MatrixDefinitions
Target table in %TV: %TTtdpcg010


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:pcg
:TFLNO:020
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate MatrixSequences
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:MatrixSequences
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0120m000

---  Migration Logic  ---
Source table in access: MatrixSequences
Target table in %TV: %TTtdpcg020


---  Migration Parameters  ---


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
This include is stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:pcg
:TFLNO:030
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate Matrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Matrices,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStdpcg0130m000


---  Migration Logic  ---
Source table in access: Matrices
Target table in %TV: %TTtdpcg030


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:10/11/2013 12:12:32 PM
:PRTX:START
migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:PriceBooks,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:002
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
migrate DimensionType
:PRTX:END
:STAT:V
:VARI:
:STBL:DimensionType
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:005
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
migrate Periods
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Periods
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:006
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EndDatesByYear
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:007
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate Periods
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Periods,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---

Source table in Access - Periods

Target table in ERP LN - tfgld007 (Periods )


---  Migration Parameters  ---

Parameter table "GeneralParameters" is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---



---  Performance  ---






:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:008
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.SourceGLVersion = GeneralParameters.SourceGLVersion
endselect

migrate ChartOfAccounts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ChartOfAccounts,DimensionType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Session: %TStfgld0508m000



---  Migration Logic  ---
Source table in access:ChartOfAccounts
Target table in %TV: %TTtfgld008


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:009
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.source.gl.version = GeneralParameters.SourceGLVersion
endselect

migrate DimensionRangesbyLedgerAccount
:PRTX:END
:STAT:V
:VARI:
:STBL:DimensionRangesbyLedgerAccount,GeneralParameters,ChartOfAccounts
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:010
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.source.gl.version = GeneralParameters.SourceGLVersion
endselect

'| Initialize Infor FMS variables
varint.depth = 0
varstr.root = "******"
varstr.prevparent = ""

migrate Dimensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:Dimensions,GeneralParameters
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:014
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
varstr.user  =  get.user() 
migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:GeneralParameters,EndDatesByYear
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:017
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
migrate TransactionTypeSeries
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:TransactionTypeSeries
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:018
:LDAT:10/11/2013 12:12:33 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:100
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
select GeneralParameters.MigrationUser
from GeneralParameters
selectdo
	varstr.user = GeneralParameters.MigrationUser
endselect

Migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:GeneralParameters,EndDatesByYear
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:106
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:109
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
varstr.user  =  get.user() 
migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:GeneralParameters,EndDatesByYear
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:201
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.debit.balance2  = 0.0
var.debit.balance3  = 0.0
var.credit.balance2 = 0.0
var.credit.balance3 = 0.0  
var.finalized.qty2  =  0.0  
  
select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion  
endselect  

'| Store dimensiontypes used in variable for performance
var.DimensionTypePresent1 = DimensionTypePresent(1)
var.DimensionTypePresent2 = DimensionTypePresent(2)
var.DimensionTypePresent3 = DimensionTypePresent(3)
var.DimensionTypePresent4 = DimensionTypePresent(4)
var.DimensionTypePresent5 = DimensionTypePresent(5)
var.DimensionTypePresent6 = DimensionTypePresent(6)
var.DimensionTypePresent7 = DimensionTypePresent(7)
var.DimensionTypePresent8 = DimensionTypePresent(8)
var.DimensionTypePresent9 = DimensionTypePresent(9)
var.DimensionTypePresent10 = DimensionTypePresent(10)
var.DimensionTypePresent11 = DimensionTypePresent(11)
var.DimensionTypePresent12 = DimensionTypePresent(12)


migrate PeriodTotals

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if varstr.AccountSource  <>  "" then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 201 '  |  History  -  Ledger Account Totals
end if
:PRTX:END
:STAT:V
:VARI:#include <tfgld0001>
:STBL:PeriodTotals,GeneralParameters,DimensionMapping,Dimensions,DimensionType,CurrencyMapping,ChartOfAccountsMapping,ExchangeRateTypeMapping
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:202
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.debit.balance2  = 0.0
var.debit.balance3  = 0.0
var.credit.balance2 = 0.0
var.credit.balance3 = 0.0  
var.finalized.qty2  =  0.0  
  
select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion  
endselect  

'| Store dimensiontypes used in variable for performance
var.DimensionTypePresent1 = DimensionTypePresent(1)
var.DimensionTypePresent2 = DimensionTypePresent(2)
var.DimensionTypePresent3 = DimensionTypePresent(3)
var.DimensionTypePresent4 = DimensionTypePresent(4)
var.DimensionTypePresent5 = DimensionTypePresent(5)
var.DimensionTypePresent6 = DimensionTypePresent(6)
var.DimensionTypePresent7 = DimensionTypePresent(7)
var.DimensionTypePresent8 = DimensionTypePresent(8)
var.DimensionTypePresent9 = DimensionTypePresent(9)
var.DimensionTypePresent10 = DimensionTypePresent(10)
var.DimensionTypePresent11 = DimensionTypePresent(11)
var.DimensionTypePresent12 = DimensionTypePresent(12)


migrate PeriodTotals

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if varstr.AccountSource  <>  "" then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 201 '  |  History  -  Ledger Account Totals
end if
:PRTX:END
:STAT:V
:VARI:#include <tfgld0001>
:STBL:PeriodTotals,GeneralParameters,DimensionMapping,Dimensions,DimensionType,CurrencyMapping,ChartOfAccountsMapping,ExchangeRateTypeMapping
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:203
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.opening.balance3 = 0
dim var.dims

select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion 
	var.currency   = GeneralParameters.BookingCurrency1	
endselect 

var.DimensionType1Used = DimensionTypePresent(1)
var.DimensionType2Used = DimensionTypePresent(2)
var.DimensionType3Used = DimensionTypePresent(3)
var.DimensionType4Used = DimensionTypePresent(4)
var.DimensionType5Used = DimensionTypePresent(5)
var.DimensionType6Used = DimensionTypePresent(6)
var.DimensionType7Used = DimensionTypePresent(7)
var.DimensionType8Used = DimensionTypePresent(8)
var.DimensionType9Used = DimensionTypePresent(9)
var.DimensionType10Used = DimensionTypePresent(10)
var.DimensionType11Used = DimensionTypePresent(11)
var.DimensionType12Used = DimensionTypePresent(12)

migrate OpeningBalance

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if var.dump.last.record  =  1 then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 203  	  '  |  Opening Balances  -  Ledger  /  Curr  
end if
:PRTX:END
:STAT:V
:VARI:
:STBL:ChartOfAccountsMapping,DimensionMapping,GeneralParameters,OpeningBalance,DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---

Source table in Access - OpeningBalance


Target table in ERP LN - tfgld206 (OpeningBalance - Combination of Dimension / Ledger)

               tfgld203 
               tfgld204

---  Migration Parameters  ---

Parameter table "GeneralParameters" is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:204
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.opening.balance3 = 0
dim var.dims

select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion 
	var.currency   = GeneralParameters.BookingCurrency1	
endselect 

var.DimensionType1Used = DimensionTypePresent(1)
var.DimensionType2Used = DimensionTypePresent(2)
var.DimensionType3Used = DimensionTypePresent(3)
var.DimensionType4Used = DimensionTypePresent(4)
var.DimensionType5Used = DimensionTypePresent(5)
var.DimensionType6Used = DimensionTypePresent(6)
var.DimensionType7Used = DimensionTypePresent(7)
var.DimensionType8Used = DimensionTypePresent(8)
var.DimensionType9Used = DimensionTypePresent(9)
var.DimensionType10Used = DimensionTypePresent(10)
var.DimensionType11Used = DimensionTypePresent(11)
var.DimensionType12Used = DimensionTypePresent(12)

migrate OpeningBalance

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if var.dump.last.record  =  1 then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 203  	  '  |  Opening Balances  -  Ledger  /  Curr  
end if
:PRTX:END
:STAT:V
:VARI:
:STBL:ChartOfAccountsMapping,DimensionMapping,GeneralParameters,OpeningBalance,DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---

Source table in Access - OpeningBalance


Target table in ERP LN - tfgld206 (OpeningBalance - Combination of Dimension / Ledger)

               tfgld203 
               tfgld204

---  Migration Parameters  ---

Parameter table "GeneralParameters" is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:205
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.debit.balance2  = 0.0
var.debit.balance3  = 0.0
var.credit.balance2 = 0.0
var.credit.balance3 = 0.0  
var.finalized.qty2  =  0.0  
  
select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion  
endselect  

'| Store dimensiontypes used in variable for performance
var.DimensionTypePresent1 = DimensionTypePresent(1)
var.DimensionTypePresent2 = DimensionTypePresent(2)
var.DimensionTypePresent3 = DimensionTypePresent(3)
var.DimensionTypePresent4 = DimensionTypePresent(4)
var.DimensionTypePresent5 = DimensionTypePresent(5)
var.DimensionTypePresent6 = DimensionTypePresent(6)
var.DimensionTypePresent7 = DimensionTypePresent(7)
var.DimensionTypePresent8 = DimensionTypePresent(8)
var.DimensionTypePresent9 = DimensionTypePresent(9)
var.DimensionTypePresent10 = DimensionTypePresent(10)
var.DimensionTypePresent11 = DimensionTypePresent(11)
var.DimensionTypePresent12 = DimensionTypePresent(12)


migrate PeriodTotals

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if varstr.AccountSource  <>  "" then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 201 '  |  History  -  Ledger Account Totals
end if
:PRTX:END
:STAT:V
:VARI:#include <tfgld0001>
:STBL:PeriodTotals,GeneralParameters,DimensionMapping,Dimensions,DimensionType,CurrencyMapping,ChartOfAccountsMapping,ExchangeRateTypeMapping
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tf
:TCMOD:gld
:TFLNO:206
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.opening.balance3 = 0
dim var.dims

select GeneralParameters.*   
from GeneralParameters  
selectdo  
	var.company  =  GeneralParameters.TargetCompanyNumber  
	var.gl.version  =  GeneralParameters.SourceGLVersion 
	var.currency   = GeneralParameters.BookingCurrency1	
endselect 

var.DimensionType1Used = DimensionTypePresent(1)
var.DimensionType2Used = DimensionTypePresent(2)
var.DimensionType3Used = DimensionTypePresent(3)
var.DimensionType4Used = DimensionTypePresent(4)
var.DimensionType5Used = DimensionTypePresent(5)
var.DimensionType6Used = DimensionTypePresent(6)
var.DimensionType7Used = DimensionTypePresent(7)
var.DimensionType8Used = DimensionTypePresent(8)
var.DimensionType9Used = DimensionTypePresent(9)
var.DimensionType10Used = DimensionTypePresent(10)
var.DimensionType11Used = DimensionTypePresent(11)
var.DimensionType12Used = DimensionTypePresent(12)

migrate OpeningBalance

' the below section is moved from the main query part to here as in the main query no 
' statements are allowed after the endselect.
if var.dump.last.record  =  1 then  
	'  |  Dump the totalized values of the last combination FiscalYear  /  AccountSource.  	  
	dump 203  	  '  |  Opening Balances  -  Ledger  /  Curr  
end if
:PRTX:END
:STAT:V
:VARI:
:STBL:ChartOfAccountsMapping,DimensionMapping,GeneralParameters,OpeningBalance,DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---

Source table in Access - OpeningBalance


Target table in ERP LN - tfgld206 (OpeningBalance - Combination of Dimension / Ledger)

               tfgld203 
               tfgld204

---  Migration Parameters  ---

Parameter table "GeneralParameters" is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:BillOfMaterial,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:bom
:TFLNO:020
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
migrate ReferenceDesignatorByBOM
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ReferenceDesignatorByBOM,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom0120m000

---  Migration Logic  ---
Source table in access: ReferenceDesignatorByBOM
Target table in %TV: %TTtibom020


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:bom
:TFLNO:040
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
migrate MaterialRoutingRelationships
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:MaterialRoutingRelationships,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom0140m000

---  Migration Logic  ---
Source table in access: MaterialRoutingRelationships
Target table in %TV: %TTtibom040


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:bom
:TFLNO:050
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
migrate AlternativeMaterial
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:AlternativeMaterial,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom0150m000

---  Migration Logic  ---
Source table in access: AlternativeMaterial
Target table in %TV: %TTtibom050


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:cpr
:TFLNO:110
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
migrate ItemSurcharges
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemSurcharges,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSticpr1110m000

---  Migration Logic  ---
Source table in access: ItemSurcharges
Target table in %TV: %TTticpr110


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:10/11/2013 12:12:34 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:rou
:TFLNO:101
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate RoutingCodesByItem
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:RoutingCodesByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1101m000

---  Migration Logic  ---
Source table in access: RoutingCodesByItem
Target table in %TV: %TTtirou101


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:RoutingOperation,RoutingCodesByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ti
:TCMOD:rou
:TFLNO:103
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate PhantomRoutingRelationship
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:PhantomRoutingRelationship,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1103m000


---  Migration Logic  ---
Source table in access: PhantomRoutingRelationship

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:015
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardLabors
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0511m000


---  Migration Logic  ---
Source table in access: StandardLabors
Target table in %TV: %TTtppdm015

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:016
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate TradeGroups
:PRTX:END
:STAT:V
:VARI:
:STBL:TradeGroups
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0530m000


---  Migration Logic  ---
Source table in access: TradeGroups
Target table in %TV: %TTtppdm016

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:035
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSubcontractings
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0513m000


---  Migration Logic  ---
Source table in access: StandardSubcontractings
Target table in %TV: %TTtppdm035

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:040
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardSundryCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSundryCosts
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TStppdm0514m000


---  Migration Logic  ---
Source table in access: StandardSundryCosts
Target table in %TV: %TTtppdm040

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:049
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate EmployeesByResponsibility
:PRTX:END
:STAT:V
:VARI:
:STBL:EmployeesByResponsibility
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0134m000


---  Migration Logic  ---
Source table in access: EmployeesByResponsibility
Target table in %TV: %TTtppdm049

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:090
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardElements
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardElements
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0580m000
In Infor ERPLN General menu - Project - General Project Tables - Standard Structures.



---  Migration Logic  ---
Source table in access: StandardElements
Target table in %TV: %TTtppdm090

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:110
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardActivities
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardActivities
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1510m000

---  Migration Logic  ---
Source table in access: StandardActivities
Target table in %TV: %TTtppdm110

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:139
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardActivitiesRevenueCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardActivitiesRevenueCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppin0130m000


---  Migration Logic  ---
Source table in access: StandardActivitiesRevenueCodes
Target table in %TV: %TTtppdm139



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:140
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate ProgressInvoicingActivitiesRevenueCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:ProgressInvoicingActivitiesRevenueCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppin0131m000


---  Migration Logic  ---
Source table in access: ProgressInvoicingActivitiesRevenueCodes
Target table in %TV: %TTtppdm140

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:141
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardElementsRevenueCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardElementsRevenueCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStppin0120m000


---  Migration Logic  ---
Source table in access: StandardElementsRevenueCodes
Target table in %TV: %TTtppdm141

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:142
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate ProgressInvoicingElementsRevenueCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:ProgressInvoicingElementsRevenueCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TStppin0121m000


---  Migration Logic  ---
Source table in access: ProgressInvoicingElementsRevenueCodes
Target table in %TV: %TTtppdm142

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:153
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate MaterialPriceFluctuationsIndexTables
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:MaterialPriceFluctuationsIndexTables,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm0170m000
Session can be found in Infor ERP LN General Menu:
Project - Project Progress - Extension Transactions - Material Fluctuations


---  Migration Logic  ---
Source table in access: MaterialPriceFluctuationsIndexTables
Target table in %TV: %TTtppdm153

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:170
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardSurchargesGeneralAndByCostType
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesGeneralAndByCostType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1570m000


---  Migration Logic  ---
Source table in access: StandardSurchargesGeneralAndByCostType
Target table in %TV: %TTtppdm170

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:171
:LDAT:10/11/2013 12:12:35 PM
:PRTX:START
migrate StandardSurchargesByCostComponent
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByCostComponent
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm1571m000


---  Migration Logic  ---
Source table in access:  StandardSurchargesByCostComponent
Target table in %TV: %TTtppdm171

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:172
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate StandardSurchargesByMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:StandardSurchargesByMaterial,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1572m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByMaterial
Target table in %TV: %TTtppdm172

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.






---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:173
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate StandardSurchargesByLabor
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByLabor
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1573m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByLabor
Target table in %TV: %TTtppdm173


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:174
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate StandardSurchargesByEquipment
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByEquipment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1574m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByEquipment
Target table in %TV: %TTtppdm174

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:175
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate StandardSurchargesBySubcontracting
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySubcontracting
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1575m000


---  Migration Logic  ---
Source table in access: StandardSurchargesBySubcontracting
Target table in %TV: %TTtppdm175

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:176
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate StandardSurchargesBySundryCost
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySundryCost
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1576m000



---  Migration Logic  ---
Source table in access: StandardSurchargesBySundryCost
Target table in %TV: %TTtppdm176

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:601
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectCostControlLevels
:PRTX:END
:STAT:V
:VARI:
:STBL:ProjectCostControlLevels
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6102m000


---  Migration Logic  ---
Source table in access: ProjectCostControlLevels
Target table in %TV: %TTtppdm601

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:615
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectLabors
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6511m000



---  Migration Logic  ---
Source table in access: ProjectLabors
Target table in %TV: %TTtppdm615

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:625
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectEquipments
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6512m000



---  Migration Logic  ---
Source table in access: ProjectEquipments
Target table in %TV: %TTtppdm625

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:635
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSubcontractings
:COMT:START
---  Changes in table design  ---


---  Source and Target Sessions  ---
Target session: %TStppdm6513m000


---  Migration Logic  ---
Source table in access: ProjectSubcontractings
Target table in %TV: %TTtppdm635

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:640
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectSundryCostCodes
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSundryCostCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6514m000



---  Migration Logic  ---
Source table in access: ProjectSundryCostCodes
Target table in %TV: %TTtppdm640

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:643
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectRevenues
:PRTX:END
:STAT:V
:VARI:
:STBL:ProjectRevenues
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm6515m000


---  Migration Logic  ---
Source table in Access: ProjectRevenues
Target table in %TV: %TTtppdm643



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:649
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate EmployeesResponsibleByProject
:PRTX:END
:STAT:V
:VARI:
:STBL:EmployeesResponsibleByProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6131m000


---  Migration Logic  ---
Source table in access: EmployeesResponsibleByProject
Target table in %TV: %TTtppdm649

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:740
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectBusinessPartners
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7140m000



---  Migration Logic  ---
Source table in access: ProjectBusinessPartners
Target table in %TV: %TTtppdm740

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:741
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectContractAmountsByBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectContractAmountsByBusinessPartners
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm7141m000



---  Migration Logic  ---
Source table in access: ProjectContractAmountsByBusinessPartners
Target table in %TV: %TTtppdm741

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:750
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate BuyFromItems
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:BuyFromItems,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm7550m000
In Infor ERPLN menu: Project - General Project Tables - Standard Cost Objects - Buy-from Business Partner Files

---  Migration Logic  ---
Source table in access: BuyFromItems
Target table in %TV: %TTtppdm750

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:751
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate BuyFromBPFileLayouts
:PRTX:END
:STAT:V
:VARI:
:STBL:BuyFromBPFileLayouts
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7551m000
In Infor ERPLN menu: Project - General Project Tables - Standard Cost Objects - Buy-from Business Partner Files


---  Migration Logic  ---
Source table in access: BuyFromBPFileLayouts
Target table in %TV: %TTtppdm751


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:752
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate DiscountGroupsByBuyFrom
:PRTX:END
:STAT:V
:VARI:
:STBL:DiscountGroupsByBuyFrom
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7152m000
In Infor ERPLN menu: Project - General Project Tables - Standard Cost Objects - Buy-from Business Partner Files



---  Migration Logic  ---
Source table in access: DiscountGroupsByBuyFrom
Target table in %TV: %TTtppdm752

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:754
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate UnitsByBuyFrom
:PRTX:END
:STAT:V
:VARI:
:STBL:UnitsByBuyFrom
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7156m000
In Infor ERPLN menu: Project - General Project Tables - Standard Cost Objects - Buy-from Business Partner Files


---  Migration Logic  ---
Source table in access: UnitsByBuyFrom
Target table in %TV: %TTtppdm754


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pdm
:TFLNO:758
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ItemsByBuyFromDiscountGroup
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsByBuyFromDiscountGroup,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---
Source table in access: ItemsByBuyFromDiscountGroup
Target table in %TV: %TTtppdm758

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pss
:TFLNO:010
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ProjectPlans
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectPlans
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss0510m000


---  Migration Logic  ---
Source table in access: ProjectPlans
Target table in %TV: %TTtppss010

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pss
:TFLNO:020
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate Baselines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Baselines
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppss0520m000


---  Migration Logic  ---
Source table in access: Baselines
Target table in %TV: %TTtppss020

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Activities,ItemCodeSegmentationParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pss
:TFLNO:220
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ActivityBaseline
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ActivityBaseline
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2120m000

---  Migration Logic  ---
Source table in access: ActivityBaseline
Target table in %TV: %TTtppss220

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:pss
:TFLNO:230
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ExternalScheduleLinks
:PRTX:END
:STAT:V
:VARI:
:STBL:ExternalScheduleLinks
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppss2130m000

---  Migration Logic  ---
Source table in access: ExternalScheduleLinks
Target table in %TV: %TTtppss230

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:ptc
:TFLNO:050
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate Extensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Extensions
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStpptc0510m000

---  Migration Logic  ---
Source table in access:  Extensions
Target table in %TV: %TTtpptc050

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:ptc
:TFLNO:100
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate Elements
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Elements
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1500m000
In Infor ERP LN General menu: Project - Project Definition - Project Structure - Scope Definition



---  Migration Logic  ---
Source table in access: Elements
Target table in %TV: %TTtpptc100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:tp
:TCMOD:ptc
:TFLNO:101
:LDAT:10/11/2013 12:12:36 PM
:PRTX:START
migrate ElementRelations
:PRTX:END
:STAT:V
:VARI:
:STBL:ElementRelations
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1505m000



---  Migration Logic  ---
Source table in access: ElementRelations
Target table in %TV: %TTtpptc101

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:inh
:TFLNO:520
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:inh
:TFLNO:521
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:inh
:TFLNO:526
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:LotsByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:104
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate StorageConditionsByItemGroupsItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:StorageConditionsByItemGroupsItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhwmd1104m000

---  Migration Logic  ---
Source table in access: StorageConditionsByItemGroupsItem
Target table in %TV: %TTwhwmd104

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:220
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate DockLocationsByWarehouseStorageZone
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:DockLocationsByWarehouseStorageZone,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhwmd2120m000




---  Migration Logic  ---
Main source tables in access: DockLocationsByWarehouseStorageZone
Target table in %TV: %TTwhwmd220

The DockLocationsByWarehouseStorageZone.Priority field from access is used to fill %TFwhwmd220.sqnr and %TFwhwmd220.prio
The DockLocationsByWarehouseStorageZone.BusinessPartner is used to fill the Business partner field but also the Ship-From fields and the Ship-To fields

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---
:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:300
:LDAT:10/11/2013 12:12:37 PM
:PRTX:START
migrate Locations
:PRTX:END
:STAT:V
:VARI:
:STBL:Locations,LocationByItem,LocationCapacity
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:301
:LDAT:10/11/2013 12:12:38 PM
:PRTX:START
migrate LocationCapacity
:PRTX:END
:STAT:V
:VARI:
:STBL:LocationCapacity
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:302
:LDAT:10/11/2013 12:12:38 PM
:PRTX:START
migrate LocationByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:LocationByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TSwhwmd3502m000


---  Migration Logic  ---
Source table in access: LocationByItem
Target table in %TV: %TTwhwmd302



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:7
:VERS:A2LN
:RELE:a7
:CUST:FP7R
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:10/11/2013 12:12:38 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:bp
:TCMOD:mdm
:TFLNO:001
:LDAT:12/3/2013 2:30:20 PM
:PRTX:START
migrate EmployeesPeople
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,EmployeesPeople
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source Table in access: EmployeesPeople
Target table in %TV:%TTbpmdm001



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:11/6/2013 1:11:40 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:11/6/2013 1:11:41 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:10/24/2013 4:15:55 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:cp
:TCMOD:rpd
:TFLNO:320
:LDAT:12/3/2013 2:30:21 PM
:PRTX:START
migrate BillOfCriticalMaterials
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,BillOfCriticalMaterials,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd3120m000


---  Migration Logic  ---
Source table in Access: BillOfCriticalMaterials
Target table in %TV: %TTcprpd320


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.




---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:cp
:TCMOD:rpd
:TFLNO:710
:LDAT:12/3/2013 2:30:22 PM
:PRTX:START
migrate SourcingStrategies
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,SourcingStrategies,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd7110m000

---  Migration Logic  ---
Source table in access: Sourcing Strategies
Target table in %TV: %TTcprpd710




---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:001
:LDAT:11/1/2013 10:15:22 AM
:PRTX:START
migrate Employees
:PRTX:END
:STAT:V
:VARI:
:STBL:Employees
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: Employees
Target table in %TV: %TTtccom001


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:12/3/2013 2:30:25 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:12/3/2013 2:30:26 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:12/3/2013 2:30:27 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:12/3/2013 2:30:29 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:12/3/2013 2:30:30 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:12/3/2013 2:30:31 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:12/3/2013 2:30:32 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:12/3/2013 2:30:33 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:12/3/2013 2:30:34 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:12/3/2013 2:30:38 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:12/3/2013 2:30:38 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:com
:TFLNO:140
:LDAT:12/3/2013 2:30:40 PM
:PRTX:START
migrate Contacts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date functions
:STBL:Contacts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4540m000

---  Migration Logic  ---
Source table in Access: Contacts
Target table in %TV:%TTtccom140


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:10/24/2013 4:15:57 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:10/24/2013 4:15:58 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:10/24/2013 4:15:59 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:11/6/2013 1:11:54 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:ibd
:TFLNO:005
:LDAT:12/3/2013 2:30:41 PM
:PRTX:START
migrate AlternativeItems
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,AlternativeItems,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0505m000

---  Migration Logic  ---
Source table in access: AlternativeItems
Target table in %TV: %TTtcibd005


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:11/6/2013 1:11:54 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:11/6/2013 1:11:55 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:mcs
:TFLNO:052
:LDAT:10/14/2013 3:14:29 PM
:PRTX:START
migrate Projects
:PRTX:END
:STAT:V
:VARI:
:STBL:Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcmcs0552m000

---  Migration Logic  ---
Source table in access: Projects
Target table in %TV: %TTtcmcs052


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:10/24/2013 4:16:03 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:12/3/2013 2:30:35 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:11/6/2013 1:12:00 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:12/3/2013 2:30:43 PM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Items,ItemPurchaseBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:11/6/2013 1:12:00 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:11/6/2013 1:12:03 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:12/3/2013 2:30:44 PM
:PRTX:START
migrate ItemSalesBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,ItemSalesBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:010
:LDAT:10/22/2013 10:37:39 AM
:PRTX:START
migrate MatrixDefinitions
:PRTX:END
:STAT:V
:VARI:
:STBL:MatrixDefinitions,MatrixSequences
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0110m000

---  Migration Logic  ---
Source table in access: MatrixDefinitions
Target table in %TV: %TTtdpcg010


---  Migration Parameters  ---



---  Migration Mapping Tables  ---
- Uses access source table: MatrixSequences


---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:011
:LDAT:10/14/2013 4:37:37 PM
:PRTX:START
migrate PriceBookCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:PriceBookCodes
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:020
:LDAT:12/3/2013 2:30:45 PM
:PRTX:START
migrate MatrixSequences
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:MatrixSequences,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0120m000

---  Migration Logic  ---
Source table in access: MatrixSequences
Target table in %TV: %TTtdpcg020


---  Migration Parameters  ---


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
This include is stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:021
:LDAT:12/3/2013 2:30:46 PM
:PRTX:START
migrate DiscountSchedules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:DiscountSchedules,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:030
:LDAT:12/3/2013 2:30:47 PM
:PRTX:START
migrate Matrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Matrices,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStdpcg0130m000


---  Migration Logic  ---
Source table in access: Matrices
Target table in %TV: %TTtdpcg030


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:12/3/2013 2:30:48 PM
:PRTX:START
migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,PriceBooks,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:fam
:TFLNO:100
:LDAT:12/3/2013 2:30:49 PM
:PRTX:START
varstr.dsca = ""
migrate Assets
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Assets,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1500m000


---  Migration Logic  ---
Source table in access: Assets
Target table in %TV: %TTtffam100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:fam
:TFLNO:110
:LDAT:12/3/2013 2:30:51 PM
:PRTX:START
migrate AssetBook
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:AssetBook,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1510m000



---  Migration Logic  ---
Source table in access: AssetBook
Target table in %TV: %TTtffam110


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:002
:LDAT:12/4/2013 3:28:02 PM
:PRTX:START
migrate DimensionType
:PRTX:END
:STAT:V
:VARI:
:STBL:DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStfgld0501m000
%TStfgld0101s000
%TStfgld0201m000


---  Migration Logic  ---
Main source tables in access: DimensionTypes


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:005
:LDAT:12/3/2013 2:30:52 PM
:PRTX:START
migrate Periods
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Periods,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:006
:LDAT:12/3/2013 2:30:52 PM
:PRTX:START
migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EndDatesByYear,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:008
:LDAT:10/28/2013 2:55:39 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.SourceGLVersion = GeneralParameters.SourceGLVersion
endselect

migrate ChartOfAccounts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ChartOfAccounts,DimensionType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Session: %TStfgld0508m000



---  Migration Logic  ---
Source table in access:ChartOfAccounts
Target table in %TV: %TTtfgld008


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:10/14/2013 12:13:11 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:017
:LDAT:12/3/2013 2:30:53 PM
:PRTX:START
migrate TransactionTypeSeries
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:TransactionTypeSeries,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:018
:LDAT:12/9/2013 11:52:07 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tf
:TCMOD:gld
:TFLNO:106
:LDAT:12/9/2013 11:52:11 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:12/3/2013 3:56:34 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,BillOfMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:11/6/2013 1:12:04 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:11/6/2013 1:12:05 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:10/24/2013 4:16:05 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:rou
:TFLNO:101
:LDAT:12/3/2013 3:49:59 PM
:PRTX:START
migrate RoutingCodesByItem
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,RoutingCodesByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1101m000

---  Migration Logic  ---
Source table in access: RoutingCodesByItem
Target table in %TV: %TTtirou101


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:12/3/2013 3:50:01 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,RoutingCodesByItem,RoutingOperation,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:ctm
:TFLNO:010
:LDAT:10/24/2013 4:11:46 PM
:PRTX:START
Migrate Programs
:PRTX:END
:STAT:V
:VARI:
:STBL:Programs
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: Programs
Target table in %TV: %TTtpctm010


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:11/6/2013 1:12:06 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:015
:LDAT:12/3/2013 3:50:02 PM
:PRTX:START
migrate StandardLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0511m000


---  Migration Logic  ---
Source table in access: StandardLabors
Target table in %TV: %TTtppdm015

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:12/3/2013 3:50:03 PM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:035
:LDAT:12/3/2013 3:50:04 PM
:PRTX:START
migrate StandardSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0513m000


---  Migration Logic  ---
Source table in access: StandardSubcontractings
Target table in %TV: %TTtppdm035

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:040
:LDAT:12/3/2013 3:50:05 PM
:PRTX:START
migrate StandardSundryCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSundryCosts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TStppdm0514m000


---  Migration Logic  ---
Source table in access: StandardSundryCosts
Target table in %TV: %TTtppdm040

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:090
:LDAT:10/23/2013 10:31:31 AM
:PRTX:START
migrate StandardElements
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardElements
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0580m000
In Infor ERPLN General menu - Project - General Project Tables - Standard Structures.



---  Migration Logic  ---
Source table in access: StandardElements
Target table in %TV: %TTtppdm090

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:110
:LDAT:10/23/2013 11:50:22 AM
:PRTX:START
migrate StandardActivities
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardActivities
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1510m000

---  Migration Logic  ---
Source table in access: StandardActivities
Target table in %TV: %TTtppdm110

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:153
:LDAT:12/3/2013 3:50:05 PM
:PRTX:START
migrate MaterialPriceFluctuationsIndexTables
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,MaterialPriceFluctuationsIndexTables,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm0170m000
Session can be found in Infor ERP LN General Menu:
Project - Project Progress - Extension Transactions - Material Fluctuations


---  Migration Logic  ---
Source table in access: MaterialPriceFluctuationsIndexTables
Target table in %TV: %TTtppdm153

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:170
:LDAT:12/3/2013 3:50:06 PM
:PRTX:START
migrate StandardSurchargesGeneralAndByCostType
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesGeneralAndByCostType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1570m000


---  Migration Logic  ---
Source table in access: StandardSurchargesGeneralAndByCostType
Target table in %TV: %TTtppdm170

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:171
:LDAT:12/3/2013 3:50:06 PM
:PRTX:START
migrate StandardSurchargesByCostComponent
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByCostComponent,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm1571m000


---  Migration Logic  ---
Source table in access:  StandardSurchargesByCostComponent
Target table in %TV: %TTtppdm171

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:172
:LDAT:12/3/2013 3:50:07 PM
:PRTX:START
migrate StandardSurchargesByMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,StandardSurchargesByMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1572m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByMaterial
Target table in %TV: %TTtppdm172

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.






---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:173
:LDAT:12/3/2013 3:50:08 PM
:PRTX:START
migrate StandardSurchargesByLabor
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByLabor,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1573m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByLabor
Target table in %TV: %TTtppdm173


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:174
:LDAT:12/3/2013 3:50:08 PM
:PRTX:START
migrate StandardSurchargesByEquipment
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByEquipment,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1574m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByEquipment
Target table in %TV: %TTtppdm174

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:175
:LDAT:12/3/2013 3:50:09 PM
:PRTX:START
migrate StandardSurchargesBySubcontracting
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySubcontracting,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1575m000


---  Migration Logic  ---
Source table in access: StandardSurchargesBySubcontracting
Target table in %TV: %TTtppdm175

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:176
:LDAT:12/3/2013 3:50:10 PM
:PRTX:START
migrate StandardSurchargesBySundryCost
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySundryCost,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1576m000



---  Migration Logic  ---
Source table in access: StandardSurchargesBySundryCost
Target table in %TV: %TTtppdm176

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:10/24/2013 4:16:12 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:615
:LDAT:12/3/2013 3:50:10 PM
:PRTX:START
migrate ProjectLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6511m000



---  Migration Logic  ---
Source table in access: ProjectLabors
Target table in %TV: %TTtppdm615

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:625
:LDAT:12/3/2013 3:50:12 PM
:PRTX:START
migrate ProjectEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6512m000



---  Migration Logic  ---
Source table in access: ProjectEquipments
Target table in %TV: %TTtppdm625

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:635
:LDAT:12/3/2013 3:50:13 PM
:PRTX:START
migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---


---  Source and Target Sessions  ---
Target session: %TStppdm6513m000


---  Migration Logic  ---
Source table in access: ProjectSubcontractings
Target table in %TV: %TTtppdm635

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:640
:LDAT:12/3/2013 3:50:13 PM
:PRTX:START
migrate ProjectSundryCostCodes
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSundryCostCodes,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6514m000



---  Migration Logic  ---
Source table in access: ProjectSundryCostCodes
Target table in %TV: %TTtppdm640

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:649
:LDAT:10/23/2013 1:44:20 PM
:PRTX:START
migrate EmployeesResponsibleByProject
:PRTX:END
:STAT:V
:VARI:
:STBL:EmployeesResponsibleByProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6131m000


---  Migration Logic  ---
Source table in access: EmployeesResponsibleByProject
Target table in %TV: %TTtppdm649

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:740
:LDAT:12/3/2013 3:50:15 PM
:PRTX:START
migrate ProjectBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7140m000



---  Migration Logic  ---
Source table in access: ProjectBusinessPartners
Target table in %TV: %TTtppdm740

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pdm
:TFLNO:741
:LDAT:12/3/2013 3:50:15 PM
:PRTX:START
migrate ProjectContractAmountsByBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectContractAmountsByBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm7141m000



---  Migration Logic  ---
Source table in access: ProjectContractAmountsByBusinessPartners
Target table in %TV: %TTtppdm741

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pss
:TFLNO:010
:LDAT:12/3/2013 3:50:16 PM
:PRTX:START
migrate ProjectPlans
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectPlans,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss0510m000


---  Migration Logic  ---
Source table in access: ProjectPlans
Target table in %TV: %TTtppss010

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:12/3/2013 3:50:17 PM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Projects,ItemCodeSegmentationParameters,Activities,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:pss
:TFLNO:220
:LDAT:12/3/2013 3:50:18 PM
:PRTX:START
migrate ActivityBaseline
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ActivityBaseline,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2120m000

---  Migration Logic  ---
Source table in access: ActivityBaseline
Target table in %TV: %TTtppss220

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:ptc
:TFLNO:050
:LDAT:12/3/2013 3:50:20 PM
:PRTX:START
migrate Extensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Extensions,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStpptc0510m000

---  Migration Logic  ---
Source table in access:  Extensions
Target table in %TV: %TTtpptc050

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tp
:TCMOD:ptc
:TFLNO:100
:LDAT:12/3/2013 3:50:21 PM
:PRTX:START
migrate Elements
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Elements,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1500m000
In Infor ERP LN General menu: Project - Project Definition - Project Structure - Scope Definition



---  Migration Logic  ---
Source table in access: Elements
Target table in %TV: %TTtpptc100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:11/6/2013 1:12:07 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tt
:TCMOD:txt
:TFLNO:001
:LDAT:12/5/2013 5:02:25 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber

' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tt
:TCMOD:txt
:TFLNO:002
:LDAT:12/5/2013 5:02:25 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber

' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:tt
:TCMOD:txt
:TFLNO:010
:LDAT:12/5/2013 5:02:26 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber

' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:inh
:TFLNO:520
:LDAT:10/24/2013 4:47:55 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:inh
:TFLNO:521
:LDAT:10/24/2013 4:47:55 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:inh
:TFLNO:526
:LDAT:10/24/2013 4:47:55 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:12/3/2013 3:50:22 PM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:10/14/2013 10:58:36 AM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:10/14/2013 10:58:37 AM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:10/14/2013 10:58:38 AM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:8
:VERS:A2LN
:RELE:a8
:CUST:fp8
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:11/6/2013 1:12:08 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables

It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100  - Item type is purchased or manufactured
%TTcprpd120  - Item type is purchased or manufactured
%TTtcibd001  - Always
%TTtcibd100  - Item type is purchased or manufactured
%TTtcibd200  - Item type is purchased or manufactured
%TTtdipu001  - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types, but depending on the access table field "Items.ItemPurchaseData"
%TTtdisa001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemSalesData"
%TTticpr007  - Item type is purchased, manufactured or cost
%TTtiipd001  - Item type is purchased, manufactured or cost. Depending on the access table field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types, but depending on the access table field "Items.ItemServiceData"
%TTtppdm005 - All Item Types, but depending on the access table field "Items.ItemProjectData"
%TTwhwmd400  - Always


---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:bp
:TCMOD:mdm
:TFLNO:001
:LDAT:4/1/2014 2:15:49 PM
:PRTX:START
migrate EmployeesPeople
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,EmployeesPeople
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source Table in access: EmployeesPeople
Target table in %TV:%TTbpmdm001



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:12/6/2013 11:39:23 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:12/6/2013 11:39:23 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:12/9/2013 11:01:37 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:cp
:TCMOD:rpd
:TFLNO:320
:LDAT:12/3/2013 2:35:10 PM
:PRTX:START
migrate BillOfCriticalMaterials
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,BillOfCriticalMaterials,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd3120m000


---  Migration Logic  ---
Source table in Access: BillOfCriticalMaterials
Target table in %TV: %TTcprpd320


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.




---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:cp
:TCMOD:rpd
:TFLNO:710
:LDAT:12/3/2013 2:35:33 PM
:PRTX:START
migrate SourcingStrategies
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,SourcingStrategies,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd7110m000

---  Migration Logic  ---
Source table in access: Sourcing Strategies
Target table in %TV: %TTcprpd710




---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:4/1/2014 2:21:32 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:4/1/2014 2:21:33 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:4/1/2014 2:21:34 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:4/1/2014 2:21:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:4/1/2014 2:21:37 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:4/1/2014 2:21:39 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:4/1/2014 2:21:39 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:4/1/2014 2:21:41 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:4/1/2014 2:21:42 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:12/3/2013 2:38:14 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:12/3/2013 2:38:14 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:139
:LDAT:11/1/2013 9:53:58 AM
:PRTX:START
var.tccom139.city = ""
var.tccom139.idnr = 0
prev.city = ""
prev.country = ""
prev.stateprovince=""
var.tccom139.dsca = ""
var.tccom139.seak = ""

migrate Addresses
:PRTX:END
:STAT:V
:VARI:
:STBL:Addresses
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4539m000

---  Migration Logic  ---
The table Addresses is used as source for this table
Target table in %TV: %TTtccom139
Only unique combinations of country, state/province and city will be dumped.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:com
:TFLNO:140
:LDAT:4/1/2014 2:18:51 PM
:PRTX:START
migrate Contacts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date functions
:STBL:Contacts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4540m000

---  Migration Logic  ---
Source table in Access: Contacts
Target table in %TV:%TTtccom140


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:12/9/2013 11:01:38 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:12/9/2013 11:01:38 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:12/9/2013 11:01:38 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:12/6/2013 11:39:30 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:ibd
:TFLNO:005
:LDAT:12/3/2013 2:39:03 PM
:PRTX:START
migrate AlternativeItems
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,AlternativeItems,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0505m000

---  Migration Logic  ---
Source table in access: AlternativeItems
Target table in %TV: %TTtcibd005


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:12/6/2013 11:39:30 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:12/6/2013 11:39:31 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:12/9/2013 11:01:39 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:4/1/2014 2:21:43 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:12/6/2013 11:39:35 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:12/3/2013 2:40:11 PM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Items,ItemPurchaseBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:12/6/2013 11:39:35 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:12/6/2013 11:39:38 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:12/3/2013 2:40:27 PM
:PRTX:START
migrate ItemSalesBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,ItemSalesBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:010
:LDAT:12/9/2013 11:11:01 AM
:PRTX:START
migrate MatrixDefinitions
:PRTX:END
:STAT:V
:VARI:
:STBL:MatrixDefinitions,MatrixSequences
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0110m000

---  Migration Logic  ---
Source table in access: MatrixDefinitions
Target table in %TV: %TTtdpcg010


---  Migration Parameters  ---



---  Migration Mapping Tables  ---
- Uses access source table: MatrixSequences


---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:012
:LDAT:12/9/2013 11:11:37 AM
:PRTX:START
migrate DiscountScheduleCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:DiscountScheduleCodes
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:020
:LDAT:12/3/2013 2:40:47 PM
:PRTX:START
migrate MatrixSequences
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:MatrixSequences,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0120m000

---  Migration Logic  ---
Source table in access: MatrixSequences
Target table in %TV: %TTtdpcg020


---  Migration Parameters  ---


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
This include is stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:021
:LDAT:12/3/2013 2:40:55 PM
:PRTX:START
migrate DiscountSchedules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:DiscountSchedules,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:030
:LDAT:12/3/2013 2:41:03 PM
:PRTX:START
migrate Matrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Matrices,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStdpcg0130m000


---  Migration Logic  ---
Source table in access: Matrices
Target table in %TV: %TTtdpcg030


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:12/3/2013 2:41:11 PM
:PRTX:START
migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,PriceBooks,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tf
:TCMOD:fam
:TFLNO:100
:LDAT:12/3/2013 2:41:26 PM
:PRTX:START
varstr.dsca = ""
migrate Assets
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Assets,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1500m000


---  Migration Logic  ---
Source table in access: Assets
Target table in %TV: %TTtffam100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tf
:TCMOD:fam
:TFLNO:110
:LDAT:12/3/2013 2:41:35 PM
:PRTX:START
migrate AssetBook
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:AssetBook,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1510m000



---  Migration Logic  ---
Source table in access: AssetBook
Target table in %TV: %TTtffam110


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tf
:TCMOD:gld
:TFLNO:005
:LDAT:12/3/2013 2:41:52 PM
:PRTX:START
migrate Periods
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Periods,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tf
:TCMOD:gld
:TFLNO:006
:LDAT:12/3/2013 2:42:03 PM
:PRTX:START
migrate EndDatesByYear
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EndDatesByYear,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tf
:TCMOD:gld
:TFLNO:017
:LDAT:12/3/2013 2:42:11 PM
:PRTX:START
migrate TransactionTypeSeries
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date and UTC functions
:STBL:TransactionTypeSeries,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:12/3/2013 3:57:01 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,BillOfMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:12/6/2013 11:39:39 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:12/6/2013 11:39:40 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:12/9/2013 11:01:40 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:rou
:TFLNO:101
:LDAT:12/3/2013 3:57:18 PM
:PRTX:START
migrate RoutingCodesByItem
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,RoutingCodesByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1101m000

---  Migration Logic  ---
Source table in access: RoutingCodesByItem
Target table in %TV: %TTtirou101


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:12/3/2013 3:57:26 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,RoutingCodesByItem,RoutingOperation,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:12/6/2013 11:39:40 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:015
:LDAT:12/3/2013 4:01:17 PM
:PRTX:START
migrate StandardLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0511m000


---  Migration Logic  ---
Source table in access: StandardLabors
Target table in %TV: %TTtppdm015

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:12/3/2013 4:01:06 PM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:035
:LDAT:12/3/2013 4:00:58 PM
:PRTX:START
migrate StandardSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0513m000


---  Migration Logic  ---
Source table in access: StandardSubcontractings
Target table in %TV: %TTtppdm035

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:040
:LDAT:12/3/2013 4:00:48 PM
:PRTX:START
migrate StandardSundryCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSundryCosts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TStppdm0514m000


---  Migration Logic  ---
Source table in access: StandardSundryCosts
Target table in %TV: %TTtppdm040

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:153
:LDAT:12/3/2013 4:00:14 PM
:PRTX:START
migrate MaterialPriceFluctuationsIndexTables
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,MaterialPriceFluctuationsIndexTables,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm0170m000
Session can be found in Infor ERP LN General Menu:
Project - Project Progress - Extension Transactions - Material Fluctuations


---  Migration Logic  ---
Source table in access: MaterialPriceFluctuationsIndexTables
Target table in %TV: %TTtppdm153

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:170
:LDAT:12/3/2013 4:00:02 PM
:PRTX:START
migrate StandardSurchargesGeneralAndByCostType
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesGeneralAndByCostType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1570m000


---  Migration Logic  ---
Source table in access: StandardSurchargesGeneralAndByCostType
Target table in %TV: %TTtppdm170

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:171
:LDAT:12/3/2013 3:59:53 PM
:PRTX:START
migrate StandardSurchargesByCostComponent
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByCostComponent,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm1571m000


---  Migration Logic  ---
Source table in access:  StandardSurchargesByCostComponent
Target table in %TV: %TTtppdm171

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:172
:LDAT:12/3/2013 3:59:44 PM
:PRTX:START
migrate StandardSurchargesByMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,StandardSurchargesByMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1572m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByMaterial
Target table in %TV: %TTtppdm172

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.






---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:173
:LDAT:12/3/2013 3:59:35 PM
:PRTX:START
migrate StandardSurchargesByLabor
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByLabor,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1573m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByLabor
Target table in %TV: %TTtppdm173


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:174
:LDAT:12/3/2013 3:59:24 PM
:PRTX:START
migrate StandardSurchargesByEquipment
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByEquipment,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1574m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByEquipment
Target table in %TV: %TTtppdm174

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:175
:LDAT:12/3/2013 3:59:13 PM
:PRTX:START
migrate StandardSurchargesBySubcontracting
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySubcontracting,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1575m000


---  Migration Logic  ---
Source table in access: StandardSurchargesBySubcontracting
Target table in %TV: %TTtppdm175

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:176
:LDAT:12/3/2013 3:59:06 PM
:PRTX:START
migrate StandardSurchargesBySundryCost
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySundryCost,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1576m000



---  Migration Logic  ---
Source table in access: StandardSurchargesBySundryCost
Target table in %TV: %TTtppdm176

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:12/9/2013 11:01:42 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:615
:LDAT:12/3/2013 3:58:48 PM
:PRTX:START
migrate ProjectLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6511m000



---  Migration Logic  ---
Source table in access: ProjectLabors
Target table in %TV: %TTtppdm615

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:625
:LDAT:12/3/2013 3:58:39 PM
:PRTX:START
migrate ProjectEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6512m000



---  Migration Logic  ---
Source table in access: ProjectEquipments
Target table in %TV: %TTtppdm625

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:635
:LDAT:12/3/2013 3:58:31 PM
:PRTX:START
migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---


---  Source and Target Sessions  ---
Target session: %TStppdm6513m000


---  Migration Logic  ---
Source table in access: ProjectSubcontractings
Target table in %TV: %TTtppdm635

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:640
:LDAT:12/3/2013 3:58:19 PM
:PRTX:START
migrate ProjectSundryCostCodes
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSundryCostCodes,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6514m000



---  Migration Logic  ---
Source table in access: ProjectSundryCostCodes
Target table in %TV: %TTtppdm640

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:643
:LDAT:11/1/2013 3:36:52 PM
:PRTX:START
migrate ProjectRevenues
:PRTX:END
:STAT:V
:VARI:
:STBL:ProjectRevenues
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm6515m000


---  Migration Logic  ---
Source table in Access: ProjectRevenues
Target table in %TV: %TTtppdm643



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:740
:LDAT:12/3/2013 3:58:07 PM
:PRTX:START
migrate ProjectBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7140m000



---  Migration Logic  ---
Source table in access: ProjectBusinessPartners
Target table in %TV: %TTtppdm740

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pdm
:TFLNO:741
:LDAT:12/3/2013 3:57:59 PM
:PRTX:START
migrate ProjectContractAmountsByBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectContractAmountsByBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm7141m000



---  Migration Logic  ---
Source table in access: ProjectContractAmountsByBusinessPartners
Target table in %TV: %TTtppdm741

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pss
:TFLNO:020
:LDAT:12/3/2013 4:03:28 PM
:PRTX:START
migrate Baselines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Baselines,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppss0520m000


---  Migration Logic  ---
Source table in access: Baselines
Target table in %TV: %TTtppss020

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:12/3/2013 4:02:45 PM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Projects,ItemCodeSegmentationParameters,Activities,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:pss
:TFLNO:220
:LDAT:12/3/2013 4:02:58 PM
:PRTX:START
migrate ActivityBaseline
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ActivityBaseline,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2120m000

---  Migration Logic  ---
Source table in access: ActivityBaseline
Target table in %TV: %TTtppss220

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:ptc
:TFLNO:050
:LDAT:12/3/2013 4:03:51 PM
:PRTX:START
migrate Extensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Extensions,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStpptc0510m000

---  Migration Logic  ---
Source table in access:  Extensions
Target table in %TV: %TTtpptc050

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tp
:TCMOD:ptc
:TFLNO:100
:LDAT:12/3/2013 4:03:58 PM
:PRTX:START
migrate Elements
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Elements,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1500m000
In Infor ERP LN General menu: Project - Project Definition - Project Structure - Scope Definition



---  Migration Logic  ---
Source table in access: Elements
Target table in %TV: %TTtpptc100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:12/6/2013 11:39:41 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tt
:TCMOD:txt
:TFLNO:001
:LDAT:12/5/2013 5:12:53 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tt
:TCMOD:txt
:TFLNO:002
:LDAT:12/5/2013 5:12:53 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:tt
:TCMOD:txt
:TFLNO:010
:LDAT:12/5/2013 5:12:54 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:12/3/2013 4:04:20 PM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:9
:VERS:A2LN
:RELE:a9
:CUST:fp9
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:12/6/2013 11:39:43 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:bp
:TCMOD:mdm
:TFLNO:001
:LDAT:12/17/2014 3:44:46 PM
:PRTX:START
migrate EmployeesPeople
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EmployeesPeople,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source Table in access: EmployeesPeople
Target table in %TV:%TTbpmdm001



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:7/18/2016 3:41:14 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:7/18/2016 3:41:14 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:1/16/2015 10:30:11 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:001
:LDAT:12/9/2014 4:30:56 PM
:PRTX:START
migrate Employees
:PRTX:END
:STAT:V
:VARI:
:STBL:Employees
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: Employees
Target table in %TV: %TTtccom001


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:12/10/2014 11:05:42 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:12/10/2014 11:05:43 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:12/10/2014 11:05:44 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:12/10/2014 11:05:46 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:12/10/2014 11:05:47 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:12/10/2014 11:05:48 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:12/10/2014 11:05:49 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:12/10/2014 11:05:51 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:12/10/2014 11:05:52 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:com
:TFLNO:140
:LDAT:12/10/2014 11:25:06 AM
:PRTX:START
migrate Contacts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date functions
:STBL:Contacts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4540m000

---  Migration Logic  ---
Source table in Access: Contacts
Target table in %TV:%TTtccom140


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:1/16/2015 10:30:11 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:1/16/2015 10:30:12 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:1/16/2015 10:30:12 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:7/18/2016 3:41:18 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:7/18/2016 3:41:19 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:7/18/2016 3:41:19 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:1/16/2015 10:30:12 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:12/10/2014 11:05:52 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:7/18/2016 3:41:21 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:12/10/2014 11:33:36 AM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Items,ItemPurchaseBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:7/18/2016 3:41:21 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:7/18/2016 3:41:23 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:pcg
:TFLNO:030
:LDAT:7/18/2016 3:41:26 PM
:PRTX:START
migrate Matrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Matrices,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStdpcg0130m000


---  Migration Logic  ---
Source table in access: Matrices
Target table in %TV: %TTtdpcg030


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:12/10/2014 5:13:23 PM
:PRTX:START
migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,PriceBooks,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tf
:TCMOD:gld
:TFLNO:002
:LDAT:12/10/2014 5:15:51 PM
:PRTX:START
migrate DimensionType
:PRTX:END
:STAT:V
:VARI:
:STBL:DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStfgld0501m000
%TStfgld0101s000
%TStfgld0201m000


---  Migration Logic  ---
Main source tables in access: DimensionTypes


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tf
:TCMOD:gld
:TFLNO:009
:LDAT:1/6/2015 2:07:20 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.source.gl.version = GeneralParameters.SourceGLVersion
endselect

migrate DimensionRangesbyLedgerAccount
:PRTX:END
:STAT:X
:VARI:
:STBL:DimensionRangesbyLedgerAccount,GeneralParameters,ChartOfAccounts
:COMT:START
---  Changes in table design  ---
Table is expired for Infor LN 10.4 and replaced by table tfgld051 and tfgld052.


---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:12/10/2014 6:10:35 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tf
:TCMOD:gld
:TFLNO:051
:LDAT:1/6/2015 5:15:38 PM
:PRTX:START
migrate CrossValidationRules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,CrossValidationRules
:COMT:START
---  Changes in table design  ---
The Cross Validation Rules functionality is replacing the  Dimension Ranges by Ledger Account (tfgld009) table.


---  Source and Target Sessions  ---
Access table: CrossValidationRules
Cross Validation Rules (tfgld0151m000) and
Cross Validation Rule (tfgld0651m000)


---  Migration Logic  ---
For each validation Rule/version combination a record is inserted to Cross Validation Rules (tfgld051) table. 
each record from the access table CrossValidationRules is inserted into the Cross Validation Rule Elements (tfgld052) table. 

---  Migration Parameters  ---
Uses GeneralParameters


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Uses Date Handling include


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tf
:TCMOD:gld
:TFLNO:052
:LDAT:1/6/2015 5:15:39 PM
:PRTX:START
migrate CrossValidationRules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,CrossValidationRules
:COMT:START
---  Changes in table design  ---
The Cross Validation Rules functionality is replacing the  Dimension Ranges by Ledger Account (tfgld009) table.


---  Source and Target Sessions  ---
Access table: CrossValidationRules
Cross Validation Rules (tfgld0151m000) and
Cross Validation Rule (tfgld0651m000)


---  Migration Logic  ---
For each validation Rule/version combination a record is inserted to Cross Validation Rules (tfgld051) table. 
each record from the access table CrossValidationRules is inserted into the Cross Validation Rule Elements (tfgld052) table. 

---  Migration Parameters  ---
Uses GeneralParameters


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Uses Date Handling include


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:12/10/2014 6:13:59 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,BillOfMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:7/18/2016 3:41:23 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:7/18/2016 3:41:24 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:1/16/2015 10:30:13 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:11/12/2015 12:03:08 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,RoutingCodesByItem,RoutingOperation,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:7/18/2016 3:41:24 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:12/11/2014 9:26:08 AM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:110
:LDAT:12/17/2014 4:23:47 PM
:PRTX:START
migrate StandardActivities
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardActivities
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1510m000

---  Migration Logic  ---
Source table in access: StandardActivities
Target table in %TV: %TTtppdm110

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:170
:LDAT:12/11/2014 10:03:40 AM
:PRTX:START
migrate StandardSurchargesGeneralAndByCostType
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesGeneralAndByCostType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1570m000


---  Migration Logic  ---
Source table in access: StandardSurchargesGeneralAndByCostType
Target table in %TV: %TTtppdm170

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:171
:LDAT:12/11/2014 10:04:44 AM
:PRTX:START
migrate StandardSurchargesByCostComponent
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByCostComponent,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm1571m000


---  Migration Logic  ---
Source table in access:  StandardSurchargesByCostComponent
Target table in %TV: %TTtppdm171

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:172
:LDAT:12/11/2014 10:04:33 AM
:PRTX:START
migrate StandardSurchargesByMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,StandardSurchargesByMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1572m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByMaterial
Target table in %TV: %TTtppdm172

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.






---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:173
:LDAT:12/11/2014 10:04:24 AM
:PRTX:START
migrate StandardSurchargesByLabor
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByLabor,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1573m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByLabor
Target table in %TV: %TTtppdm173


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:174
:LDAT:12/11/2014 10:04:14 AM
:PRTX:START
migrate StandardSurchargesByEquipment
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesByEquipment,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1574m000


---  Migration Logic  ---
Source table in access: StandardSurchargesByEquipment
Target table in %TV: %TTtppdm174

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:175
:LDAT:12/11/2014 10:04:05 AM
:PRTX:START
migrate StandardSurchargesBySubcontracting
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySubcontracting,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1575m000


---  Migration Logic  ---
Source table in access: StandardSurchargesBySubcontracting
Target table in %TV: %TTtppdm175

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:176
:LDAT:12/11/2014 10:03:55 AM
:PRTX:START
migrate StandardSurchargesBySundryCost
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesBySundryCost,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1576m000



---  Migration Logic  ---
Source table in access: StandardSurchargesBySundryCost
Target table in %TV: %TTtppdm176

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:1/16/2015 10:30:17 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pdm
:TFLNO:625
:LDAT:1/16/2015 10:34:47 AM
:PRTX:START
migrate ProjectEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6512m000



---  Migration Logic  ---
Source table in access: ProjectEquipments
Target table in %TV: %TTtppdm625

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:1/16/2015 10:39:08 AM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Projects,ItemCodeSegmentationParameters,Activities,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:ptc
:TFLNO:050
:LDAT:1/16/2015 10:52:04 AM
:PRTX:START
migrate Extensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Extensions,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStpptc0510m000

---  Migration Logic  ---
Source table in access:  Extensions
Target table in %TV: %TTtpptc050

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tp
:TCMOD:ptc
:TFLNO:100
:LDAT:1/16/2015 10:54:32 AM
:PRTX:START
migrate Elements
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Elements,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1500m000
In Infor ERP LN General menu: Project - Project Definition - Project Structure - Scope Definition



---  Migration Logic  ---
Source table in access: Elements
Target table in %TV: %TTtpptc100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:7/18/2016 3:41:25 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tt
:TCMOD:txt
:TFLNO:001
:LDAT:6/28/2016 11:37:37 AM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tt
:TCMOD:txt
:TFLNO:002
:LDAT:6/28/2016 11:37:37 AM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:tt
:TCMOD:txt
:TFLNO:010
:LDAT:6/28/2016 11:37:37 AM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:1/16/2015 11:46:33 AM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:1/6/2015 3:55:57 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:1/6/2015 3:55:57 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:1/6/2015 3:55:58 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:wmd
:TFLNO:301
:LDAT:12/11/2014 8:37:40 AM
:PRTX:START
migrate LocationCapacity
:PRTX:END
:STAT:V
:VARI:
:STBL:LocationCapacity
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:10
:VERS:A2LN
:RELE:LN
:CUST:10-4
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:7/18/2016 3:41:26 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:bp
:TCMOD:mdm
:TFLNO:001
:LDAT:7/18/2016 4:04:50 PM
:PRTX:START
migrate EmployeesPeople
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EmployeesPeople,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source Table in access: EmployeesPeople
Target table in %TV:%TTbpmdm001



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:7/18/2016 4:03:29 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:7/18/2016 4:03:29 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:7/21/2016 3:05:22 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:cp
:TCMOD:rpd
:TFLNO:710
:LDAT:7/20/2016 9:44:05 AM
:PRTX:START
migrate SourcingStrategies
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,SourcingStrategies,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd7110m000

---  Migration Logic  ---
Source table in access: Sourcing Strategies
Target table in %TV: %TTcprpd710




---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:7/18/2016 7:38:13 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:7/18/2016 7:38:14 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:7/18/2016 7:38:14 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:7/18/2016 7:38:16 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:7/18/2016 7:38:17 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:7/18/2016 7:38:18 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:7/18/2016 7:38:18 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:7/18/2016 7:38:20 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:7/18/2016 7:38:20 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:8/22/2018 10:45:46 AM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:8/22/2018 10:45:47 AM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:com
:TFLNO:140
:LDAT:2/27/2018 12:25:48 PM
:PRTX:START
migrate Contacts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date functions
:STBL:Contacts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4540m000

---  Migration Logic  ---
Source table in Access: Contacts
Target table in %TV:%TTtccom140


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:7/21/2016 3:05:22 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:7/21/2016 3:05:22 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:7/21/2016 3:05:22 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:7/18/2016 4:03:33 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:ibd
:TFLNO:004
:LDAT:7/20/2016 10:23:19 AM
:PRTX:START
migrate ItemCodesByItemCodeSystem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemCodesByItemCodeSystem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0504m000

---  Migration Logic  ---
Source table in access: ItemCodesByItemCodeSystem
Target table in %TV: %TTtcibd004


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:7/18/2016 4:03:34 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:7/18/2016 4:03:34 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:mcs
:TFLNO:001
:LDAT:7/20/2016 11:25:12 AM
:PRTX:START
select	GeneralParameters.DefaultUnitSet
from	GeneralParameters
selectdo
	var.DefaultUnitSet = GeneralParameters.DefaultUnitSet
endselect

migrate Units
:PRTX:END
:STAT:V
:VARI:
:STBL:Units,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:mcs
:TFLNO:012
:LDAT:7/20/2016 11:25:12 AM
:PRTX:START
select	GeneralParameters.DefaultUnitSet
from	GeneralParameters
selectdo
	var.DefaultUnitSet = GeneralParameters.DefaultUnitSet
endselect

migrate Units
:PRTX:END
:STAT:V
:VARI:
:STBL:Units,GeneralParameters
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:7/21/2016 3:05:23 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:7/18/2016 7:38:21 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:7/18/2016 4:03:37 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:7/18/2016 9:14:46 PM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Items,ItemPurchaseBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:7/18/2016 4:03:37 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:7/18/2016 4:03:39 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:7/20/2016 3:59:45 PM
:PRTX:START
migrate ItemSalesBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,ItemSalesBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:td
:TCMOD:pcg
:TFLNO:011
:LDAT:7/20/2016 4:18:29 PM
:PRTX:START
migrate PriceBookCodes
:PRTX:END
:STAT:V
:VARI:
:STBL:PriceBookCodes
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:002
:LDAT:7/18/2016 9:49:17 PM
:PRTX:START
migrate DimensionType
:PRTX:END
:STAT:V
:VARI:
:STBL:DimensionType
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStfgld0501m000
%TStfgld0101s000
%TStfgld0201m000


---  Migration Logic  ---
Main source tables in access: DimensionTypes


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:008
:LDAT:7/18/2016 9:50:33 PM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.SourceGLVersion = GeneralParameters.SourceGLVersion
endselect

migrate ChartOfAccounts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ChartOfAccounts,DimensionType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Session: %TStfgld0508m000



---  Migration Logic  ---
Source table in access:ChartOfAccounts
Target table in %TV: %TTtfgld008


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:7/18/2016 10:03:00 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:018
:LDAT:7/21/2016 3:01:44 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:051
:LDAT:7/18/2016 10:10:16 PM
:PRTX:START
migrate CrossValidationRules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,CrossValidationRules
:COMT:START
---  Changes in table design  ---
The Cross Validation Rules functionality is replacing the  Dimension Ranges by Ledger Account (tfgld009) table.


---  Source and Target Sessions  ---
Access table: CrossValidationRules
Cross Validation Rules (tfgld0151m000) and
Cross Validation Rule (tfgld0651m000)


---  Migration Logic  ---
For each validation Rule/version combination a record is inserted to Cross Validation Rules (tfgld051) table. 
each record from the access table CrossValidationRules is inserted into the Cross Validation Rule Elements (tfgld052) table. 

---  Migration Parameters  ---
Uses GeneralParameters


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Uses Date Handling include


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:052
:LDAT:7/18/2016 10:10:16 PM
:PRTX:START
migrate CrossValidationRules
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,CrossValidationRules
:COMT:START
---  Changes in table design  ---
The Cross Validation Rules functionality is replacing the  Dimension Ranges by Ledger Account (tfgld009) table.


---  Source and Target Sessions  ---
Access table: CrossValidationRules
Cross Validation Rules (tfgld0151m000) and
Cross Validation Rule (tfgld0651m000)


---  Migration Logic  ---
For each validation Rule/version combination a record is inserted to Cross Validation Rules (tfgld051) table. 
each record from the access table CrossValidationRules is inserted into the Cross Validation Rule Elements (tfgld052) table. 

---  Migration Parameters  ---
Uses GeneralParameters


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Uses Date Handling include


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tf
:TCMOD:gld
:TFLNO:106
:LDAT:7/21/2016 3:01:45 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:7/18/2016 10:13:40 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,BillOfMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:7/18/2016 4:03:40 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:7/18/2016 4:03:40 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:7/21/2016 3:05:23 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:7/21/2016 11:17:33 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,RoutingCodesByItem,RoutingOperation,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:ctm
:TFLNO:010
:LDAT:7/18/2016 10:22:35 PM
:PRTX:START
Migrate Programs
:PRTX:END
:STAT:V
:VARI:
:STBL:Programs
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: Programs
Target table in %TV: %TTtpctm010


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:7/18/2016 4:03:41 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:015
:LDAT:7/20/2016 3:00:21 PM
:PRTX:START
migrate StandardLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0511m000


---  Migration Logic  ---
Source table in access: StandardLabors
Target table in %TV: %TTtppdm015

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:016
:LDAT:7/18/2016 10:27:10 PM
:PRTX:START
migrate TradeGroups
:PRTX:END
:STAT:V
:VARI:
:STBL:TradeGroups
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0530m000


---  Migration Logic  ---
Source table in access: TradeGroups
Target table in %TV: %TTtppdm016

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:7/18/2016 10:28:17 PM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:040
:LDAT:7/20/2016 3:21:55 PM
:PRTX:START
migrate StandardSundryCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSundryCosts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TStppdm0514m000


---  Migration Logic  ---
Source table in access: StandardSundryCosts
Target table in %TV: %TTtppdm040

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:170
:LDAT:7/18/2016 10:37:07 PM
:PRTX:START
migrate StandardSurchargesGeneralAndByCostType
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSurchargesGeneralAndByCostType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm1570m000


---  Migration Logic  ---
Source table in access: StandardSurchargesGeneralAndByCostType
Target table in %TV: %TTtppdm170

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:7/21/2016 3:05:25 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:615
:LDAT:7/20/2016 2:50:07 PM
:PRTX:START
migrate ProjectLabors
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectLabors,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6511m000



---  Migration Logic  ---
Source table in access: ProjectLabors
Target table in %TV: %TTtppdm615

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:640
:LDAT:7/20/2016 3:47:43 PM
:PRTX:START
migrate ProjectSundryCostCodes
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSundryCostCodes,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6514m000



---  Migration Logic  ---
Source table in access: ProjectSundryCostCodes
Target table in %TV: %TTtppdm640

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:740
:LDAT:7/18/2016 10:46:42 PM
:PRTX:START
migrate ProjectBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm7140m000



---  Migration Logic  ---
Source table in access: ProjectBusinessPartners
Target table in %TV: %TTtppdm740

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pdm
:TFLNO:741
:LDAT:7/18/2016 10:47:16 PM
:PRTX:START
migrate ProjectContractAmountsByBusinessPartners
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectContractAmountsByBusinessPartners,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppdm7141m000



---  Migration Logic  ---
Source table in access: ProjectContractAmountsByBusinessPartners
Target table in %TV: %TTtppdm741

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pss
:TFLNO:020
:LDAT:7/19/2016 4:20:48 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate Baselines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,Baselines
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppss0520m000


---  Migration Logic  ---
Source table in access: Baselines
Target table in %TV: %TTtppss020

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:7/19/2016 4:22:42 PM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Projects,ItemCodeSegmentationParameters,Activities,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tp
:TCMOD:pss
:TFLNO:220
:LDAT:7/19/2016 4:23:07 PM
:PRTX:START
migrate ActivityBaseline
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ActivityBaseline,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2120m000

---  Migration Logic  ---
Source table in access: ActivityBaseline
Target table in %TV: %TTtppss220

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:7/18/2016 4:03:42 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tt
:TCMOD:txt
:TFLNO:001
:LDAT:11/29/2017 11:26:07 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tt
:TCMOD:txt
:TFLNO:002
:LDAT:11/29/2017 11:26:08 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:tt
:TCMOD:txt
:TFLNO:010
:LDAT:11/29/2017 11:26:08 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:7/19/2016 4:26:19 PM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:7/19/2016 4:27:57 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:7/19/2016 4:27:57 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:7/19/2016 4:27:57 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:220
:LDAT:7/19/2016 4:47:45 PM
:PRTX:START
migrate DockLocationsByWarehouseStorageZone
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:DockLocationsByWarehouseStorageZone,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhwmd2120m000




---  Migration Logic  ---
Main source tables in access: DockLocationsByWarehouseStorageZone
Target table in %TV: %TTwhwmd220

The DockLocationsByWarehouseStorageZone.Priority field from access is used to fill %TFwhwmd220.sqnr and %TFwhwmd220.prio
The DockLocationsByWarehouseStorageZone.BusinessPartner is used to fill the Business partner field but also the Ship-From fields and the Ship-To fields

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---
:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:310
:LDAT:7/19/2016 4:51:13 PM
:PRTX:START
migrate Zones
:PRTX:END
:STAT:V
:VARI:
:STBL:Zones,WorkCenter
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:False
MO
:MPRF:11
:VERS:A2LN
:RELE:LN
:CUST:105
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:7/18/2016 4:03:43 PM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:8/22/2018 11:29:50 AM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:8/22/2018 11:29:50 AM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:ibd
:TFLNO:100
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:12/14/2017 8:35:36 PM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:12/17/2017 3:58:41 PM
:PRTX:START
var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Items,ItemPurchaseBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:12/17/2017 4:38:49 PM
:PRTX:START
migrate ItemSalesBP
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,ItemSalesBP,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:pcg
:TFLNO:030
:LDAT:12/14/2017 8:48:54 PM
:PRTX:START
migrate Matrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,Matrices,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:  
%TStdpcg0130m000


---  Migration Logic  ---
Source table in access: Matrices
Target table in %TV: %TTtdpcg030


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:12/14/2017 8:49:17 PM
:PRTX:START
migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,PriceBooks,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:fam
:TFLNO:100
:LDAT:12/14/2017 8:57:09 PM
:PRTX:START
varstr.dsca = ""
migrate Assets
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Assets,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1500m000


---  Migration Logic  ---
Source table in access: Assets
Target table in %TV: %TTtffam100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:fam
:TFLNO:110
:LDAT:12/14/2017 8:52:58 PM
:PRTX:START
migrate AssetBook
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:AssetBook,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1510m000



---  Migration Logic  ---
Source table in access: AssetBook
Target table in %TV: %TTtffam110


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:gld
:TFLNO:008
:LDAT:12/14/2017 12:23:45 AM
:PRTX:START
Select	GeneralParameters.SourceGLVersion
from	GeneralParameters
selectdo
	varstr.SourceGLVersion = GeneralParameters.SourceGLVersion
endselect

migrate ChartOfAccounts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ChartOfAccounts,DimensionType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Session: %TStfgld0508m000



---  Migration Logic  ---
Source table in access:ChartOfAccounts
Target table in %TV: %TTtfgld008


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:12/14/2017 9:24:50 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:gld
:TFLNO:018
:LDAT:12/14/2017 9:30:08 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tf
:TCMOD:gld
:TFLNO:106
:LDAT:12/14/2017 9:30:08 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

Migrate GLTransactions
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ti
:TCMOD:bom
:TFLNO:010
:LDAT:12/14/2017 9:55:34 PM
:PRTX:START
migrate BillOfMaterial
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,BillOfMaterial,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStibom1110m000


---  Migration Logic  ---
Source table in access: BillOfMaterial
Target table in %TV: %TTtibom010 


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.

---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ti
:TCMOD:rou
:TFLNO:002
:LDAT:12/15/2017 4:51:13 PM
:PRTX:START
select GeneralParameters.* 
from GeneralParameters
selectdo
endselect

migrate Machine
:PRTX:END
:STAT:V
:VARI:
:STBL:Machine,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:025
:LDAT:12/15/2017 5:22:11 PM
:PRTX:START
migrate StandardEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0512m000


---  Migration Logic  ---
Source table in access: StandardEquipments
Target table in %TV: %TTtppdm025

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:035
:LDAT:12/14/2017 12:25:47 AM
:PRTX:START
migrate StandardSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0513m000


---  Migration Logic  ---
Source table in access: StandardSubcontractings
Target table in %TV: %TTtppdm035

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:12/15/2017 5:55:07 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment

migrate WorkCenter

migrate Projects
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:WorkCenter,Addresses,GeneralParameters,Projects,ProductionDepartment
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:625
:LDAT:12/15/2017 5:57:40 PM
:PRTX:START
migrate ProjectEquipments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectEquipments,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm6512m000



---  Migration Logic  ---
Source table in access: ProjectEquipments
Target table in %TV: %TTtppdm625

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pdm
:TFLNO:635
:LDAT:12/14/2017 12:28:29 AM
:PRTX:START
migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---


---  Source and Target Sessions  ---
Target session: %TStppdm6513m000


---  Migration Logic  ---
Source table in access: ProjectSubcontractings
Target table in %TV: %TTtppdm635

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pss
:TFLNO:010
:LDAT:12/14/2017 9:41:15 AM
:PRTX:START
migrate ProjectPlans
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectPlans,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss0510m000


---  Migration Logic  ---
Source table in access: ProjectPlans
Target table in %TV: %TTtppss010

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pss
:TFLNO:200
:LDAT:12/15/2017 6:14:23 PM
:PRTX:START
migrate Activities
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Projects,ItemCodeSegmentationParameters,Activities,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppss2100m000


---  Migration Logic  ---
Source table in access: Activities
Target table in %TV: %TTtppss200

Additional source tables in Access: Projects

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:pss
:TFLNO:230
:LDAT:12/14/2017 9:41:38 AM
:PRTX:START
migrate ExternalScheduleLinks
:PRTX:END
:STAT:V
:VARI:
:STBL:ExternalScheduleLinks
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStppss2130m000

---  Migration Logic  ---
Source table in access: ExternalScheduleLinks
Target table in %TV: %TTtppss230

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:ptc
:TFLNO:050
:LDAT:12/15/2017 6:17:28 PM
:PRTX:START
migrate Extensions
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Extensions,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStpptc0510m000

---  Migration Logic  ---
Source table in access:  Extensions
Target table in %TV: %TTtpptc050

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:tp
:TCMOD:ptc
:TFLNO:101
:LDAT:12/14/2017 9:42:08 AM
:PRTX:START
migrate ElementRelations
:PRTX:END
:STAT:V
:VARI:
:STBL:ElementRelations
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1505m000



---  Migration Logic  ---
Source table in access: ElementRelations
Target table in %TV: %TTtpptc101

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:12/15/2017 5:07:41 PM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:12/16/2017 4:52:40 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:12/16/2017 4:52:40 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:12/16/2017 4:52:40 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:12
:VERS:A2LN
:RELE:10
:CUST:52CS
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:9/4/2018 10:11:02 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:bp
:TCMOD:mdm
:TFLNO:001
:LDAT:9/21/2018 11:53:45 AM
:PRTX:START
migrate EmployeesPeople
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:EmployeesPeople,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source Table in access: EmployeesPeople
Target table in %TV:%TTbpmdm001



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:cp
:TCMOD:rpd
:TFLNO:100
:LDAT:11/9/2018 5:42:50 PM
:PRTX:START
DefaultsPlanning = defaults.planning.present()

migrate ItemsPlanning
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsPlanning,ItemsBySite,ItemCodeSegmentationParameters,Items,ItemDefaultsPlanning
:COMT:START
---  Changes in table design  ---
Originally part of the tcibd001 object


---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:cp
:TCMOD:rpd
:TFLNO:120
:LDAT:11/9/2018 5:44:26 PM
:PRTX:START

:PRTX:END
:STAT:D
:VARI:
:STBL:
:COMT:START
---  Changes in table design  ---

Originally in tcibd001 object but now obsolete

---  Source and Target Sessions  ---



---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:cp
:TCMOD:rpd
:TFLNO:200
:LDAT:11/8/2018 3:14:21 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Stations
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Stations,ProductionDepartment,GeneralParameters,Addresses,WorkCenter
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:cp
:TCMOD:rpd
:TFLNO:710
:LDAT:11/14/2018 12:00:24 AM
:PRTX:START
migrate SourcingStrategies
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,SourcingStrategies,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TScprpd7110m000

---  Migration Logic  ---
Source table in access: Sourcing Strategies
Target table in %TV: %TTcprpd710




---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:001
:LDAT:9/21/2018 12:13:55 PM
:PRTX:START
migrate Employees
:PRTX:END
:STAT:V
:VARI:
:STBL:Employees
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: Employees
Target table in %TV: %TTtccom001


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:100
:LDAT:11/19/2018 8:25:49 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:110
:LDAT:11/19/2018 8:25:50 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:111
:LDAT:11/19/2018 8:25:51 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:112
:LDAT:11/19/2018 8:25:52 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:114
:LDAT:11/19/2018 8:25:53 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:120
:LDAT:11/19/2018 8:25:54 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:121
:LDAT:11/19/2018 8:25:55 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:122
:LDAT:11/19/2018 8:25:56 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:124
:LDAT:11/19/2018 8:25:57 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:130
:LDAT:11/1/2018 5:11:50 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:136
:LDAT:11/1/2018 5:11:50 PM
:PRTX:START
var.country = ""
var.zipcode = ""
var.tccom130.defa = 10
migrate Addresses
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Addresses,GeneralParameters
:COMT:START
---  Changes in table design  ---
AddressCodes should correspond to addresscodes used in the business partner tables.


---  Source and Target Sessions  ---
Target sessions:  
%TStccom4530m000
%TStccom4536m000

---  Migration Logic  ---
Source table in Access:Addresses
Target tables converted by this object:
%TTtccom130
%TTtccom136


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:com
:TFLNO:140
:LDAT:11/1/2018 4:29:29 PM
:PRTX:START
migrate Contacts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'| Date functions
:STBL:Contacts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStccom4540m000

---  Migration Logic  ---
Source table in Access: Contacts
Target table in %TV:%TTtccom140


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:emm
:TFLNO:110
:LDAT:11/8/2018 10:43:33 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Projects
Migrate Stations
:PRTX:END
:STAT:V
:VARI:
:STBL:GeneralParameters,ProductionDepartment,WorkCenter,Projects,Stations
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:emm
:TFLNO:113
:LDAT:11/8/2018 10:43:33 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Projects
Migrate Stations
:PRTX:END
:STAT:V
:VARI:
:STBL:GeneralParameters,ProductionDepartment,WorkCenter,Projects,Stations
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:emm
:TFLNO:124
:LDAT:11/8/2018 10:43:33 AM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Projects
Migrate Stations
:PRTX:END
:STAT:V
:VARI:
:STBL:GeneralParameters,ProductionDepartment,WorkCenter,Projects,Stations
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:001
:LDAT:11/14/2018 12:15:10 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:003
:LDAT:12/6/2018 9:23:27 AM
:PRTX:START
migrate ConversionFactorsByItem
migrate ConversionFactorsByItemGroup
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'| Item functions
:STBL:ConversionFactorsByItemGroup,ConversionFactorsByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStcibd0103m000


---  Migration Logic  ---
Source table in access: ConversionFactors
Target table in %TV: %TTtcibd003



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:

:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:150
:LDAT:10/23/2018 2:14:13 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:200
:LDAT:11/14/2018 12:15:13 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:250
:LDAT:10/23/2018 2:14:13 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:401
:LDAT:10/26/2018 1:16:43 AM
:PRTX:START
migrate SerializedItems
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
:STBL:ItemCodeSegmentationParameters,SerializedItems
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:ibd
:TFLNO:420
:LDAT:11/11/2018 6:20:42 PM
:PRTX:START
migrate SalesOrderLines
:PRTX:END
:STAT:V
:VARI:
:STBL:SalesOrderHeaders,SalesOrderLines,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:mcs
:TFLNO:052
:LDAT:11/7/2018 7:15:50 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

migrate Projects
:PRTX:END
:STAT:V
:VARI:
:STBL:Projects,GeneralParameters
:COMT:START

:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:mcs
:TFLNO:065
:LDAT:11/8/2018 3:14:21 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Stations
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Stations,ProductionDepartment,GeneralParameters,Addresses,WorkCenter
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:mcs
:TFLNO:143
:LDAT:10/26/2018 1:23:31 AM
:PRTX:START
migrate Addresses
:PRTX:END
:STAT:V
:VARI:
:STBL:Addresses
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tc
:TCMOD:tax
:TFLNO:400
:LDAT:11/19/2018 8:25:57 AM
:PRTX:START
var.tccom100.bprl = 1
CustomerRoles = 0
SupplierRoles = 0
varstr.address = ""
var.tctax400.ccty = ""
migrate BusinessPartner
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankAccountsByPayByBP,BankAccountsByPayToBP,Addresses,BusinessPartner,BusinessPartnerExtension,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions: 
%TStccom4500m000
%TStctax4100m000

---  Migration Logic  ---
Main source tables in access: BusinessPartner
Additional source tables in access: Addresses, BankAccountsByPayToBP

This object converts data to 10 %TV tables
%TTtccom100
%TTtccom110
%TTtccom111
%TTtccom112
%TTtccom114
%TTtccom120
%TTtccom121
%TTtccom122
%TTtccom124
%TTtctax400


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:ipu
:TFLNO:001
:LDAT:11/14/2018 12:15:26 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:ipu
:TFLNO:010
:LDAT:11/13/2018 8:01:45 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

var.tdipu010.scrp = 0
var.qimf  = 0
var.qimi  = 0
var.qima  = 0
var.qifi  = 0
var.qiec  = 0

migrate ItemPurchaseBPByItem
migrate ItemPurchaseBPByItemGroup
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemPurchaseBPByItemGroup,ItemPurchaseBPByItem,GeneralParameters,Items,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdipu0110m000


---  Migration Logic  ---
Source table in access: ItemPurchaseBP
Target table in %TV: %TTtdipu010

Additional source table in access: Items

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:ipu
:TFLNO:081
:LDAT:10/23/2018 2:14:15 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:ipu
:TFLNO:100
:LDAT:11/14/2018 12:15:26 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:isa
:TFLNO:001
:LDAT:11/14/2018 12:15:33 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:isa
:TFLNO:010
:LDAT:11/13/2018 8:57:11 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

var.tdisa010.exdt  = ""

migrate ItemSalesBPByItem
migrate ItemSalesBPByItemGroup
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:ItemSalesBPByItemGroup,ItemSalesBPByItem,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdisa0510m000


---  Migration Logic  ---
Source table in access: ItemSalesBP
Target table in %TV: %TTtdisa010


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:isa
:TFLNO:081
:LDAT:10/23/2018 2:14:16 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pcg
:TFLNO:031
:LDAT:10/30/2018 11:19:40 PM
:PRTX:START
'|*LN10605.sn'
select GeneralParameters.*							
from GeneralParameters
selectdo
endselect										
										'|*LN10605.en'

migrate PriceBooks
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,PriceBooks,ItemCodeSegmentationParameters,PriceBookCodes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStdpcg0131m000


---  Migration Logic  ---
Source table in access: PriceBooks
Target table in %TV: %TTtdpcg031



---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pur
:TFLNO:300
:LDAT:11/11/2018 4:38:29 PM
:PRTX:START
migrate PurchaseContracts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:PurchaseContracts,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pur
:TFLNO:301
:LDAT:11/11/2018 4:36:36 PM
:PRTX:START
migrate PurchaseContractLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:PurchaseContractLines,PurchaseContracts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pur
:TFLNO:303
:LDAT:11/11/2018 4:36:42 PM
:PRTX:START
migrate PurchaseContractLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:PurchaseContractLines,PurchaseContracts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pur
:TFLNO:400
:LDAT:11/11/2018 4:35:02 PM
:PRTX:START
migrate PurchaseOrderHeaders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:GeneralParameters,PurchaseOrderHeaders
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:pur
:TFLNO:401
:LDAT:11/11/2018 4:33:54 PM
:PRTX:START
migrate PurchaseOrderLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:PurchaseOrderLines,ItemCodeSegmentationParameters,GeneralParameters,PurchaseOrderHeaders
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:sls
:TFLNO:300
:LDAT:10/26/2018 1:46:45 AM
:PRTX:START
migrate SalesContracts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:SalesContracts,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:sls
:TFLNO:301
:LDAT:11/11/2018 4:29:09 PM
:PRTX:START
migrate SalesContractLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,ItemCodeSegmentationParameters,SalesContracts,SalesContractLines
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:sls
:TFLNO:400
:LDAT:11/11/2018 4:27:40 PM
:PRTX:START
migrate SalesOrderHeaders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:SalesOrderHeaders,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:td
:TCMOD:sls
:TFLNO:401
:LDAT:11/11/2018 4:25:54 PM
:PRTX:START
migrate SalesOrderLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:SalesOrderLines,GeneralParameters,ItemCodeSegmentationParameters,SalesOrderHeaders
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:acr
:TFLNO:200
:LDAT:11/11/2018 4:19:55 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

migrate OpenEntriesAccountsReceivable
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:OpenEntriesAccountsReceivable,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:fam
:TFLNO:100
:LDAT:10/30/2018 11:26:59 PM
:PRTX:START
varstr.dsca = ""
migrate Assets
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Assets,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStffam1500m000


---  Migration Logic  ---
Source table in access: Assets
Target table in %TV: %TTtffam100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:008
:LDAT:9/23/2018 5:51:29 PM
:PRTX:START
Select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.SourceGLVersion = GeneralParameters.SourceGLVersion
endselect

migrate ChartOfAccounts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ChartOfAccounts,DimensionType,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Session: %TStfgld0508m000



---  Migration Logic  ---
Source table in access:ChartOfAccounts
Target table in %TV: %TTtfgld008


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:011
:LDAT:9/23/2018 5:58:45 PM
:PRTX:START
migrate TransactionTypes
:PRTX:END
:STAT:V
:VARI:
:STBL:TransactionTypes
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---

Source table in Access - GeneralParameters
Target table in ERP LN - tfgld011 (GeneralParameters )


---  Migration Logic  ---



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



tfgld011.ttyp	->	GeneralParameters.TransactionType
tfgld011.desc	->	GeneralParameters.TransTypeDescription
tfgld011.catg	->	GeneralParameters.TransTypeDescription

---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:018
:LDAT:11/8/2018 5:32:29 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

If GeneralParameters.SourceGLVersion = "Other" then
	Migrate OpeningBalances
Else
	'| FMS migration ("Condor")
	Migrate GLTransactions
end if
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping,OpeningBalances
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:101
:LDAT:10/26/2018 9:40:45 AM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

var.year = DatePart("yyyy", Now())

Migrate OpenEntriesAccountsReceivable
Migrate OpenEntriesAccountsPayable
Migrate OpeningBalances
:PRTX:END
:STAT:V
:VARI:
:STBL:OpenEntriesAccountsReceivable,OpenEntriesAccountsPayable,GeneralParameters,OpeningBalances
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:102
:LDAT:11/11/2018 4:17:58 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect

migrate OpenEntriesAccountsReceivable
migrate OpeningBalances
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:OpenEntriesAccountsReceivable,OpenEntriesAccountsPayable,GeneralParameters,OpeningBalances
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tf
:TCMOD:gld
:TFLNO:106
:LDAT:11/8/2018 5:32:29 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.source.gl.version =  GeneralParameters.SourceGLVersion
	varstr.user                   =  GeneralParameters.MigrationUser 
	varint.company            =  GeneralParameters.TargetCompanyNumber
	varstr.TransactionType  = GeneralParameters.TransactionType  		'| Transaction Type for Journal Vouchers
	varstr.DefaultCountry    = GeneralParameters.DefaultCountry
endselect
'| Initialize Infor FMS variables
var.DocumentID = 0  '| Generated Document number
var.tfgld106.olin = 0  '| Document Line

If GeneralParameters.SourceGLVersion = "Other" then
	Migrate OpeningBalances
Else
	'| FMS migration ("Condor")
	Migrate GLTransactions
end if
:PRTX:END
:STAT:V
:VARI:#include 	<tfgld0001>
#include	<DateHandling>
:STBL:GLTransactions,GeneralParameters,DimensionMapping,ExchangeRateTypeMapping,CurrencyMapping,ChartOfAccountsMapping,OpeningBalances
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:100
:LDAT:10/26/2018 9:47:49 AM
:PRTX:START
migrate AssemblyOperations
:PRTX:END
:STAT:V
:VARI:
:STBL:AssemblyOperations
:COMT:START

:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:110
:LDAT:10/26/2018 9:48:11 AM
:PRTX:START
migrate AssemblyOperationsAssignments
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:AssemblyOperationsAssignments,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:120
:LDAT:10/26/2018 9:48:29 AM
:PRTX:START
migrate AssemblyOperationsInspectionProtocol
:PRTX:END
:STAT:V
:VARI:
:STBL:AssemblyOperationsInspectionProtocol
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:210
:LDAT:10/26/2018 9:48:46 AM
:PRTX:START
migrate AssemblyBOMandOperations
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:AssemblyBOMandOperations,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:220
:LDAT:10/26/2018 9:48:58 AM
:PRTX:START
migrate AssemblyBOMandOperations
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:AssemblyBOMandOperations,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:apl
:TFLNO:300
:LDAT:11/11/2018 4:05:53 PM
:PRTX:START
migrate ProductVariantsAssembly
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductVariantsAssembly,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:asl
:TFLNO:130
:LDAT:11/11/2018 4:13:34 PM
:PRTX:START
migrate AssemblyLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:AssemblyLines,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:asl
:TFLNO:140
:LDAT:10/26/2018 9:50:20 AM
:PRTX:START
migrate LineSegments
:PRTX:END
:STAT:V
:VARI:
:STBL:LineSegments
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:asl
:TFLNO:141
:LDAT:10/26/2018 9:50:34 AM
:PRTX:START
migrate LineSegmentsByAssemblyLine
:PRTX:END
:STAT:V
:VARI:
:STBL:LineSegmentsByAssemblyLine
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:asl
:TFLNO:145
:LDAT:11/8/2018 3:14:21 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Stations
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Stations,ProductionDepartment,GeneralParameters,Addresses,WorkCenter
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:asl
:TFLNO:150
:LDAT:10/26/2018 9:52:07 AM
:PRTX:START
migrate StationsByLineSegment
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>	'| Date and UTC handling
:STBL:StationsByLineSegment,Stations,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:cpr
:TFLNO:007
:LDAT:10/22/2018 2:27:07 PM
:PRTX:START
def.cst = defaults.costing.present()

migrate ItemsCosting
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsCosting,ItemCodeSegmentationParameters,ItemDefaultsCosting
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:cpr
:TFLNO:110
:LDAT:11/13/2018 9:29:57 PM
:PRTX:START
migrate ItemSurchargesByItem
migrate ItemSurchargesByItemGroup
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemSurchargesByItemGroup,ItemSurchargesByItem,ItemCodeSegmentationParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSticpr1110m000

---  Migration Logic  ---
Source table in access: ItemSurcharges
Target table in %TV: %TTticpr110


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---


---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:cpr
:TFLNO:170
:LDAT:11/11/2018 4:12:22 PM
:PRTX:START
Migrate SimulatedPurchasePrices
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:SimulatedPurchasePrices,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:cst
:TFLNO:001
:LDAT:11/11/2018 4:11:17 PM
:PRTX:START
migrate ProductionOrderMaterials
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ProductionOrders,ProductionOrderMaterials,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:cst
:TFLNO:151
:LDAT:11/11/2018 4:10:03 PM
:PRTX:START
migrate ProductionOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductionOrders,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:ipd
:TFLNO:001
:LDAT:11/14/2018 12:15:34 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:ipd
:TFLNO:051
:LDAT:10/23/2018 2:14:16 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:mfc
:TFLNO:010
:LDAT:10/29/2018 10:35:04 PM
:PRTX:START
migrate AsBuiltHeadersAndComponents
:PRTX:END
:STAT:V
:VARI:
:STBL:AsBuiltHeadersAndComponents
:COMT:START

:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:mfc
:TFLNO:011
:LDAT:10/29/2018 10:35:04 PM
:PRTX:START
migrate AsBuiltHeadersAndComponents
:PRTX:END
:STAT:V
:VARI:
:STBL:AsBuiltHeadersAndComponents
:COMT:START

:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:pcf
:TFLNO:310
:LDAT:11/11/2018 4:07:02 PM
:PRTX:START
migrate GenericBOM
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GenericBOM,GeneralParameters,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:pcf
:TFLNO:500
:LDAT:11/11/2018 4:05:55 PM
:PRTX:START
migrate ProductVariantsAssembly
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductVariantsAssembly,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:pcf
:TFLNO:510
:LDAT:11/11/2018 4:06:01 PM
:PRTX:START
migrate ProductVariantsAssembly
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductVariantsAssembly,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:pcf
:TFLNO:520
:LDAT:10/26/2018 10:12:38 AM
:PRTX:START
migrate OptionsbyProductVariant
:PRTX:END
:STAT:V
:VARI:
:STBL:OptionsbyProductVariant
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:rou
:TFLNO:001
:LDAT:11/8/2018 3:14:21 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Stations
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Stations,ProductionDepartment,GeneralParameters,Addresses,WorkCenter
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:rou
:TFLNO:002
:LDAT:10/23/2018 3:35:05 PM
:PRTX:START
select GeneralParameters.* 
from GeneralParameters
selectdo
endselect

migrate Machine
:PRTX:END
:STAT:V
:VARI:
:STBL:Machine,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:rou
:TFLNO:005
:LDAT:10/26/2018 10:17:59 AM
:PRTX:START
migrate ProcessVariables
:PRTX:END
:STAT:V
:VARI:
:STBL:ProcessVariables
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:rou
:TFLNO:102
:LDAT:11/13/2018 4:09:55 PM
:PRTX:START
migrate RoutingOperation
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ItemCodeSegmentationParameters,RoutingCodesByItem,RoutingOperation,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStirou1102m000


---  Migration Logic  ---
Source table in access:RoutingOperation
Target table in %TV: %TTtirou102
Additional source tables in Access: RoutingCodesByItem

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:



:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:rou
:TFLNO:200
:LDAT:11/8/2018 3:14:21 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

Migrate ProductionDepartment
migrate WorkCenter
migrate Stations
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Stations,ProductionDepartment,GeneralParameters,Addresses,WorkCenter
:COMT:START

:COMT:END
:TEXT:



:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:sfc
:TFLNO:001
:LDAT:11/11/2018 4:10:09 PM
:PRTX:START
migrate ProductionOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductionOrders,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:sfc
:TFLNO:005
:LDAT:11/11/2018 4:10:11 PM
:PRTX:START
migrate ProductionOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProductionOrders,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:sfc
:TFLNO:010
:LDAT:10/26/2018 10:24:57 AM
:PRTX:START
migrate ProductionOrderOperations
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:ProductionOrderOperations,ProductionOrders,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ti
:TCMOD:trp
:TFLNO:001
:LDAT:11/14/2018 12:15:36 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ctm
:TFLNO:020
:LDAT:10/11/2018 2:37:09 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

varstr.CreationDate  =  get.utc(now(),"No")

Migrate BankGuarantees
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:BankGuarantees,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Source table in access: BankGuarantees
Target table in %TV: %TTtpctm020


---  Migration Logic  ---



---  Migration Parameters  ---
Uses the Migration User from the General Parameter table


---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---
:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ctm
:TFLNO:100
:LDAT:11/10/2018 3:33:26 PM
:PRTX:START
migrate ProjectContracts
:PRTX:END
:STAT:V
:VARI:#include		<DateHandling>		'|Date functions
:STBL:ProjectContracts,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ctm
:TFLNO:110
:LDAT:11/10/2018 3:34:20 PM
:PRTX:START
migrate ProjectContractLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectContractLines,GeneralParameters,ProjectContracts
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:005
:LDAT:11/14/2018 12:15:37 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:035
:LDAT:9/23/2018 6:12:48 PM
:PRTX:START
migrate StandardSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:StandardSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0513m000


---  Migration Logic  ---
Source table in access: StandardSubcontractings
Target table in %TV: %TTtppdm035

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:090
:LDAT:9/23/2018 6:16:08 PM
:PRTX:START
migrate StandardElements
:PRTX:END
:STAT:V
:VARI:
:STBL:StandardElements
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TStppdm0580m000
In Infor ERPLN General menu - Project - General Project Tables - Standard Structures.



---  Migration Logic  ---
Source table in access: StandardElements
Target table in %TV: %TTtppdm090

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:600
:LDAT:11/7/2018 7:15:50 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.TargetDB = GeneralParameters.ODBCDriver
endselect

migrate Projects
:PRTX:END
:STAT:V
:VARI:
:STBL:Projects,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target Sessions:
%TStirou0101m000
%TStcemm1510m000
%TScprpd2100m000
%TStppdm6500m000

---  Migration Logic  ---
Main source tables in Access: WorkCenter and Projects
Additional source tables in Access: GeneralParameters, Addresses

This object converts data to 7 %TV tables
Target tables in %TV: %TTtcmcs065, 
                              %TTtirou001, 
                              %TTcprpd200, 
                              %TTtcemm110, 
                              %TTtcemm113, 
                              %TTtcemm124, 
                              %TTtppdm600



---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:




:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:635
:LDAT:9/23/2018 8:27:03 PM
:PRTX:START
migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectSubcontractings,GeneralParameters
:COMT:START
---  Changes in table design  ---


---  Source and Target Sessions  ---
Target session: %TStppdm6513m000


---  Migration Logic  ---
Source table in access: ProjectSubcontractings
Target table in %TV: %TTtppdm635

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pdm
:TFLNO:700
:LDAT:11/10/2018 3:32:21 PM
:PRTX:START
migrate ProjectContractDeliverables
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectContractDeliverables,GeneralParameters,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:211
:LDAT:10/26/2018 3:44:46 PM
:PRTX:START
migrate ProjectCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectCosts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:231
:LDAT:10/26/2018 3:44:46 PM
:PRTX:START
migrate ProjectCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectCosts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:251
:LDAT:10/26/2018 3:44:46 PM
:PRTX:START
migrate ProjectCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectCosts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:271
:LDAT:10/26/2018 3:44:46 PM
:PRTX:START
migrate ProjectCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectCosts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:291
:LDAT:10/26/2018 3:44:46 PM
:PRTX:START
migrate ProjectCosts
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ProjectCosts,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ppc
:TFLNO:301
:LDAT:10/26/2018 3:46:16 PM
:PRTX:START
migrate ProjectRevenueEntry
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:ProjectRevenueEntry,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:pss
:TFLNO:230
:LDAT:9/26/2018 9:41:14 PM
:PRTX:START
migrate ExternalScheduleLinks
:PRTX:END
:STAT:X
:VARI:
:STBL:ExternalScheduleLinks
:COMT:START
---  Changes in table design  ---
Migration mapping object set to Expired. It is better to import the data from the MSproject integration.

Access table: ExternalScheduleLinks removed

---  Source and Target Sessions  ---
Target session:%TStppss2130m000

---  Migration Logic  ---
Source table in access: ExternalScheduleLinks
Target table in %TV: %TTtppss230

---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---



---  Performance  ---


:COMT:END
:TEXT:









:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tp
:TCMOD:ptc
:TFLNO:100
:LDAT:9/23/2018 8:30:03 PM
:PRTX:START
migrate Elements
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
:STBL:Elements,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session:%TStpptc1500m000
In Infor ERP LN General menu: Project - Project Definition - Project Structure - Scope Definition



---  Migration Logic  ---
Source table in access: Elements
Target table in %TV: %TTtpptc100


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retreive the correct (UTC) date.


---  Performance  ---


:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:acm
:TFLNO:101
:LDAT:10/25/2018 6:19:55 PM
:PRTX:START
migrate ReferenceActivities
:PRTX:END
:STAT:V
:VARI:
:STBL:ReferenceActivities,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:acm
:TFLNO:220
:LDAT:10/25/2018 6:26:28 PM
:PRTX:START
migrate ResourceRequirementsByReferenceActivity
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,ItemCodeSegmentationParameters,ResourceRequirementsByReferenceActivity
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:acm
:TFLNO:360
:LDAT:10/25/2018 6:27:00 PM
:PRTX:START
migrate MeasurementTypesByReferenceActvity
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:MeasurementTypesByReferenceActvity,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:cfg
:TFLNO:200
:LDAT:11/10/2018 3:30:24 PM
:PRTX:START
migrate SerializedItems
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:SerializedItems,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:110
:LDAT:11/10/2018 3:25:46 PM
:PRTX:START
Migrate ConfigurationLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ConfigurationLines,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:111
:LDAT:11/10/2018 3:25:47 PM
:PRTX:START
Migrate ConfigurationLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:ConfigurationLines,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:120
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:130
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:131
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:132
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:135
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:136
:LDAT:10/25/2018 10:26:32 PM
:PRTX:START
migrate ServiceContractTerms
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceContractTerms,ItemCodeSegmentationParameters,ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:300
:LDAT:10/25/2018 10:31:03 PM
:PRTX:START
Migrate ServiceContracts
:PRTX:END
:STAT:V
:VARI:
:STBL:ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:ctm
:TFLNO:320
:LDAT:10/25/2018 10:31:03 PM
:PRTX:START
Migrate ServiceContracts
:PRTX:END
:STAT:V
:VARI:
:STBL:ServiceContracts
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:060
:LDAT:10/25/2018 10:45:29 PM
:PRTX:START
migrate MeasurementUnits
:PRTX:END
:STAT:V
:VARI:
:STBL:GeneralParameters,ItemCodeSegmentationParameters,MeasurementUnits,MeasurementTypes
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:065
:LDAT:10/26/2018 1:05:23 AM
:PRTX:START
migrate MeasurementTypes
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:MeasurementTypes,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:068
:LDAT:10/26/2018 1:05:54 AM
:PRTX:START
migrate MaintenanceTriggerSets
:PRTX:END
:STAT:V
:VARI:
:STBL:MaintenanceTriggerSets
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:069
:LDAT:10/26/2018 1:06:33 AM
:PRTX:START
Migrate MaintenanceTriggers
:PRTX:END
:STAT:V
:VARI:
:STBL:MaintenanceTriggers
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:200
:LDAT:11/14/2018 12:15:40 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:mdm
:TFLNO:220
:LDAT:10/23/2018 2:14:18 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:soc
:TFLNO:200
:LDAT:11/10/2018 3:20:50 PM
:PRTX:START
migrate ServiceOrders
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceOrders,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:soc
:TFLNO:210
:LDAT:11/10/2018 3:22:02 PM
:PRTX:START
migrate ServiceOrderActivities
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceOrderActivities,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:soc
:TFLNO:220
:LDAT:11/10/2018 3:17:37 PM
:PRTX:START
migrate ServiceOrderCosts
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceOrderCosts,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:soc
:TFLNO:230
:LDAT:11/10/2018 3:17:46 PM
:PRTX:START
migrate ServiceOrderCosts
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceOrderCosts,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:soc
:TFLNO:240
:LDAT:11/10/2018 3:17:56 PM
:PRTX:START
migrate ServiceOrderCosts
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ServiceOrderCosts,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:spc
:TFLNO:130
:LDAT:10/26/2018 1:07:51 AM
:PRTX:START
migrate PreventiveMaintenanceScenario
:PRTX:END
:STAT:V
:VARI:
:STBL:PreventiveMaintenanceScenario,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:spc
:TFLNO:131
:LDAT:10/26/2018 1:08:23 AM
:PRTX:START
migrate PreventiveMaintenanceScenarioLines
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,ItemCodeSegmentationParameters,PreventiveMaintenanceScenarioLines
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:spc
:TFLNO:132
:LDAT:10/26/2018 1:08:49 AM
:PRTX:START
migrate PreventiveMaintenanceScenarioLinePatterns
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:PreventiveMaintenanceScenarioLinePatterns,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:ts
:TCMOD:spc
:TFLNO:135
:LDAT:10/26/2018 1:09:23 AM
:PRTX:START
migrate RuleBookForMaintenanceScenarios
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,ItemCodeSegmentationParameters,RuleBookForMaintenanceScenarios
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tt
:TCMOD:txt
:TFLNO:001
:LDAT:10/31/2018 11:33:28 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tt
:TCMOD:txt
:TFLNO:002
:LDAT:10/31/2018 11:33:28 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:tt
:TCMOD:txt
:TFLNO:010
:LDAT:10/31/2018 11:33:28 PM
:PRTX:START
TextLang = ""
TextSequence = 1
TextString = ""
VarTextNumber = ""		
VarTextSequence = ""	
TargetCompNo = 100 	' Initial Value for Target Company Number	

select	GeneralParameters.*
from	GeneralParameters
selectdo
endselect
TargetCompNo = GeneralParameters.TargetCompanyNumber


' Create the End string
'The End string consists of 13 characters (0) and 1 representing the company
For p  =  1 to 13  	   	   	   	   	   	   	   
	EndTextString  =  EndTextString  +  CHR(0)  	   	   	   	   
Next  	   	   	   	   	   	   	   	   	   
' comp number will be set at the loading side  
EndTextString  =  EndTextString  +  CHR(100)  

migrate Texts
:PRTX:END
:STAT:V
:VARI:
:STBL:Texts,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
%TStttxt1100m000


---  Migration Logic  ---
Main source tables in Access: Texts
Additional source tables in Access: GeneralParameters

Before dumping the tttxt tables a macro Generate Text numbers needs to run. This macro will set the text ID numbers and fill the Access text table. 


For each record in Texts table a record in %TTtttxt002 and %TTtttxt002 will be created.
For each record in Texts table the text memo field is divided in pieces of 240 characters and for each set a record in %TTtttxt010 will be created with an increasing text sequence number.


---  Migration Parameters  ---



---  Migration Mapping Tables  ---



---  Technical Notes  ---
The text file need to be created as follows.
The Total length of the tttxt010 record must be 263 and the file needs to be binairy (hex values)
- 4 positions for the text number in a hex representation
- 1 position for the text language
- 4 positions for the text sequence number in a hex representation	
- The Length of the text string can be a maximum of 240 if the string is more then multiple lines (sequences) will be created.
- 13 positions with character (0)
- 1 position for the hex representation of the company number. Always set to 100 as the company number is also set during the db.insert step during the load.	

This gives a total of 4 + 1 + 4 + 240 + 13 + 1 = 263


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:inh
:TFLNO:520
:LDAT:11/13/2018 3:14:39 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:inh
:TFLNO:521
:LDAT:11/13/2018 3:14:42 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:inh
:TFLNO:526
:LDAT:11/13/2018 3:14:43 PM
:PRTX:START
select	GeneralParameters.*
from	GeneralParameters
selectdo
	varstr.series  = Trim(GeneralParameters.AdjustmentOrderSeries) 
	varstr.reason = GeneralParameters.AdjustmentOrderReason
	varstr.employee = GeneralParameters.EmployeeCode
endselect

'|Initialize variables
varstr.order.number =""
varint.position = 0
varint.counter = 0
length.counter = 0

migrate AdjustmentOrders
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date and UTC functions
#include	<ItemHandling>		'|Item segmentation function
:STBL:AdjustmentOrders,GeneralParameters,Items,ItemCodeSegmentationParameters,WarehouseItem
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions: 
%TSwhinh5120m000
%TSwhinh5120m100
%TSwhinh5126m000


---  Migration Logic  ---
Source table in access: AdjustmentOrders
Target tables in %TV: %TTwhinh520
                                %TTwhinh521
                                %TTwhinh526


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:ltc
:TFLNO:100
:LDAT:11/1/2018 12:01:34 AM
:PRTX:START
migrate LotsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,LotsByItem,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target session: %TSwhltc1100m000


---  Migration Logic  ---
Source table in access: LotsByItem
Target table in %TV: %TTwhltc100


---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.



---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:ltc
:TFLNO:500
:LDAT:11/11/2018 5:03:59 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

migrate SerialsByWarehouse
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
#include	<DateHandling>	'| Date and UTC handling
:STBL:ItemCodeSegmentationParameters,SerialsByWarehouse,GeneralParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:210
:LDAT:11/1/2018 5:39:59 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:215
:LDAT:11/1/2018 5:39:59 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:216
:LDAT:11/1/2018 5:39:59 PM
:PRTX:START
migrate WarehouseItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions
:STBL:WarehouseItem,Items,ItemCodeSegmentationParameters,GeneralParameters
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:
%TSwhwmd2510m000
%TSwhwmd2515m000

---  Migration Logic  ---
Main source tables in access: WarehouseItems
Additional source tables in access: Items

This object converts data to 3 %TV tables:
%TTwhwmd210
%TTwhwmd215
%TTwhwmd216

It is possible to migrate standard items as well as project (TP) items. 
At this moment it is not possible to migrate PCS items.

---  Migration Parameters  ---
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.

---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "ItemHandling" is used in this object to determine the item segmentation.


---  Performance  ---


:COMT:END
:TEXT:





:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:300
:LDAT:11/14/2018 9:35:12 PM
:PRTX:START
migrate Locations
:PRTX:END
:STAT:V
:VARI:
:STBL:Locations,LocationByItem,LocationCapacity
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:400
:LDAT:11/14/2018 12:15:44 AM
:PRTX:START
var.weight.unit = ""
var.weight = 0
var.lotcontrolled = 2
var.serialized = 2
var.ordersystem = 9
var.oqmf = 1
var.otmf = 180
var.ptmf = 180
var.mioq = 1
var.maoq = 9999999
var.fioq = 1
var.ecoq = 1
var.releasetowarehouse = 1
var.acpo = ""
var.acps = ""

PlanItemCode = 0
varstr.item = ""
'|* SL 244268   var.maxinventory = 9999999
var.planned.item = ""
cluster.found = 0
var.cprpd100.ptmf = 0
var.tcibd001.cwun = ""

'| Variables for Lot controlled settings in warehouse item 
var.ltpr = 2
var.lttr = 2		
var.linv = 2			
var.ledd = 3			
var.ledr = 3  
var.ledt = 3  
var.lisf = 3
var.lism = 3 

'| Variables for Serialized settings in warehouse item 
var.srpr = 2 
var.srtr = 2
var.sinv = 2 
var.sedd = 3 
var.sedr = 3  
var.sedt = 3  
var.sisf = 3  
var.sism = 3  

									'|* LN10605.sn
'|*** Check defaults not present to skip table read for every Record
DefaultsGeneral = defaults.general.present()
DefaultsPurchase = defaults.purchase.present()
DefaultsSales = defaults.sales.present()
DefaultsProduction = defaults.production.present()
DefaultsOrdering = defaults.ordering.present()
DefaultsPlanning = defaults.planning.present()
DefaultsCosting = defaults.costing.present()
DefaultsWarehousing = defaults.warehousing.present()
DefaultsProject = defaults.project.present()
DefaultsService = defaults.service.present()
									'|*LN10605.en


select	GeneralParameters.*
from	GeneralParameters
selectdo
	var.weight.unit = GeneralParameters.DefaultWeightUnit
	PlanItemCode = GeneralParameters.SequencePlanItemCodes
endselect

migrate Items

migrate StandardEquipments

migrate ProjectEquipments

migrate StandardSubcontractings

migrate ProjectSubcontractings
:PRTX:END
:STAT:V
:VARI:#include	<DateHandling>		'|Date functions
#include	<ItemHandling>		'|Item functions
:STBL:Items,ItemsByCluster,GeneralParameters,AlternativeItems,StandardSubcontractings,StandardEquipments,ProjectSubcontractings,ProjectEquipments,ItemCodeSegmentationParameters,ItemDefaultsWarehousing,ItemDefaultsService,ItemDefaultsSales,ItemDefaultsPurchase,ItemDefaultsProduction,ItemDefaultsPlanning,ItemDefaultsOrdering,ItemDefaultsGeneral,ItemDefaultsCosting,ItemDefaultsProject
:COMT:START
---  Changes in table design  ---



---  Source and Target Sessions  ---
Target sessions:  
%TScprpd1100m000
%TStcibd0501m000
%TStcibd2500m000
%TStdipu0101m000
%TStdipu1500m100
%TStdisa0501m000
%TSticpr0107m000
%TStiipd0101m000
%TStsmdm2100m000
%TStppdm0505m000
%TSwhwmd4500m000


---  Migration Logic  ---
Main source tables in Access: 
Items, StandardSubcontracting, ProjectSubcontracting, StandardEquipment, ProjectEquipment
The following access tables are used for handling Item defaults:
ItemDefaultsGeneral, ItemDefaultsCosting, ItemDefaultsOrdering, ItemDefaultsPlanning, ItemDefaultsProduction, ItemDefaultsProject, ItemDefaultsPurchase, ItemDefaultsSales, ItemDefaultsService, ItemDefaultsWarehousing.

Additional source tables in Access: ItemsByCluster, AlternativeItems,
GeneralParameters, ItemCodeSegmentationParameters

This object converts data to 13 %TV tables
It is possible to migrate standard items as well as TP Projects. 

The tables will be dumped under the following conditions:
%TTcprpd100 - Item type is purchased or manufactured
%TTcprpd120 - Item type is purchased or manufactured
%TTtcibd001 - Always
%TTtcibd100 - Item type is purchased or manufactured
%TTtcibd200 - Item type is purchased or manufactured
%TTtdipu001 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdipu100 - All Item Types and depends on the access field "Items.ItemPurchaseData"
%TTtdisa001 - For Item Types: purchased, manufactured or cost. Depends on the access field "Items.ItemSalesData"
%TTticpr007 - Item type is purchased, manufactured or cost
%TTtiipd001 - Item type is purchased, manufactured or cost. Depends on the access field "Items.ItemProductionData"
%TTtsmdm200 - All Item Types and depends on the access field "Items.ItemServiceData"
%TTtppdm005 - All Item Types and depends on the access field "Items.ItemProjectData"
%TTwhwmd400  - Always

Logic for using Item defaults:
For all dumped tables a check is done if for the fields item defaults are specified.

Logic for using Item defaults:
For all dumped tables checks are done if for the fields item defaults are specified.
When the item defaults tables are not filled or the default record for the Item Type and Item Group combination is not specified the existing values from the Item Table will be used.
If the Defaults are found and the item access field is not specified (0 or Empty) the value of the item default record is used for the applicable field. If the Item access field is filled the default value will be ignored.
If on the item record the flag exception is set to “Yes” the item default values for this records are ignored.
Item Default settings can be set up in the Target environment and loaded into access.
Using Item defaulting it can limit the amount of fields required to specify for each item record in access. 

---  Migration Parameters  ---
Parameter table "GeneralParameters" in Access is used in this object.
Parameter table "ItemCodeSegmentationParameters" in Access is used in this object.


---  Migration Mapping Tables  ---



---  Technical Notes  ---
Include "DateHandling" is used in this object to retrieve the correct (UTC) date.
Include "ItemHandling" is used in this object to determine the item segmentation.
These includes are stored in the Function Repository of the Studio.
Include "ItemHandling" is used to evaluate the item default value


---  Performance  ---


:COMT:END
:TEXT:


:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:404
:LDAT:10/23/2018 2:14:19 PM
:PRTX:START
migrate ItemsBySite
migrate ItemsByOffice
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:ItemsBySite,Items,ItemCodeSegmentationParameters,ItemsByOffice
:COMT:START

:COMT:END
:TEXT:






:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:405
:LDAT:10/26/2018 3:49:41 PM
:PRTX:START
migrate PackagingItems
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
:STBL:PackagingItems,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:410
:LDAT:11/10/2018 3:10:53 PM
:PRTX:START
migrate PackageDefinitions
:PRTX:END
:STAT:V
:VARI:
:STBL:PackageDefinitions
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:420
:LDAT:10/26/2018 3:51:04 PM
:PRTX:START
migrate PackageDefinitionLevels
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
:STBL:PackageDefinitionLevels,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:430
:LDAT:11/10/2018 3:10:29 PM
:PRTX:START
migrate PackageDefinitionsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
:STBL:PackageDefinitionsByItem,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:440
:LDAT:10/26/2018 3:51:50 PM
:PRTX:START
migrate PackageDefinitionLevelsByItem
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>	'|Item segmentation
:STBL:PackageDefinitionLevelsByItem,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:







:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:530
:LDAT:12/12/2018 8:16:54 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

var.whwmd530.volu = 0.0
var.whwmd530.flsp = 0.0

Migrate HandlingUnits
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions

Dim test as float
:STBL:HandlingUnits,GeneralParameters,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:

:TEXT:END
:ISMS:True
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:532
:LDAT:11/15/2018 10:47:24 AM
:PRTX:START
Migrate AuxiliaryPackaging
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
:STBL:GeneralParameters,AuxiliaryPackaging,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:


:TEXT:END
:ISMS:False
MO
:MPRF:14
:VERS:A2LN
:RELE:LN
:CUST:1060
:TCPAC:wh
:TCMOD:wmd
:TFLNO:536
:LDAT:12/12/2018 8:16:54 PM
:PRTX:START
select GeneralParameters.*
from GeneralParameters
selectdo
endselect

var.whwmd530.volu = 0.0
var.whwmd530.flsp = 0.0

Migrate HandlingUnits
:PRTX:END
:STAT:V
:VARI:#include	<ItemHandling>		'|Item functions
#include	<DateHandling>		'|Date functions

Dim test as float
:STBL:HandlingUnits,GeneralParameters,ItemCodeSegmentationParameters
:COMT:START

:COMT:END
:TEXT:

:TEXT:END
:ISMS:True
