Ver-17 29/6/2021
------------------------------------------------------------------------------------------------------------------------------
1)COPRAR1,COPRAR2

Inside Tag/Segment (Container) new Tag/Segment (Customsdocs) was Added,0-1 (Customsdocs) per (Container)
Each (Customsdocs) has child Tags/Segments (Doc) , 1+ (Doc) per (Customsdocs)
Each (Doc) has attributes Customs_Type,Customs_Auth_Type,CustomsNo

Inside Tag/Segment (Container) new attributes were added Nor,Set_Point,Humidity,CO2,PTI,PTI_Number,Ventilation,O2,Power_demand

2)COPRAR1

Attributes OOG_Dimension_Left,OOG_Dimension_Right,OOG_Dimension_Front,OOG_Dimension_Back,OOG_Dimension_Top were added to the (Container) Tag/Segment (Those Attributes Are Used Only When Is_OOG=1)
Attributes Is_Big_Load And Cargo_Country_Origin were added to the (Container) Tag/Segment

The Customs_Type,CustomsNo,Customs_Auth_Type were removed from the Container segement (all the documents are inside the Customsdocs segement)

3)COPRAR2 

The segement Cargo was removed (all the documents are inside the Customsdocs segement)

Inside Tag/Segment (Container) new attribute was added Box_Operator

----------------------------------------------------------------------------------------------------------------------------------
*)All new Tags/Segments/Attributes that were added to the COREOR/COHAOR/RAILCOHAOR/COSTOR are optional at the moment but will become mandatory in the future as soon as the new system goes live.

4)COREOR

Attributes Type_Of_Coreor,Delivery_Order,Consignor,Last_Holder_Of_Delivery_Order were added to (HEADER) Tag/Segment

Attributes Invoicee,Cargo_Owner were added to (HEADER) Tag/Segment

Inside Tag/Segment (Container) new Tag/Segment (Customsdocs) was Added,0-1 (Customsdocs) per (Container)
Each (Customsdocs) has child Tags/Segments (Doc) , 1+ (Doc) per (Customsdocs)
Each (Doc) has attributes Customs_Type,Customs_Auth_Type,CustomsNo


5)COHAOR,RAILCOHAOR

Attribute Delivery_Order was added to (HEADER) Tag/Segment

Inside Tag/Segment (Container) new Tag/Segment (Handling_Instructions) was Added,0-1 (Handling_Instructions) per (Container)
Each (Handling_Instructions) has Attribute Handling_Code


6)Costor
Attributes Akla,Sub_Akla were added to (Container) Tag/Segment

Attributes Destination,Delivery_Order were added to (HEADER) Tag/Segment

7)Appropriate XSD was added for each message based on the DTD file of the same message

8)XML templates with placeholder values for all Tags/Attributes (even the optional ones) were added for all the messages

9)Lookup Tables were added for (Type_Of_Coreor,Handling_Code) Attributes

10)All the new Segments/Attributes were added to the Documentation File  (XML message documentation_2021_v16_EN)
   All the new Segments/Attributes inside the Documentation File have the indication (NEW) next to them



----------------------------------------------------------------------------------------------------------------------------------

Ver-18 1/9/2021

1)CTOS XML/EDI Module will accept both the current and new versions of COPRAR1/COPRAR2 messages

2)RAILCOPRAR2

Fields Wagon_No_Frw and Wagon_No_Aft were removed
Field Position_On_Wagon was added (Has values 1="front" 2="middle" 3="back" based on lookup position_on_wagon)
position_on_wagon lookup table was added


----------------------------------------------------------------------------------------------------------------------------------

Ver-19 15/9/2021
 

1)COPRAR1,COPRAR2,RAILCOPRAR2 

Container_Reference_Number was added to the (Container) Segment. 
(Unique Reference code created by the sender for each container and should be unique per sender )
(This number should be returned per container in the response messages CODECO,COARRI,ETC)


2)COHAOR,COSTOR,RAILCOHAOR,RAILCOSTOR
  Added Last_Holder_Of_Delivery_Order to the header segement (same field as the one in coreor)

3)COREOR,COHAOR,COSTOR,RAILCOHAOR,RAILCOSTOR

Removed all the unnecessary fields in order to reduce the size of the messages

Removed from the header Segment of the messages
	Captain_Name 
	Passengers_No 
   Ship_Name/Train_Name
	Ship_Arrival_Date/Train_Arrival_Date_Actual
	Port_Origin/Origin
	Port_Destination/Destination  
	Message_Type 
   EDI_Recipient_ID 

Removed from the container Segment of the messages
   SEQ_ID 
   Container_Type
   Container_Size
   IMO_Class
   Seal_No
   Cargo_Type
   Cargo_Weight
   Origin_Code


4)RAILCOHAOR,RAILCOSTOR were removed and replaced by regular cohaor,costor messages

----------------------------------------------------------------------------------------------------------------------------------

Ver-20 13/11/2021

1)COREOR
Added field Contact_Details in the Container Segment (this field contains hoilers email)

2)
Added error messages to the archive

----------------------------------------------------------------------------------------------------------------------------------

Ver-21 22/11/2021

Changed the dtd and xsd files based on the doc word file  ( documentation_2021_v21_EN )

1)Coreor 

The following fields changed from optional to required

	Handling_Date_Schedule 
	Delivery_Date_Schedule 
	Invoicee      
   Type_Of_Coreor 
	Delivery_Order 
	Consignor                      
   Last_Holder_Of_Delivery_Order   


2)Cohaor 

The following fields changed from optional to required

	Delivery_Order 
	Last_Holder_Of_Delivery_Order 
   Handling_Code  


3)Costor 

The following fields changed from optional to required

   Delivery_Order 
	Last_Holder_Of_Delivery_Order 


4)Calinf

The following fields changed from optional to required

	Imo_No  
	In_Voyage 
	Out_Voyage 
	In_Lane 
	Out_Lane 
   IsVocodeFinal

The following fields changed from required to optional

	Ship_Gross_Capacity 
	Ship_Net_Capacity 
   Ship_Length
   Passengers_No
   EDI_Recipient_ID


5)COPRAR1  (new version only!)

The following fields changed from optional to required

    Container_Iso_Code
    Package_Type
    Units
    Cargo_Type
    Cargo_Weight
    Container_Weight
    Trans_Port_Out
    Wastes_Cargo
    Set_Temp
    Final_Destination_Id
    Origin_Port_Id
    UNNO
    Is_OOG
    VO_Code
    Service_Lane_Out

The following fields changed from required to optional

	Container_Type 
	Container_Size 
   Seal_No 
   Ship_Name


6)COPRAR2/RAILCOPRAR2 (new versions only!)

The following fields changed from required to optional

EDI_Recipient_ID
Document_Reference
Ship_Length
Ship_Gross_Capacity
Ship_Net_Capacity
Passengers_No
Trans_Port_In 
Trans_Port_Out 
Loading_Date 
Unloading_Date 
Container_Type 
Container_Size 

The following fields changed from optional to required

VGM_Gross_Weight
Wastes_Cargo
Set_Temp
Container_Iso_Code


7)Bug fix Removed Container_Ref segement from RAILCOPRAR2 xml template 


----------------------------------------------------------------------------------------------------------------------------------

Ver-22 13/12/2021


RAILCOPRAR2 will have 2 versions old/new just like COPRAR2 

1)Old/current version of RAILCOPRAR2 dtd/xml/xsd were added to the archive
2)Cargo segment was removed form the new version
3)Documentation for RAILCOPRAR2 was changed appropriately


----------------------------------------------------------------------------------------------------------------------------------

Ver-23 27/1/2022

1)new required Attribute Box_Operator was added to the (new version) Coprar1 message

----------------------------------------------------------------------------------------------------------------------------------

Ver-24 17/2/2022

1)Optional Bundle Segment was added to the Coprar1/Coprar2/RAILCOPRAR2 messages (new versions)

!  Bundle Segment is only used for Bundle Containers.!
The “Master”/Top Containers data should be inputted into the main Container segment while 
Bundle segment needs to have “sub containers” numbers (1-4 containers per Master Container)


----------------------------------------------------------------------------------------------------------------------------------
Ver-25 16/3/2022

1)Added required attribute Cargo_Country_Origin to the Coprar2/RAILCOPRAR2 container segement (new versions)

2)Attributes Is_OOG,OOG_Dimension_Left,OOG_Dimension_Right,OOG_Dimension_Front,OOG_Dimension_Back,OOG_Dimension_Top
  were added to the (Container) Tag/Segment of to the Coprar2/RAILCOPRAR2 (new versions)

3)VO_Code field was changed to optional in the HEADER segement of the COREOR message

----------------------------------------------------------------------------------------------------------------------------------

Ver-26 7/4/2022

1)In Coprar1 the following fields are now optional (on the xml level to allow both empty and full containers)
           Package_Type
           Units
           Cargo_Type
           Cargo_Weight
           Container_Weight
           Wastes_Cargo
           Origin_Port_Id
           Is_OOG
           Origin_Code

2)In Coprar2/RailCoprar2 the following fields are now optional (on the xml level to allow both loading/unloading and empty/full containers)
          Quantity_Unload 
	       Quantity_Load
          VGM_Gross_Weight
          Seal_No
          Origin_Code 
	       Registration_Country
          Is_OOG
        

3)In Coreor new optional Sgement was added inside the container for the passthrough procedure 

    <Passthrough Container_Iso_Code="str1234" IMO_Class="str1234" Seal_No="str1234" Units="str1234" Cargo_Type="str1234" 
      Cargo_Weight="str1234" Wastes_Cargo="str1234" Port_Origin="str1234" Port_Destination="str1234"/>
  

4)Word documentation_2021_v26_EN was updated (do the checks based on the documentation)

------------------------------------------------------------------------------------------------------------------------------------

Ver-27 28/4/2022


1)In Coprar1 the following fields are now optional (on the xml level )
  OOG_Dimension_Left,
  OOG_Dimension_Right,
  OOG_Dimension_Front,
  OOG_Dimension_Back,
  OOG_Dimension_Top

2)In Coprar2/RailCoprar2 the following fields are now optional (on the xml level )
  OOG_Dimension_Left,
  OOG_Dimension_Right,
  OOG_Dimension_Front,
  OOG_Dimension_Back,
  OOG_Dimension_Top

3)In Coprar2/Coprar1/RailCoprar2 If Is_OOG = true, one of the following fields is required 
  OOG_Dimension_Left,
  OOG_Dimension_Right,
  OOG_Dimension_Front,
  OOG_Dimension_Back,
  OOG_Dimension_Top

------------------------------------------------------------------------------------------------------------------------------------

Ver-28 6/5/2022

1)In Coreor new optional field is added in the Container Segment (in this field agent can declare the contry of the Cargos final destination)

Final_Destination_Country

------------------------------------------------------------------------------------------------------------------------------------

Ver-29 10/5/2022

1)In Coprar1 Cargo_Country_Origin was changed to required

2)In Coprar2 Cargo_Country_Origin was changed to optional in xsd/dtd
  But the following check must be performed :
  In Coprar2 Loading Cargo_Country_Origin is optional
  In Coprar2 Unloading Cargo_Country_Origin is required

3)In RAILCOPRAR2 Cargo_Country_Origin was changed to optional in xsd/dtd
  But the following check must be performed :
  In RAILCOPRAR2 Loading Cargo_Country_Origin is optional
  In RAILCOPRAR2 Unloading Cargo_Country_Origin is required

4)In all the messages the UNNO is required only if IMO_Class is not 0 ( So UNNO is required only if the cargo is dangerous )


------------------------------------------------------------------------------------------------------------------------------------

Ver-30 19/5/2022



1)Added new optional field Free_Empty in the Header segment of the Coprar1 (new version only)

This field accepts values of 1 and 0

When the value is 1 then :

1)Voyage is optional
2)All the containers in the message should be empties

When the value is 0 or if the field is empty or not set then :

1)Voyage is required
2)Containers can be both full or empties


2)Voyage in the header of the coprar1(new version only) is now optional on the xml level (it should be checked only in code)



------------------------------------------------------------------------------------------------------------------------------------



