IcinitiBrad
Programmer
Hi everyone,
I'm using xAPI to insert a record into the OEORPP (OE/Prepayments) table. The only mandatory field is field 0 (ORDUNIQ), which I populate. For some reason, I get the following error:
View: OE0530. View call failed at ACCPACXAPILib.IxapiView.Insert()
Any help is appreciated.
~Brad (Using J#.Net)
ACCPACXAPILib.xapiSession o_sess = new ACCPACXAPILib.xapiSessionClass();
o_sess.Open("ADMIN", "ADMIN", "SAMINC", System.DateTime.get_Now(), 0);
ACCPACXAPILib.IxapiView o_viewOEORPP = null;
o_viewOEORPP = o_sess.OpenView( "OE0530", "OE" ); // OE Prepayments
o_viewOEORPP.get_Fields().get_Field( 0 ).PutWithoutVerification( "1000 );
o_viewOEORPP.Insert();
o_sess.Close();
I'm using xAPI to insert a record into the OEORPP (OE/Prepayments) table. The only mandatory field is field 0 (ORDUNIQ), which I populate. For some reason, I get the following error:
View: OE0530. View call failed at ACCPACXAPILib.IxapiView.Insert()
Any help is appreciated.
~Brad (Using J#.Net)
ACCPACXAPILib.xapiSession o_sess = new ACCPACXAPILib.xapiSessionClass();
o_sess.Open("ADMIN", "ADMIN", "SAMINC", System.DateTime.get_Now(), 0);
ACCPACXAPILib.IxapiView o_viewOEORPP = null;
o_viewOEORPP = o_sess.OpenView( "OE0530", "OE" ); // OE Prepayments
o_viewOEORPP.get_Fields().get_Field( 0 ).PutWithoutVerification( "1000 );
o_viewOEORPP.Insert();
o_sess.Close();