AL icon indicating copy to clipboard operation
AL copied to clipboard

Renaming dataitem in XMLPort renames the SourceTable instead of Name

Open BertDeTemmerman opened this issue 8 years ago • 1 comments

I created a simple XMLPort which imports No. and Name as textfields to the customer.

...
    schema
    {
        tableelement(Customer; Customer)
        {


            fieldelement(No; Customer."No.")
            {

            }
            fieldelement(Name; Customer.name)
            {

            }
...

When renaming Customer to Cust (with F2), the SourceTable in the tableelement is renamed instead of the Name.

As seen in: 2018-02-07_13-29-06

The given error is: [AL] None of the specified parent table elements has the name Cust.

Changing the SourceTable of the tableelement back to Customer and renaming the Name part to Cust, solves the problem.

NAV2018 (CU0)

E: Renaming the Name tableelement doesn't change the fields SourceField.

BertDeTemmerman avatar Feb 07 '18 12:02 BertDeTemmerman

Thanks to SirBete to file this request through Partner Source / CSS. This is now resolved and will be included in the refreshed VSIX file with NAV 2018 CU 5 DVD (May 2018 CU)

dtacconi avatar Apr 12 '18 09:04 dtacconi