Open Forum

Expand all | Collapse all

Add and edit Contacts without Customer access

Jump to Best Answer
  • 1.  Add and edit Contacts without Customer access

    TOP CONTRIBUTOR
    Posted 13 days ago
    ​Hi,
    I wanted to give access to salespeople to add and edit customer contacts but when I added access to the Contact table, it then complained about needed edit access to the Customer table.
    Is there a way to give Contact access without giving access to the whole Customer card?
    This is on NAV2018.

    ------------------------------
    Samuel Champoux
    IT Director
    Drummondville QC Canada
    ------------------------------


  • 2.  RE: Add and edit Contacts without Customer access
    Best Answer

    TOP CONTRIBUTOR
    Posted 10 days ago
    ​In the Contact's "ProcessNameChange" function, it checks for the Primary contact and wants to update the name on the customer.
    When the contact is new and no primary is defined on the contact, both numbers are empty.
    I added ("No." <> '') to fix the problem.

    IF ("No." <> '') AND (Cust."Primary Contact No." = "No.") THEN BEGIN // Don't check when contact is new
    Cust.Contact := Name;
    Cust.MODIFY;
    END;

    ------------------------------
    Samuel Champoux
    IT Director
    Drummondville QC Canada
    ------------------------------