quote:I dunno...I think it might be you. [;)]Originally posted by speetz - 2004 Oct 13 : 20:48:50
cf.BWT() result = cf.InsertRec(hTable, hRec) if (result) cf.EWT() else cf.AWT()
quote:Thanks,1. What is the business problem you're trying to solve?I have a project where I need to create, update and read records between Navision and our own internal software. Our Navision rep suggested using the COM interface.My requirements will have me hitting a variety of tables and inserting/update/reading records from them at any given time.2. Is the referencing purchase/sales header properly created already?I have no idea what you're talking about. All I've been told by our Navision rep is that the code I have "should work". How do I go about creating a purchase/sales header.3. When you do this, do you know you cannot validate fields in Navision?Again - I have no idea what you're talking about. What validation is required? Isn't there some way to just create a record in table a'la SQL?vicOriginally posted by victoratgap - 2004 Oct 13 : 23:29:39
quote:I'm trying to just insert a record into a table and I'm not getting any kind of error message that is meaningful to me. Just a "You cannot make any changes in the database from this trigger" which doesn't mean anything to me.