Thanks, Jaymer. It must have something to do with my table being external. It doesn't reside in the Aware db (though it is on the same db server). I have an external stored procedure that uses it, and the table is in the same db as the sproc. It's such a simple thing though, you'd think Aware could handle it. I'm sure it can - that's why this is so frustrating. I keep getting 'value of STATEMENT could not be resolved' on the csv rows where the number has one or two non-zero decimal digits. Somewhere it's trying to do a conversion of a value that cannot be converted to a number. (Btw, I EXPORTed the table with ease - no issues.)
These are the errors I'm getting from the control panel:
2019-10-18 14:49:21,668 RecAP#admin -30 Updating business object BAS_UDIT 16281
2019-10-18 14:49:21,684 RecAP#admin -16 Finished updating business object BAS_UDIT 16281
2019-10-18 14:49:21,684 RecAP#admin -17
2019-10-18 14:49:21,684 RecAP#admin -17
2019-10-18 14:49:52,606 RecAP#admin -Importing business object STATEMENT
Value of STATEMENT could not be resolved
Value of STATEMENT could not be resolved
2019-10-18 14:49:52,637 RecAP#admin -Failure for row 1: 1068511162019-10-18 14:54:40,919 RecAP#admin -17
6,1295.12
Error persisting business object STATEMENT Error converting data type nvarchar to decimal.. Row will be ignored
Value of STATEMENT could not be resolved
Value of STATEMENT could not be resolved
2019-10-18 14:49:52,668 RecAP#admin -37 Record for row 2 imported successfully
('STATEMENT' is both my BO name and import template name.) I've tried defining the underlying SQL table both with and without a primary key, with fields nullable and non-nullable, etc.)
This is the definition of my SQL table (at the moment):
CREATE TABLE [dbo].[RAP_STATEMENT](
[Invoice] varchar NULL,
[Amount] [decimal](18, 2) NULL
)
So simple yet so maddening. I may have to make the table internal to Aware, but I hate doing that because I have a non-Aware version of the app that I am also using.