Change company on a Record Reference

MonstaMonsta Member Posts: 38
Does anyone know how to change company on a record reference? :^o

Comments

  • Timo_LässerTimo_Lässer Member Posts: 481
    See the online help:
    RecordRef.OPEN(No[, Temp][, CompanyName])

    If you use RecordRef.GETTABLE(rec) it will use the company of the rec which could be changed with rec.CHANGECOMPANY(NewCompanyName);
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • MonstaMonsta Member Posts: 38
    Thanks alot :oops:
    Everything perfect is always simple!
  • GoMaDGoMaD Member Posts: 313
    How do you do this in 3.60?

    You don't have the "[, CompanyName]" in 3.60.

    Do you do this by doing a changecompany on a recordvariable and
    using the settable propertie of the recordref?
    recordref.SETTABLE(rec)
    
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
Sign In or Register to comment.