Add new account types

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hommelsheim
    Junior Member
    • Aug 2016
    • 10

    Add new account types

    My challenge is to add new types for an account.

    In this file i've added the types "Supplier" and "Provider".
    Path: /Modules/Crm/Resources/metadata/entityDefs/Account.json
    PHP Code:
    {
      "fields": {
        ...
        "type": {
          "type": "enum",
          "options": ["", "Customer", "Investor", "Partner", "Reseller", "Supplier", "Provider"],
          "default": ""
        },
        ...
    } 
    
    In this file i've added the types "Supplier" and "Provider" too.
    Path: /Modules/Crm/Resources/i18n/de_DE/Account.json
    PHP Code:
    {
      ...
      "options": {
        "type": {
          "Customer": "Kunde",
          "Investor": "Investor",
          "Partner": "Partner",
          "Reseller": "Wiederverkäufer",
          "Supplier": "Lieferant",
          "Provider": "Dienstleister"
        },
        ...
    } 
    
    My problem is that i can see "Supplier" and "Provider" in the drop down menu because it is not in german.
    How can i resolve the problem?
    Last edited by hommelsheim; 08-25-2016, 08:17 AM.
  • iscon
    Active Community Member
    • May 2014
    • 187

    #2
    Why don't you do that via the Admin section? Go to "Entitäts-/Modulmanager" >> Firma >> Felder >> Typ and add/edit there?
    ------------------
    Robert Laussegger
    iscon group
    http://www.iscongroup.net
    mailto://info@iscongroup.net

    Comment

    • hommelsheim
      Junior Member
      • Aug 2016
      • 10

      #3
      Wow thats so easy :-)
      Thanks for your help.
      I will it do so.

      Comment

      Working...