Item Ledger Entry.. Need a help!

BeckaBecka Member Posts: 178
Hi to all! I have a problem with that table.. So, I need to COPY selected Lines and make operations then.. But for example when i use to copy records FIELD - Cost Amount (Actual) is zero.. I know it's linked to the Value Entry table.. But when i'm trying to calculate it with functions(CALCSUMS/CALCFIELDS) it fails.. What to do? I've no ideas so help me plz.. thanks a lot
MCSD
Attain Navision

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    You are trying to use CALCSUMS or CALCFIELDS ?

    CALCSUMS will fail if you don't select proper key before calling CALCSUMS, or if you put any filter on a field which is not included in selected key.

    Both CALCSUM and CALCFIELDS will fail if you try to use * or ? characters in your filter.

    Regards,
    Slawek
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • BeckaBecka Member Posts: 178
    I have Document No. Document Type... and it doesn't work :(
    MCSD
    Attain Navision
  • philippegirodphilippegirod Member Posts: 191
    In Item Ledger Entry you may have many lines with the same Document No. and Document Type. The best would be to use the primary key (Entry No.) or, at least, something allowing to be sure you have only one line (for instance, if FINDFIRST THEN etc..).
    My candle burns by both ends, it will not last the night,
    But oh my foes and oh my friends, it gives a lovely light
  • BeckaBecka Member Posts: 178
    Thanks fo help... Done with that :)
    MCSD
    Attain Navision
Sign In or Register to comment.