Options

Cues limited to Integer and Count?

PevansPevans Member Posts: 18
edited 2011-12-23 in NAV Three Tier
Hiya.

So I notice all the flowfields in the different Cue tables are all of type Integer, and they all use Count (No Sums).

I also notice that my new flowfield of type Decimal with Sum always shows as 0 in the RTC, even though it has a different value in the table.

Are cues limited to Integers and Count?

Any workarounds?

(I haven't found documentation for Cues anywhere, so if there is a Cue Intro for dummies somewhere that I have missed, I apologize!)

Answers

  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    A cue can be designed as a returnvalue of a function.

    If you do not care to much about rounding issues you can create a sum on a decimal and convert it to an integer for the cue.
  • Options
    petevanspetevans Member Posts: 78
    SOLVED!

    /Brummelhug!

    :D
    NAVN00b
  • Options
    GoyoGoyo Member Posts: 36
    First of all, thank you for your post.

    Just one thing about it. You have to be careful about the integer you return with your function. If it is negative, the RTC just shows an error and is closed.
Sign In or Register to comment.