This article applies to Microsoft Dynamics NAV for the following countries and language locales.
- Czech (cz)
- Hungarian (hu)
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
...
END ELSE BEGIN // Reverse
// Delete the following line.
PostGenJnlLine.ReverseCustPostponedVAT(GenJnlLine,CustLedgEntry."Transaction No.",TempJnlLineDim);
// End of the deleted line.
END;
...
...
END ELSE BEGIN // Reverse
// Add the following line.
PostGenJnlLine.ReverseCustPostponedVAT(GenJnlLine,CustLedgEntry."Transaction No.");
// End of the added line.
END;
...
...
END ELSE BEGIN
// Delete the following line.
PostGenJnlLine.ReverseCustPostponedVAT(GenJnlLine,CustLedgEntry."Transaction No.",TempJnlLineDim);
// End of the deleted line.
END;
...
...
END ELSE BEGIN
// Add the following line.
PostGenJnlLine.ReverseCustPostponedVAT(GenJnlLine,CustLedgEntry."Transaction No.");
// End of the added line.
END;
...
...
LastConnectionNo@1011 : Integer;
// Delete the following line.
IsGLEntryDim@1220000 : Boolean;
// End of the deleted line.
BEGIN
...
...
LastConnectionNo@1011 : Integer;
BEGIN
...
...
END;
// Delete the following line.
IsGLEntryDim := FillDimFromLinkedGLEntry(TempOverrJnlLineDim,VATEntry2."Entry No.");
// End of the deleted line.
IF VATPart = 1 THEN BEGIN
...
...
END;
// Add the following line.
FillDimFromLinkedGLEntry(TempOverrJnlLineDim,VATEntry2."Entry No.");
// End of the added line.
IF VATPart = 1 THEN BEGIN
...
...
GLSetup."Summarize G/L Entries",GLEntry,TempGLEntryVAT,InsertedTempGLEntryVAT);
// Delete the following lines.
IF IsGLEntryDim THEN
DimMgt.MoveJnlLineDimToLedgEntryDim(
TempOverrJnlLineDim,DATABASE::"G/L Entry",TempGLEntryVAT."Entry No.");
// End of the deleted lines.
InitGLEntry(SalesVATAccount,VATAmount,0,FALSE,TRUE);
...
...
GLSetup."Summarize G/L Entries",GLEntry,TempGLEntryVAT,InsertedTempGLEntryVAT);
// Add the following line.
CopyOverrDimToLedgEntryDim(TempOverrJnlLineDim,TempGLEntryVAT);
// End of the added line.
InitGLEntry(SalesVATAccount,VATAmount,0,FALSE,TRUE);
...
...
GLSetup."Summarize G/L Entries",GLEntry,TempGLEntryVAT,InsertedTempGLEntryVAT);
// Delete the following lines.
IF IsGLEntryDim THEN BEGIN
DimMgt.MoveJnlLineDimToLedgEntryDim(
TempOverrJnlLineDim,DATABASE::"G/L Entry",TempGLEntryVAT."Entry No.");
TempOverrJnlLineDim.RESET;
TempOverrJnlLineDim.DELETEALL;
END;
// End of the deleted lines.
VATEntry.LOCKTABLE;
...
...
GLSetup."Summarize G/L Entries",GLEntry,TempGLEntryVAT,InsertedTempGLEntryVAT);
// Add the following line.
CopyOverrDimToLedgEntryDim(TempOverrJnlLineDim,TempGLEntryVAT);
// End of the added line.
VATEntry.LOCKTABLE;
...
...
END;
// Delete the following line.
PROCEDURE ReverseCustPostponedVAT@1470008(VAR GenJnlLine2@1470000 : Record 81;TransactionNo@1470005 : Integer;VAR TempJnlLineDim2@1470006 : Record 356);
// End of the deleted line.
VAR
...
...
END;
// Add the following line.
PROCEDURE ReverseCustPostponedVAT@1470008(VAR GenJnlLine2@1470000 : Record 81;TransactionNo@1470005 : Integer);
// End of the added line.
VAR
...
...
SourceCodeSetup@1470003 : Record 242;
// Delete the following lines.
BEGIN
GenJnlLine.COPY(GenJnlLine2);
TempJnlLineDim.RESET;
TempJnlLineDim.DELETEALL;
DimMgt.CopyJnlLineDimToJnlLineDim(TempJnlLineDim2,TempJnlLineDim);
// End of the deleted lines.
SourceCodeSetup.GET;
...
...
SourceCodeSetup@1470003 : Record 242;
// Add the following lines.
TempOverrJnlLineDim@1220000 : TEMPORARY Record 356;
BEGIN
GenJnlLine.COPY(GenJnlLine2);
// End of the added lines.
SourceCodeSetup.GET;
...
...
UnrealVATEntry.MODIFY;
InitGLEntry(VATPostingSetup."Sales VAT Account",-VATEntry.Amount,0,FALSE,TRUE);
...
...
UnrealVATEntry.MODIFY;
// Add the following line.
FillDimFromLinkedGLEntry(TempOverrJnlLineDim,UnrealVATEntry."Entry No.");
// End of the added line.
InitGLEntry(VATPostingSetup."Sales VAT Account",-VATEntry.Amount,0,FALSE,TRUE);
...
...
InsertGLEntry(TRUE);
InitGLEntry(VATPostingSetup."Sales VAT Postponed Account",VATEntry.Amount,0,FALSE,TRUE);
...
...
InsertGLEntry(TRUE);
// Add the following line.
CopyOverrDimToLedgEntryDim(TempOverrJnlLineDim,GLEntryTmp);
// End of the added line.
InitGLEntry(VATPostingSetup."Sales VAT Postponed Account",VATEntry.Amount,0,FALSE,TRUE);
...
...
InsertGLEntry(TRUE);
UNTIL VATEntry.NEXT = 0;
...
...
InsertGLEntry(TRUE);
// Add the following line.
CopyOverrDimToLedgEntryDim(TempOverrJnlLineDim,GLEntryTmp);
// End of the added line.
UNTIL VATEntry.NEXT = 0;
...
...
EXIT(TRUE);
END;
END;
LOCAL PROCEDURE CopyGLEntryDimToJnlLineDim@1220006(VAR OverrJnlLineDim@1220002 : Record 356;GLEntryNo@1220000 : Integer);
...
...
EXIT(TRUE);
END;
END;
// Add the following lines.
LOCAL PROCEDURE CopyOverrDimToLedgEntryDim@1220000(VAR OverrJnlLineDim@1220000 : Record 356;VAR GLEntry@1220001 : Record 17);
BEGIN
IF NOT OverrDimFromGLEntry THEN
EXIT;
WITH GLEntry DO BEGIN
"Global Dimension 1 Code" := GetDimValueCode(OverrJnlLineDim,GLSetup."Global Dimension 1 Code");
"Global Dimension 2 Code" := GetDimValueCode(OverrJnlLineDim,GLSetup."Global Dimension 2 Code");
MODIFY;
DimMgt.MoveJnlLineDimToLedgEntryDim(
OverrJnlLineDim,DATABASE::"G/L Entry","Entry No.");
END;
END;
LOCAL PROCEDURE GetDimValueCode@1220037(VAR JnlLineDim@1360000 : Record 356;DimensionCode@1360001 : Code[20]) : Code[20];
BEGIN
WITH JnlLineDim DO
IF GET(DATABASE::"G/L Entry",'','',0,0,DimensionCode) THEN
EXIT("Dimension Value Code");
END;
// End of the added lines.
LOCAL PROCEDURE CopyGLEntryDimToJnlLineDim@1220006(VAR OverrJnlLineDim@1220002 : Record 356;GLEntryNo@1220000 : Integer);
...
Keywords: kbqfe, kbmbspartner, kbmbsmigrate, kbmbsquickpub, kbsurveynew, kbnoloc, kbmbscodefix, kb