Calculate flow field

vyanku
vyanku Member Posts: 791
hi,
any body tell me how to calculate the two flow fields?

Comments

  • kine
    kine Member Posts: 12,562
    RecVar.CALCFIELDS(Field1,Field2);
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • kriki
    kriki Member, Moderator Posts: 9,129
    To calculate flowfield in a program:
    recTableName.CALCFIELDS("FlowField 1","FlowField 2");
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • vyanku
    vyanku Member Posts: 791
    it shows me message
    u should define,activate and selsct a key that contains the key fields that appear below and the debit amount field shold be associated with it as a sumindexfield.
    table:vendor ledger Entry
    key field : Entry No.

    What it mean?
    If I ceate debitamount as sum index field it shows me error flow field should not be sumindexfield.
  • Kowa
    Kowa Member Posts: 927
    You need the Detailed Vendor Ledger entries ( Table 380) instead of the Vendor Ledger entries in the Calcformula. Check the Calcformula for the field "Debit amount" in the vendor table.
    Kai Kowalewski