Hello everyone,
I am trying to modify and add customer data to Business Central through ODATA .
I am getting this error "The underlying application page is not editable."
Do i need to give permission somewhere, i am using the super user which has full access to everything.I can read data but cant modify add or delete.
I added service in Visual Studio 2015 using add service.
My code is like this
=============================================================
Dim uri As Uri = New Uri("myserver:7048/.../Company('CRONUS Canada, Inc.')")
Dim NAV As New productService.NAV(uri)
NAV.Credentials = New NetworkCredential("administrator", "password")
Dim Customer = New productService.customers
Customer.No = "21"
Customer.Name = "ABC"
Customer.Balance_Due_LCY = 0.00
Customer.Balance_LCY = 0.00
Customer.Credit_Limit_LCY = 0.00
Customer.Sales_LCY = 0.00
Customer.Currency_Code = "USD"
Customer.Contact = "Some namel"
Customer.Customer_Posting_Group = "FOREIGN"
Customer.Gen_Bus_Posting_Group = "EXPORT"
Customer.Credit_Limit_LCY = "1000.00"
NAV.AddTocustomers(Customer)
NAV.SaveChanges()
===============================================================