This article applies to Microsoft Dynamics NAV for the following countries and language locales.
- English - Australia (en-us)
- English - New Zealand (en-nz)
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;
IF PurchHeader."Currency Code" = '' THEN
GenJnlLine."Currency Factor" := 1
ELSE
GenJnlLine."Currency Factor" := PurchHeader."Currency Factor";
// Delete the following lines.
GenJnlLine.VALIDATE("Applies-to Doc. Type", GenJnlLineDocType);
GenJnlLine.VALIDATE("Applies-to Doc. No.", GenJnlLineDocNo);
// End of the lines.
GenJnlLine."Source Type" := GenJnlLine."Source Type"::Vendor;
GenJnlLine."Source No." := "Pay-to Vendor No.";
GenJnlLine."Source Code" := SrcCode;
GenJnlLine."Posting No. Series" := "Posting No. Series";
GenJnlLine."IC Partner Code" := "Pay-to IC Partner Code";
...
...
END;
IF PurchHeader."Currency Code" = '' THEN
GenJnlLine."Currency Factor" := 1
ELSE
GenJnlLine."Currency Factor" := PurchHeader."Currency Factor";
// Add the following lines.
GenJnlLine."Applies-to Doc. Type" := GenJnlLineDocType;
GenJnlLine."Applies-to Doc. No." := GenJnlLineDocNo;
// End of the lines.
GenJnlLine."Source Type" := GenJnlLine."Source Type"::Vendor;
GenJnlLine."Source No." := "Pay-to Vendor No.";
GenJnlLine."Source Code" := SrcCode;
GenJnlLine."Posting No. Series" := "Posting No. Series";
GenJnlLine."IC Partner Code" := "Pay-to IC Partner Code";
...
Keywords: kbqfe, kbmbsquickpub, kbmbspartner, kbmbsmigrate, kbsurveynew, kbnoloc, kbmbscodefix, kb