ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Extensibility Request] table 370 "Excel Buffer"

Open panas78 opened this issue 4 years ago • 5 comments

Please increase field length to 2048 in table 370 "Excel Buffer" field "Cell Value as Text" There are many cases where the data stored in an Excel cell is greater than 250 chars.

 field(5; "Cell Value as Text"; Text[2048])

panas78 avatar Jan 13 '22 13:01 panas78

This change will require obsoleting this field and introducing new field instead. All extensions will be affected. How critical is for you?

AlexanderYakunin avatar Jan 19 '22 15:01 AlexanderYakunin

Its critical because as already stated in many cases data are greater than 250 chars. Nevertheless i don't understand why you must obsolete the field and create a new one since "Excell Buffer" is exactly that a buffer so no db schema is affected by this change.

panas78 avatar Jan 19 '22 15:01 panas78

This table is not marked as TableType = Temporary, therefore this is normal table. But we have field for you case:

    field(17; "Cell Value as Blob"; Blob)
    {
        Caption = 'Cell Value as Blob';
        DataClassification = SystemMetadata;
    }

Can you use this?

AlexanderYakunin avatar Jan 19 '22 15:01 AlexanderYakunin

We will use Cell Value as Blob... although this approach add unnecessary complexity, many tables do not have TableType = Temporary but they always used as buffers.

My suggestion (if that's possible) is to check the use of the table as buffer and if that's the case then make the change to field length and also make TableType = Temporary.

Something last that I remembered : Increasing field length is not a destructive change

panas78 avatar Jan 19 '22 15:01 panas78

@panas78 unfortunately increasing a field length is a destructive change, because some partners could use this field as a parameter in methods of their extensions. If we increase the length it can lead to an overflow error if not a compilation error. A similar problem with the candidates for temporary buffer status. We did it last year and marked several tables as temporary but still there were a few cases when such a buffer table contained data in a tenant and blocked the upgrade.

StanPesotskiy avatar Feb 17 '22 10:02 StanPesotskiy