Ok implemented and working for me
Thanks Crythias for your patience.
All it was is a mis-interpretation of the Customer Company Link under Admin in the Agent interface. I thought it had some key role in implementing Company Tickets under the customer page and turns out, as far as I understood and tested, it doesnt have any role at all other than providing some extra field which I dont really need. In fact all Customers Companies are now Inactive (under admin, agent interface) and My Company Tickets (on customer side) is working.
Here's what I have implemented
- Altered the database as described in the docs;
- Uncommented line 1271 in the defaults.pm file ([ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var', '', 0 ],)
- Now the CustomedIDs field appear under My Customer Users page
- Therefore:
Customer_A, Customer_B, Customer_C and Customer_LEAD exist in my Customer Users list
I want Customer_LEAD to see all of ticket from Customer_A, Customer_B and Customer_C
I also want Customer_C to see Customer_A, Customer_B and Customer_LEAD since he's the backup supervisor
All is needed is to add:
Under Customer_LEAD CustomerIDs field: Customer_A;Customer_B;Customer_C
Under Customer_C CustomerIDs field: Customer_A;Customer_B;Customer_LEAD
***** ;;semi-colon very important;;
Hopefully that will work for nima0102
Now the only thing I have to fix is to make this work with the [ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var', '', 0 ], in config.pm. All works in defaults.pm but when I try to put it in config.pm for some reason everything crashes.
Again, Thanks Crythias for your patience. I have ask a few questions on this forum and my OTRS implementation is moving forward greatly because of everyone's help ... and yes patience
CORRECTION: I tried putting the entire CustomerUser section from Defaults.pm to Config.pm and OTRS crashed, couldn't even access the login page so I reverted my config.pm file. Then I only added the line to config.pm and OTRS works but the CustomerIDs field won't show. For now I am testing with the edit to defaults.pm file and will figure out what's going on later