0

Create Record Button

let LNK := Id;
let NW := (create 'AUD TRAIL BETA');
NW.(Review := LNK);
popupRecord(record('AUD TRAIL BETA',number(NW.Id)))

 

For that record creation, I am trying to also set a field named Type to =1

 

I have tried:

let LNK := Id;
let NW := (create 'AUD TRAIL BETA');
NW.(Review := LNK);
popupRecord(record('AUD TRAIL BETA',number(NW.Id)))+'AUD TRAIL BETA'.Type:=1

However, that modifies ALL previously linked records. How do I make it to just modify the one created?

2 replies

null
    • SMoore
    • 6 yrs ago
    • Reported - view

    bump

    • Birger_H
    • 6 yrs ago
    • Reported - view

    it should be:

    –––
    let LNK := Id;
    let NW := (create 'AUD TRAIL BETA');
    NW.(Review := LNK);
    NW.Type:=1
    popupRecord(record('AUD TRAIL BETA',number(NW.Id)))
    –––

    Birger

Content aside

  • 6 yrs agoLast active
  • 2Replies
  • 3139Views