hi,
i have the fix, all works fine.
Change Log 6. september 2016
Old version BEFORE
New version AFTER
--------------------------------------------------------------------------------
+------------------------------------------------------------------------------+
| OBJECT Codeunit 12 Gen. Jnl.-Post Line |
+------------------------------------------------------------------------------+
---------- Before (BEFORE) ---------- Codeunit 12 ---------- Function InsertGLBookEntry
GLBookEntry.SETRANGE("Transaction No.",NewGLEntry."Transaction No.");
GLBookEntry.SETRANGE("G/L Account No.",NewGLEntry."G/L Account No.");
GLBookEntry.SETRANGE("Document No.",NewGLEntry."Document No.");
GLBookEntry.SETRANGE(Positive,NewGLEntry.Positive);
GLBookEntry.SETRANGE("Source Type",NewGLEntry."Source Type");
GLBookEntry.SETRANGE("Source No.",NewGLEntry."Source No.");
---------- After (AFTER) ------------------------------------------------------
GLBookEntry.SETRANGE("Transaction No.",NewGLEntry."Transaction No.");
GLBookEntry.SETRANGE("G/L Account No.",NewGLEntry."G/L Account No.");
GLBookEntry.SETRANGE("Document No.",NewGLEntry."Document No.");
+ GLBookEntry.SETRANGE("Posting Date",NewGLEntry."Posting Date");
GLBookEntry.SETRANGE(Positive,NewGLEntry.Positive);
GLBookEntry.SETRANGE("Source Type",NewGLEntry."Source Type");
GLBookEntry.SETRANGE("Source No.",NewGLEntry."Source No.");
--------------------------------------------------------------------------------
+------------------------------------------------------------------------------+
| OBJECT Table 12144 GL Book Entry |
+------------------------------------------------------------------------------+
---------- Before (BEFORE) ---------- Table 12144 ---------- Fields ------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
- Source No.=FIELD(Source No.)));
CaptionML=ENU=Amount;
Editable=No;
AutoFormatType=1 }
---------- After (AFTER) ------------------------------------------------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
+ Source No.=FIELD(Source No.),
+ Posting Date=FIELD(Posting Date)));
CaptionML=ENU=Amount;
Editable=No;
AutoFormatType=1 }
--------------------------------------------------------------------------------
---------- Before (BEFORE) ---------- Table 12144 ---------- Fields ------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
- Source No.=FIELD(Source No.)));
CaptionML=ENU=Debit Amount;
BlankZero=Yes;
Editable=No;
---------- After (AFTER) ------------------------------------------------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
+ Source No.=FIELD(Source No.),
+ Posting Date=FIELD(Posting Date)));
CaptionML=ENU=Debit Amount;
BlankZero=Yes;
Editable=No;
--------------------------------------------------------------------------------
---------- Before (BEFORE) ---------- Table 12144 ---------- Fields ------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
- Source No.=FIELD(Source No.)));
CaptionML=ENU=Credit Amount;
BlankZero=Yes;
Editable=No;
---------- After (AFTER) ------------------------------------------------------
Document No.=FIELD(Document No.),
Positive=FIELD(Positive),
Source Type=FIELD(Source Type),
+ Source No.=FIELD(Source No.),
+ Posting Date=FIELD(Posting Date)));
CaptionML=ENU=Credit Amount;
BlankZero=Yes;
Editable=No;
--------------------------------------------------------------------------------
best regards.