Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
namespace Microsoft.DataMigration.GP;

pageextension 41104 "GP Company Mig. Settings Ext" extends "GP Company Migration Settings"
{
layout
{
addlast(General)
{
field("Migrate Vendor 1099"; Rec."Migrate Vendor 1099")
{
Caption = 'Migrate Vendor 1099';
ToolTip = 'Specify whether to Migrate Vendor 1099 data.';
ApplicationArea = All;
}

field("1099 Tax Year"; Rec."1099 Tax Year")
{
Caption = '1099 Tax Year';
ToolTip = 'Specify the 1099 tax year to migrate.';
ApplicationArea = All;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ codeunit 4018 "GP Customer Migrator"

Sender.CreateGeneralJournalLine(
CopyStr(CustomerBatchNameTxt, 1, 7),
CopyStr(MigrationGPCustTrans.GLDocNo, 1, 20),
CopyStr(MigrationGPCustTrans.DOCNUMBR, 1, 20),
CopyStr(MigrationGPCustomer.CUSTNAME, 1, 50),
MigrationGPCustTrans.DOCDATE,
0D,
Expand All @@ -126,7 +126,6 @@ codeunit 4018 "GP Customer Migrator"
Sender.CreatePaymentTermsIfNeeded(Copystr(MigrationGPCustTrans.PYMTRMID, 1, 10), MigrationGPCustTrans.PYMTRMID, PaymentTermsFormula);
end;
Sender.SetGeneralJournalLinePaymentTerms(CopyStr(MigrationGPCustTrans.PYMTRMID, 1, 10));
Sender.SetGeneralJournalLineExternalDocumentNo(CopyStr(MigrationGPCustTrans.DOCNUMBR.Trim(), 1, 35));
until MigrationGPCustTrans.Next() = 0;

MigrationGPCustTrans.Reset();
Expand All @@ -138,7 +137,7 @@ codeunit 4018 "GP Customer Migrator"

Sender.CreateGeneralJournalLine(
CopyStr(CustomerBatchNameTxt, 1, 7),
CopyStr(MigrationGPCustTrans.GLDocNo, 1, 20),
CopyStr(MigrationGPCustTrans.DOCNUMBR, 1, 20),
CopyStr(MigrationGPCustomer.CUSTNAME, 1, 50),
MigrationGPCustTrans.DOCDATE,
MigrationGPCustTrans.DOCDATE,
Expand All @@ -155,7 +154,6 @@ codeunit 4018 "GP Customer Migrator"
Sender.CreatePaymentTermsIfNeeded(Copystr(MigrationGPCustTrans.PYMTRMID, 1, 10), MigrationGPCustTrans.PYMTRMID, PaymentTermsFormula);
end;
Sender.SetGeneralJournalLinePaymentTerms(CopyStr(MigrationGPCustTrans.PYMTRMID, 1, 10));
Sender.SetGeneralJournalLineExternalDocumentNo(CopyStr(MigrationGPCustTrans.DOCNUMBR.Trim(), 1, 35));
until MigrationGPCustTrans.Next() = 0;

MigrationGPCustTrans.Reset();
Expand All @@ -167,7 +165,7 @@ codeunit 4018 "GP Customer Migrator"

Sender.CreateGeneralJournalLine(
CopyStr(CustomerBatchNameTxt, 1, 7),
CopyStr(MigrationGPCustTrans.GLDocNo, 1, 20),
CopyStr(MigrationGPCustTrans.DOCNUMBR, 1, 20),
CopyStr(MigrationGPCustomer.CUSTNAME, 1, 50),
MigrationGPCustTrans.DOCDATE,
0D,
Expand All @@ -186,7 +184,6 @@ codeunit 4018 "GP Customer Migrator"
Sender.CreatePaymentTermsIfNeeded(Copystr(MigrationGPCustTrans.PYMTRMID, 1, 10), MigrationGPCustTrans.PYMTRMID, PaymentTermsFormula);
end;
Sender.SetGeneralJournalLinePaymentTerms(CopyStr(MigrationGPCustTrans.PYMTRMID, 1, 10));
Sender.SetGeneralJournalLineExternalDocumentNo(CopyStr(MigrationGPCustTrans.DOCNUMBR.Trim(), 1, 35));
until MigrationGPCustTrans.Next() = 0;
end;
#pragma warning restore AA0207
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ codeunit 40125 "GP Populate Combined Tables"
GPVendorTransactions.VENDORID := GPPM20000.VENDORID.Trim();
GPVendorTransactions.DOCNUMBR := GPPM20000.DOCNUMBR.Trim();
GPVendorTransactions.PYMTRMID := GPPM20000.PYMTRMID.Trim();
GPVendorTransactions.VCHRNMBR := GPPM20000.VCHRNMBR.Trim();
#pragma warning restore AA0139

GPVendorTransactions.DOCDATE := GPPM20000.DOCDATE;
Expand Down
56 changes: 56 additions & 0 deletions Apps/W1/HybridGP/app/src/Migration/Items/GPIV40400.Table.al
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,62 @@ table 40117 "GP IV40400"
{
DataClassification = CustomerContent;
}
field(28; IVIVOFIX; Integer)
{
DataClassification = CustomerContent;
}
field(29; IVCOGSIX; Integer)
{
DataClassification = CustomerContent;
}
field(30; IVSLSIDX; Integer)
{
DataClassification = CustomerContent;
}
field(31; IVSLDSIX; Integer)
{
DataClassification = CustomerContent;
}
field(32; IVSLRNIX; Integer)
{
DataClassification = CustomerContent;
}
field(33; IVINUSIX; Integer)
{
DataClassification = CustomerContent;
}
field(34; IVINSVIX; Integer)
{
DataClassification = CustomerContent;
}
field(35; IVDMGIDX; Integer)
{
DataClassification = CustomerContent;
}
field(36; IVVARIDX; Integer)
{
DataClassification = CustomerContent;
}
field(37; DPSHPIDX; Integer)
{
DataClassification = CustomerContent;
}
field(38; PURPVIDX; Integer)
{
DataClassification = CustomerContent;
}
field(39; UPPVIDX; Integer)
{
DataClassification = CustomerContent;
}
field(40; IVRETIDX; Integer)
{
DataClassification = CustomerContent;
}
field(41; ASMVRIDX; Integer)
{
DataClassification = CustomerContent;
}
}
keys
{
Expand Down
Loading
Loading