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

Jacques Le Roux edited comment on OFBIZ-8014 at 8/13/19 7:55 AM:
-----------------------------------------------------------------

In the latest patch a permission check is introduced for a menu item:
{code:java}
+        <actions>
+            <entity-condition entity-name="PartyRole" list="partyRole">
+                <condition-list combine="and">
+                    <condition-expr field-name="partyId" 
from-field="parameters.partyId"/>
+                    <condition-expr field-name="roleTypeId" value="SUPPLIER"/>
+                </condition-list>
+            </entity-condition>
+        </actions>
{code}
in generic business processes this role type is typically associated with the 
external parties where goods/services are ordered from (and delivered/supplied 
by). This is typically an entity that is registered with the Chamber of 
Commerce and the Tax Authority.

In OFBiz a party with this role type (most often a PartyGroup) ships to any of 
the internal parties and in accounting invoices from this party are registered 
as purchasing invoices and payments are registered as withdrawal payments. So 
such an external party would normally not have access to the internal functions 
of OFBiz. And if the party is indeed a PartyGroup, one could say that such an 
organisation should not have login credentials (only persons should have - if 
need be - login credentials).

With setting the permission to role type = SUPPLIER, it is required that all 
appropriate internal parties working this feature would need to be associated 
with the role, which would then show up in the accounting module (for above 
mentioned invoice and payment functions) as selectable supplier. This should be 
considered a undesirable effect.


was (Author: pfm.smits):
In the latest patch a permission check is introduced for a menu item:
{code:java}
+        <actions>
+            <entity-condition entity-name="PartyRole" list="partyRole">
+                <condition-list combine="and">
+                    <condition-expr field-name="partyId" 
from-field="parameters.partyId"/>
+                    <condition-expr field-name="roleTypeId" value="SUPPLIER"/>
+                </condition-list>
+            </entity-condition>
+        </actions>
{code}
in generic business processes this role type is typically associated with the 
external parties where goods/services are ordered from (and delivered/supplied 
by). This is typically an entity that is registered with the Chamber of 
Commerce and the Tax Authority.

In OFBiz a party with this role type (most often a PartyGroup) ships to any of 
the internal parties and in accounting invoices from this party are registered 
as purchasing invoices and payments are registered as withdrawal payments. So 
such an external party would normally not have access to the internal functions 
of OFBiz. And if the party is indeed a PartyGroup, one could say that such an 
organisation should not have login credentials (only persons should have - if 
need be - login credentials).

With setting the permission to role type = SUPPLIER, it is required that all 
appropriate internal parties working this feature would need to be associated 
with the role, which would then show up in the accounting module (for above 
mentioned invoice and payment functions) as selectable supplier. This should be 
considered a undesirable effect.

 

 

 

 

> Introduce the "Product" Screen under Party app to manage the products 
> supplied by any supplier
> ----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-8014
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8014
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: party
>    Affects Versions: Release Branch 14.12, 16.11.01, Release Branch 15.12
>            Reporter: Swapnil Shah
>            Assignee: Chinmay Patidar
>            Priority: Major
>         Attachments: OFBIZ-8014.patch, SupplierProduct.png
>
>
> Currently, upon logging into the Party application (or login as supplier 
> itself) and go to any specific supplier view then there is no way to manage 
> the list of supplied products. 
> # We can try introducing the "Product" tab/screen along with other tabs. (to 
> begin with we can simply mimic the Supplier screen from Catalog app e.g., 
> https://ofbiz-vm.apache.org:8443/catalog/control/EditProductSuppliers?productId=MAT_A_COST)
>  
> # We can also choose to show the "Products" tab for only Parties in supplier 
> role and later can try to extend for other roles with further needed 
> refinements. 
> Please refer to attached screenshot for the same.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to