Calendars and Fixed Asset Usage
------------------------------- Key: OFBIZ-1149 URL: https://issues.apache.org/jira/browse/OFBIZ-1149 Project: OFBiz Issue Type: Bug Affects Versions: SVN trunk Reporter: Hans Bakker (copied from E-Mail mailing list) I am exploring the functionality that associates fixed assets with rental products. It appears as though an order entered for a rental product allows reservations (techDataCalendarExcDay) to be updated. This would cause a subsequent order for the same product with the same date range to update the records. Theoretically this is OK, because the calendar simply indicates whether or not the asset is available. Although I noticed that if the second order was for fewer days, the additional days were deleted for the previous order. This means the calendar now showed dates as available, even though an order had been placed for those dates. So maybe the Calendar isn't my problem, but the fact that the order process allowed it to be "double booked." Is there a way OOTB to lock a date range on an asset once an order is placed? Or would this be a customization to order entry to check availability before allowing an order to be placed? I would also like the ability to delete the records from the asset calendar if the reservation (order) were canceled. Scenario (short version): Set up all the necessary entities, including fixed asset, product, price. Set product type to fixed asset usage. Linked product to fixed asset. Added product to a category in a catalog visible via ecommerce. So far so good. I can make a reservation thru the web store. However, if I place another order for the product and specify the same date range the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512864 ] Hans Bakker commented on OFBIZ-1149: ------------------------------------ This bug report originally from Vince Clark <[hidden email]> (try to edit content...but it does not work) > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512945 ] Vince Clark commented on OFBIZ-1149: ------------------------------------ Hans, thanks for logging this as a bug. The fix should also take into consideration the qty of the asset available. For example, a hotel could have more than one deluxe room. So a search for availability should show a room as available until all rooms of that type are booked. > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514982 ] Bilgin Ibryam commented on OFBIZ-1149: -------------------------------------- Hi guys, I did a reservation of RoomLux from ecommerce for 5 days. Then i did another reservation for 1 day, another for 2 days and so on. In the fixed asset calendar associated with the product, I can see the Available and Allocated status of the room and it looks right to me. All the order dates are shown in the calendar and the TechDataCalendarExcDay entity through usedCapacity field keeps the information for all these reservations. Can someone tell me how can i reproduce this bug? > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519447 ] Bilgin Ibryam commented on OFBIZ-1149: -------------------------------------- Vince, are you setting Production Capacity of the fixed assed ? If you set it to 1, then you can do only one booking. > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520550 ] Bilgin Ibryam commented on OFBIZ-1149: -------------------------------------- ok, i found the bug and did a patch for it. I am not sure that this is the right way to do it, but instead of using the big "toBeStored" list, i used another temporary list to iterate (many times in some cases), and then to add it to the "toBeStored" list. It looks the bug is fixed, could someone confirm this please? Bilgin > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam updated OFBIZ-1149: --------------------------------- Attachment: calendar.patch patch > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam reassigned OFBIZ-1149: ------------------------------------ Assignee: Bilgin Ibryam > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Bilgin Ibryam > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marco Risaliti updated OFBIZ-1149: ---------------------------------- Component/s: order Fix Version/s: SVN trunk > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Bilgin Ibryam > Fix For: SVN trunk > > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571935#action_12571935 ] Jacques Le Roux commented on OFBIZ-1149: ---------------------------------------- Should we not commit this patch (still mergeable, just tested) ? > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Bilgin Ibryam > Fix For: SVN trunk > > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571955#action_12571955 ] Bilgin Ibryam commented on OFBIZ-1149: -------------------------------------- I will commit it tomorrow Jacques. Thanks for the reminder :) > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Bilgin Ibryam > Fix For: SVN trunk > > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam closed OFBIZ-1149. -------------------------------- Resolution: Fixed Fix Version/s: Release Branch 4.0 Committed in trunk rev. 630958 and 4.0 rev. 630962 > Calendars and Fixed Asset Usage > ------------------------------- > > Key: OFBIZ-1149 > URL: https://issues.apache.org/jira/browse/OFBIZ-1149 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Hans Bakker > Assignee: Bilgin Ibryam > Fix For: SVN trunk, Release Branch 4.0 > > Attachments: calendar.patch > > > (copied from E-Mail mailing list) > I am exploring the functionality that associates fixed assets with > rental products. It appears as though an order entered for a rental > product allows reservations (techDataCalendarExcDay) to be updated. This > would cause a subsequent order for the same product with the same date > range to update the records. > Theoretically this is OK, because the calendar simply indicates whether > or not the asset is available. Although I noticed that if the second > order was for fewer days, the additional days were deleted for the > previous order. This means the calendar now showed dates as available, > even though an order had been placed for those dates. > So maybe the Calendar isn't my problem, but the fact that the order > process allowed it to be "double booked." > Is there a way OOTB to lock a date range on an asset once an order is > placed? Or would this be a customization to order entry to check > availability before allowing an order to be placed? I would also like > the ability to delete the records from the asset calendar if the > reservation (order) were canceled. > Scenario (short version): > Set up all the necessary entities, including fixed asset, product, price. > Set product type to fixed asset usage. > Linked product to fixed asset. > Added product to a category in a catalog visible via ecommerce. > So far so good. I can make a reservation thru the web store. However, if > I place another order for the product and specify the same date range > the order will complete. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |