Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Error "FlowField in the xxxxxx table must be Decimal" after server Runtime update to 13.1

Posted on by
Hi all.
 
I have a BC extension that has been installed and working for a couple of years now. Recently our cloud server was updated to runtime version 13.1.
 
After that, all attempts to push data using our API fails with multiple errors such as:
 
{"error":{"code":"Unknown","message":"The type of the Supplier Name FlowField in the xxxxxx table must be Decimal.  CorrelationId:  adab4751-3614-46a5-932b-fcc14f1bf20f."}} | Microsoft.OData.Client.DataServiceClientException: {"error":{"code":"Unknown","message":"The type of the Supplier Name FlowField in the xxxxxx table must be Decimal.  CorrelationId:  adab4751-3614-46a5-932b-fcc14f1bf20f."}}
 
Here's how the Supplier Name field is declared:
 
        field(9; "Supplier Code"; Code[20])
        {
            DataClassification = CustomerContent;
            TableRelation = Vendor;
        }
        field(10; "Supplier Name"; Text[100])
        {
            Editable = false;
            FieldClass = FlowField;
            CalcFormula = lookup(Vendor.Name where("No." = field("Supplier Code")));
        }
 
In table Vendor, fields "No." and "Name" are declared as:
 
        field(1; "No."; Code[20])
        {
            Caption = 'No.';
 
            trigger OnValidate()
            begin
               // some validation code here
            end;
        }
        field(2; Name; Text[100])
        {
            Caption = 'Name';
 
            trigger OnValidate()
            begin
               // some validation code here
            end;
        }
 
This always worked correctly and except when pushing the data through the API, everything works as expected. It started failing after server update to 13.1 and I have no idea why....
 
Any ideas what is causing this issue and how to resolve it?
 
Thanks in advance.
 
Categories:
  • YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User on at
    Error "FlowField in the xxxxxx table must be Decimal" after server Runtime update to 13.1
    What a strange error. I searched in the Yammer Group but didn't find any similar issues.
    This seems to be a standard issue. I suggest you submit it to the following website, or submit a SR directly to Microsoft.
     
    Hopefully other experts can give you better advice.
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans