Options

Codeunit 80: Shipment Posting and GLEntry ???

humdidumphumdidump Member Posts: 17
Hi guys,

At the beginning in Codeunit 80 there is a locking of the GLEntry Table.

IF RECORDLEVELLOCKING THEN BEGIN
DocDim.LOCKTABLE;
SalesLine.LOCKTABLE;
ItemChargeAssgntSales.LOCKTABLE;
PurchOrderLine.LOCKTABLE;
PurchOrderHeader.LOCKTABLE;
GLEntry.LOCKTABLE;
lrSalesStatusChangeLog.LOCKTABLE;
IF GLEntry.FINDLAST THEN;
END;


This locking will always be done, no matter if there is a shipment or an invoice posting. I think that we need this locking only on invoice postings. Because only then GLEntries will be created. On Shipment postings (i have checked it with the client monitor) this table will not be touched!

Can anyone confirm this to me ?

Thanks from Germany, Florian

Comments

  • Options
    krikikriki Member, Moderator Posts: 9,098
    If you want automatic cost postings (F461:Inventory setup) of expected costs, there can be GL-postings on shipping. At least I think so.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    David_SingletonDavid_Singleton Member Posts: 5,479
    humdidump wrote:
    On Shipment postings (i have checked it with the client monitor) this table will not be touched!

    Check it again, because you are wrong. :mrgreen:
    David Singleton
  • Options
    genericgeneric Member Posts: 511
    humdidump wrote:
    On Shipment postings (i have checked it with the client monitor) this table will not be touched!

    Check it again, because you are wrong. :mrgreen:

    I don't know why the above post was made, and it looks very rude and useless.
    kriki post was sufficient in answering the issue.
  • Options
    Alex_ChowAlex_Chow Member Posts: 5,063
    kriki wrote:
    If you want automatic cost postings (F461:Inventory setup) of expected costs, there can be GL-postings on shipping. At least I think so.

    Yes, you're correct. If you enabled the Expected Cost Posting on the Inventory setup, NAV will use the Inventory Interm account for expected cost.
Sign In or Register to comment.