So I tried and my doubt were correct. All table exception we manged by the migration as soon as i put the ID of the extension in the migration.json. But the primary key issue are still here.
All these tables are new and do not have data inside. I checked the generated Al files, there are no errors or warnings.
This a migration from NAV 2013R2 initially. I followed this path :
NAV2013R2 --> NAV 2018 -->BC14 CU18 --> BC17.2 and then BC Online hosted by MS.
I'm a bit out of options here. Deleting the table at source --> Error on compilation to other objects.
Any suggestions will be welcome.
Merry Christmas :-)
ERROR on runnign command : Sync-NAVApp -ServerInstance bc170 -Name "bc14baseapptablesonly" -Version 1.0.0.1
-------
Table VAT Reg. No. Srv. Template :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table VAT Reg. No. Srv. Template :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table VAT Registration Log Details :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table VAT Registration Log Details :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Buffer :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Buffer :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Billing Detail :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Billing Detail :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Billing Info :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Billing Info :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Layout :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Layout :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Reports :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Reports :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
Table Swiss QRBill Setup :: The previous primary key 'Key1' cannot be located. Changing the primary key is not allowed.
Table Swiss QRBill Setup :: Introducing a new key 'PK' as the primary key is not allowed. Please make the key 'Key1' the primary key again.
----------
Schema --> NAV 2018 & BC 14
Swiss QRBill Setup keys ----> {key(Key1; "Primary key"){Clustered = true;}}
Swiss QRBill Reports keys ----> {key(Key1; "Report Type"){Clustered = true;}}
Swiss QRBill Layout ----> keys{key(Key1; "Code"){Clustered = true;}}
Swiss QRBill Billing Info ----> keys {key(Key1; "Code"){Clustered = true;}}
Swiss QRBill Billing Detail keys ----> { key(Key1; "Entry No.") {Clustered = true; }}
Swiss QRBill Buffer ----> keys{key(Key1; "Entry No."){Clustered = true;}}
VAT Registration Log Details ----> keys{key(Key1; "Entry No."){Clustered = true;}}
VAT Reg. No. Srv. Template --> keys { key(Key1; "Code") { Clustered = true; } }
Schema 17.2
Swiss QRBill Setup ----> {key(PK; "Primary key"){Clustered = true;}} --> Table 'Swiss QRBill Setup' is removed. Reason: moved to Swiss QR-Bill extension table 11512 Swiss QR-Bill Setup.
Swiss QRBill Reports ----> {key(PK; "Report Type"){Clustered = true;}} --> Table 'Swiss QRBill Reports' is removed. Reason: moved to Swiss QR-Bill extension table 11514 Swiss QR-Bill Reports.
Swiss QRBill Layout ----> keys{key(PK; "Code"){Clustered = true;}} --> Table 'Swiss QRBill Layout' is removed. Reason: moved to Swiss QR-Bill extension table 11513 Swiss QR-Bill Layout.
Swiss QRBill Billing Info ----> keys {key(PK; "Code"){Clustered = true;}} --> Table 'Swiss QRBill Billing Info' is removed. Reason: moved to Swiss QR-Bill extension table 11511 Swiss QR-Bill Billing Info.
Swiss QRBill Billing Detail keys ----> { key(Key1; "Entry No.") {Clustered = true; }} --> Table 'Swiss QRBill Buffer' is removed. Reason: moved to Swiss QR-Bill extension table 11510 Swiss QR-Bill Buffer.
Swiss QRBill Buffer ----> keys{key(PK; "Entry No."){Clustered = true;}}
VAT Registration Log Details ----> keys {key(PK; "Log Entry No.", "Field Name"){Clustered = true;}}
VAT Reg. No. Srv. Template --> keys {key(PK; Code) { Clustered = true;}}