I have an "Import Scenario" that inserts records into the ARTan table on an hourly schedule. The problem I have is that at I have no way of making sure that records are not inserted twice. I have a Primary Key called FeeDueID the AR record should only be inserted one time. Is there a way to lock this down in Acumatica so multiple users can't accidently insert multiple records?
I was told that if I select my unique field in Acumatica "Data Provider" as a key field this would not allow the duplicate to be inserted. However, this is not the case. I'm really looking for a way to have the Acuamtica framework only allow one AR record based on my user defined primary key. I was able to solve this isue by putting a trigger on the table. I was told that Acumatica doesn't support triggers.
Additional Info:
· The “Key” property of the schema is only to help identify unique records during the “Prepare” portion of the import scenario. There appears to be some confusion on when this flag is being utilized, a point we’ve reached out to Acumatica to help clarify.
· Once records have been prepared, the settings for a data scenario have no direct involvement in the actual import process
· If an import scenario is currently being processed and if a 2nd prepare is executed, Acumatica will process any items it has not yet flagged as imported/processed. This includes items that were previously prepared.
