[jira] Created: (OFBIZ-3913) Automated action triggered by event

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

[jira] Created: (OFBIZ-3913) Automated action triggered by event

Nicolas Malin (Jira)
Automated action triggered by event
-----------------------------------

                 Key: OFBIZ-3913
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Nicolas Malin


Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3913:
---------------------------------

    Attachment: ExternalDevice.png
                ExternalDevice.patch

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

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

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

BJ Freeman commented on OFBIZ-3913:
-----------------------------------

some thoughts.
there will be times that the admin will want to fix which printers a party (login) uses. so a screen to allow that. maybe linking to the loggin's PartPreference would possibly be a better way.


the ExternalDevice should be updated before accessing the ExternalDeviceUserAction, since network failures can cause printer to be offline.

is the ExternalDevice type to define like a HPlaser, if so then need a externalDevicejobtype for like Invoices, PO. and this needs to be one to many incase they use one printer for many tasks. t

also need the info about how many pages are printed so a restart will pick up on the last page and continue.

leave a hook for automatically switching printers if two of the same type Job type are defined, and the first goes offline.

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

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

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

Nicolas Malin updated OFBIZ-3913:
---------------------------------

    Issue Type: New Feature  (was: Bug)

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

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

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

Nicolas Malin commented on OFBIZ-3913:
--------------------------------------

It's possible to add edit screen, but at this time I work more on the engine ;) .

The idea to use PartyPreference, what preference ? WebUserPreference, PartyAcctgPreference. My first analyse is associate a user to a device by administrator. In second way, I improve the model with Bruno suggest that a user can by set his default choice.

For ExternalDeviceJobType I understand the idea but as ProductPrice entity, Is better to use a ExternalDevicePurpose ?

Nicolas

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

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

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

Nicolas Malin updated OFBIZ-3913:
---------------------------------

    Attachment: ExternalDevice.patch

Hi,

I new patch version.

I add :
  * an entity ExternalDevicePruposeAction to manage the call environment (invoice, order, shipment, etc ...)
  * screens in webtools to :
      * create/list/update/remove ExternalDevice
      * create/list/update/remove ExternalDeviceUserAction
      * check value on service findExternalDevice
  * seed Data Type and little demo data (not loaded)
  * a new service sendPrinterFromScreenByUserAction that call findExternalDevice to find printerName and call sendPrinterFromScreen

I create an addon to manage jira evolution (I need it for production site ;) )

Nicolas


> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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] Issue Comment Edited: (OFBIZ-3913) Automated action triggered by event

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

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

Nicolas Malin edited comment on OFBIZ-3913 at 9/9/10 1:52 PM:
--------------------------------------------------------------

Hi,

I new patch version.

I add :
  * an entity ExternalDevicePruposeAction to manage the call environment (invoice, order, shipment, etc ...)
  * screens in webtools to :
  *    * create/list/update/remove ExternalDevice
  *    * create/list/update/remove ExternalDeviceUserAction
  *    * check value on service findExternalDevice
  * seed Data Type and little demo data (not loaded)
  * a new service sendPrinterFromScreenByUserAction that call findExternalDevice to find printerName and call sendPrinterFromScreen

I create an addon to manage jira evolution (I need it for production site ;) )

Nicolas


      was (Author: soledad):
    Hi,

I new patch version.

I add :
  * an entity ExternalDevicePruposeAction to manage the call environment (invoice, order, shipment, etc ...)
  * screens in webtools to :
      * create/list/update/remove ExternalDevice
      * create/list/update/remove ExternalDeviceUserAction
      * check value on service findExternalDevice
  * seed Data Type and little demo data (not loaded)
  * a new service sendPrinterFromScreenByUserAction that call findExternalDevice to find printerName and call sendPrinterFromScreen

I create an addon to manage jira evolution (I need it for production site ;) )

Nicolas

 

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
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-3913) Automated action triggered by event

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

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

Nicolas Malin updated OFBIZ-3913:
---------------------------------

    Attachment: ExternalDevice.patch

Hi,

I resynchronised addon with Jira.

The news :
 * Bug correction to find device when only action is present
 * pass enumId to actionEnumId
 * Update administration screen
 * Switch sendPrintFromScreen service to sendPrint and sendPrintFromScreen. This give the possibility to add to service : sendPrintByUserAction and sendPrintFromScreenByUserAction use to call upper service with dynamic pritner selection.
 * Update label content error on sendPrint service
Nicolas

> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>         Attachments: ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.png
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

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