[jira] Created: (OFBIZ-1620) Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1620) Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)

Nicolas Malin (Jira)
Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)
-----------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-1620
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1620
             Project: OFBiz
          Issue Type: Improvement
          Components: order
    Affects Versions: SVN trunk
            Reporter: Valentina Sirkova
             Fix For: SVN trunk


As suggested by David here  (in point 2)  http://www.nabble.com/Re%3A-new-accomodation-map-entities-Jira-OFBIZ-1590-%28was-on-the-user-mailing-list%29-to15128518.html
I created initial patch of the entities: ScheduledTransportation and ScheduledTransportationOffering. Both of them are modeled based on the book  "The data model resource book 2"

ScheduledTransportation:
Description:
This entity keeps information for the travel provider who offers the scheduled transportation(via partyId and roleType fields), the arrival and departure dates and times, the specific vehicle (fixed asset) involved in the particular scheduled transportation.
Fk-s and Pk-s and relationships:
I have modeled the pk-s and fk-s based on the book. The difference is that there are 4 fields for arrival and departure in the book: departure/date and time and arrival/date and time which i have shrinked to 2 fields only(as I think they are enough)but If you disapprove then I can make them 4 again.

ScheduledTransportationOffering:
Description:
This entity is related to ScheduledTransportation and encompasses the different offering available for a particular transportation. The offerings vary based on what is available to be offered from certain class of a vehicle on a scheduled transportation. One transportation might have a few  offerings as the number of spaces offered on it might not be the same  as the number of spaces within the vehicle`s accommodation map.
Fk-s and Pk-s and relationships:
Everything is based on the book.

Example of these two entities usage: A scheduled transportation might be a flight#123, the product of which is the plane going from one point to another. This plane might have two classes coach and first, which have 200 and 50 places respectively(This info for the nr of spaces for each class is kept in AccommodationMap entity). However on the specific date of the flight the enterprice might have overbooked some seats and as a result the number of spaces of these two classes might have decreased or increased. Because of that the number of spaces for this scheduled transportation would differ from the number of spaces in the AccommodationMap. This new updated information is stored in ScheduledTransportationOffering entity.

Note: I have NOT extended the Product entity in this patch as I am not sure which is the best way. To use the entities proposed in this issue, we need to extend the Product entity with two more fields: facilityFrom and facilityTo. These fields define the origin and destination of our travel product. If the community approves of these two fields which relate the product to Facility I could add them to the patch. Ofcourse other suggestions are welcome.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1620) Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentina Sirkova updated OFBIZ-1620:
-------------------------------------

    Attachment: scheduledTransp_scheduledTranspOffng.patch

Initial patch

> Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1620
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1620
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Valentina Sirkova
>             Fix For: SVN trunk
>
>         Attachments: scheduledTransp_scheduledTranspOffng.patch
>
>
> As suggested by David here  (in point 2)  http://www.nabble.com/Re%3A-new-accomodation-map-entities-Jira-OFBIZ-1590-%28was-on-the-user-mailing-list%29-to15128518.html
> I created initial patch of the entities: ScheduledTransportation and ScheduledTransportationOffering. Both of them are modeled based on the book  "The data model resource book 2"
> ScheduledTransportation:
> Description:
> This entity keeps information for the travel provider who offers the scheduled transportation(via partyId and roleType fields), the arrival and departure dates and times, the specific vehicle (fixed asset) involved in the particular scheduled transportation.
> Fk-s and Pk-s and relationships:
> I have modeled the pk-s and fk-s based on the book. The difference is that there are 4 fields for arrival and departure in the book: departure/date and time and arrival/date and time which i have shrinked to 2 fields only(as I think they are enough)but If you disapprove then I can make them 4 again.
> ScheduledTransportationOffering:
> Description:
> This entity is related to ScheduledTransportation and encompasses the different offering available for a particular transportation. The offerings vary based on what is available to be offered from certain class of a vehicle on a scheduled transportation. One transportation might have a few  offerings as the number of spaces offered on it might not be the same  as the number of spaces within the vehicle`s accommodation map.
> Fk-s and Pk-s and relationships:
> Everything is based on the book.
> Example of these two entities usage: A scheduled transportation might be a flight#123, the product of which is the plane going from one point to another. This plane might have two classes coach and first, which have 200 and 50 places respectively(This info for the nr of spaces for each class is kept in AccommodationMap entity). However on the specific date of the flight the enterprice might have overbooked some seats and as a result the number of spaces of these two classes might have decreased or increased. Because of that the number of spaces for this scheduled transportation would differ from the number of spaces in the AccommodationMap. This new updated information is stored in ScheduledTransportationOffering entity.
> Note: I have NOT extended the Product entity in this patch as I am not sure which is the best way. To use the entities proposed in this issue, we need to extend the Product entity with two more fields: facilityFrom and facilityTo. These fields define the origin and destination of our travel product. If the community approves of these two fields which relate the product to Facility I could add them to the patch. Ofcourse other suggestions are welcome.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1620) Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566126#action_12566126 ]

Valentina Sirkova commented on OFBIZ-1620:
------------------------------------------

By the way, while I was creating the patch I noticed that in the entitygroup.xml file of the FixedAsset entity you leave space at the end of each <entity-group/> tag. For example:
    <entity-group group="org.ofbiz" entity="FixedAssetStdCost"  />
    <entity-group group="org.ofbiz" entity="FixedAssetStdCostType"  />
    <entity-group group="org.ofbiz" entity="FixedAssetType"  />
    <entity-group group="org.ofbiz" entity="FixedAssetTypeAttr"  />
Does it have to be this way? Or this space at the end should be trimmed?

If it has to be trimmed then I can provdie quickly a patch to fix this...

> Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1620
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1620
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Valentina Sirkova
>             Fix For: SVN trunk
>
>         Attachments: scheduledTransp_scheduledTranspOffng.patch
>
>
> As suggested by David here  (in point 2)  http://www.nabble.com/Re%3A-new-accomodation-map-entities-Jira-OFBIZ-1590-%28was-on-the-user-mailing-list%29-to15128518.html
> I created initial patch of the entities: ScheduledTransportation and ScheduledTransportationOffering. Both of them are modeled based on the book  "The data model resource book 2"
> ScheduledTransportation:
> Description:
> This entity keeps information for the travel provider who offers the scheduled transportation(via partyId and roleType fields), the arrival and departure dates and times, the specific vehicle (fixed asset) involved in the particular scheduled transportation.
> Fk-s and Pk-s and relationships:
> I have modeled the pk-s and fk-s based on the book. The difference is that there are 4 fields for arrival and departure in the book: departure/date and time and arrival/date and time which i have shrinked to 2 fields only(as I think they are enough)but If you disapprove then I can make them 4 again.
> ScheduledTransportationOffering:
> Description:
> This entity is related to ScheduledTransportation and encompasses the different offering available for a particular transportation. The offerings vary based on what is available to be offered from certain class of a vehicle on a scheduled transportation. One transportation might have a few  offerings as the number of spaces offered on it might not be the same  as the number of spaces within the vehicle`s accommodation map.
> Fk-s and Pk-s and relationships:
> Everything is based on the book.
> Example of these two entities usage: A scheduled transportation might be a flight#123, the product of which is the plane going from one point to another. This plane might have two classes coach and first, which have 200 and 50 places respectively(This info for the nr of spaces for each class is kept in AccommodationMap entity). However on the specific date of the flight the enterprice might have overbooked some seats and as a result the number of spaces of these two classes might have decreased or increased. Because of that the number of spaces for this scheduled transportation would differ from the number of spaces in the AccommodationMap. This new updated information is stored in ScheduledTransportationOffering entity.
> Note: I have NOT extended the Product entity in this patch as I am not sure which is the best way. To use the entities proposed in this issue, we need to extend the Product entity with two more fields: facilityFrom and facilityTo. These fields define the origin and destination of our travel product. If the community approves of these two fields which relate the product to Facility I could add them to the patch. Ofcourse other suggestions are welcome.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1620) Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentina Sirkova updated OFBIZ-1620:
-------------------------------------

    Comment: was deleted

> Intorduction of ScheduledTransportation and ScheduledTransportationOffering entities(related to OFBiz-1590)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1620
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1620
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Valentina Sirkova
>             Fix For: SVN trunk
>
>         Attachments: scheduledTransp_scheduledTranspOffng.patch
>
>
> As suggested by David here  (in point 2)  http://www.nabble.com/Re%3A-new-accomodation-map-entities-Jira-OFBIZ-1590-%28was-on-the-user-mailing-list%29-to15128518.html
> I created initial patch of the entities: ScheduledTransportation and ScheduledTransportationOffering. Both of them are modeled based on the book  "The data model resource book 2"
> ScheduledTransportation:
> Description:
> This entity keeps information for the travel provider who offers the scheduled transportation(via partyId and roleType fields), the arrival and departure dates and times, the specific vehicle (fixed asset) involved in the particular scheduled transportation.
> Fk-s and Pk-s and relationships:
> I have modeled the pk-s and fk-s based on the book. The difference is that there are 4 fields for arrival and departure in the book: departure/date and time and arrival/date and time which i have shrinked to 2 fields only(as I think they are enough)but If you disapprove then I can make them 4 again.
> ScheduledTransportationOffering:
> Description:
> This entity is related to ScheduledTransportation and encompasses the different offering available for a particular transportation. The offerings vary based on what is available to be offered from certain class of a vehicle on a scheduled transportation. One transportation might have a few  offerings as the number of spaces offered on it might not be the same  as the number of spaces within the vehicle`s accommodation map.
> Fk-s and Pk-s and relationships:
> Everything is based on the book.
> Example of these two entities usage: A scheduled transportation might be a flight#123, the product of which is the plane going from one point to another. This plane might have two classes coach and first, which have 200 and 50 places respectively(This info for the nr of spaces for each class is kept in AccommodationMap entity). However on the specific date of the flight the enterprice might have overbooked some seats and as a result the number of spaces of these two classes might have decreased or increased. Because of that the number of spaces for this scheduled transportation would differ from the number of spaces in the AccommodationMap. This new updated information is stored in ScheduledTransportationOffering entity.
> Note: I have NOT extended the Product entity in this patch as I am not sure which is the best way. To use the entities proposed in this issue, we need to extend the Product entity with two more fields: facilityFrom and facilityTo. These fields define the origin and destination of our travel product. If the community approves of these two fields which relate the product to Facility I could add them to the patch. Ofcourse other suggestions are welcome.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.