Using CHANGECOMPANY to display list of Customer

idiotidiot Member Posts: 651
As per subject...
Can the list of Customers from another company in the same database be displayed in the current company (using existing Customer List form) though CHANGECOMPANY without the need to insert into temptable or table?


Or maybe I'm missing some step somewhere but I'm only getting the current company's Customer list...

Thanks for helping
NAV - Norton Anti Virus

ERP Consultant (not just Navision) & Navision challenger

Comments

  • ara3nara3n Member Posts: 9,256
    This works fine.


    Customer.changecompany('CRONUS Canada, Inc.');
    Form.runmodal(Form::"Customer List",Customer);
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • idiotidiot Member Posts: 651
    Sorry I didn't explain clearly
    I need to create a lookup to another company & retrieve certain information from the selected customer...
    NAV - Norton Anti Virus

    ERP Consultant (not just Navision) & Navision challenger
Sign In or Register to comment.