Does XMLPort have autosave, autoupdate, autoreplace?

Capone
Member Posts: 125
In dataports you can find following settings for a data item XMLPort autosave, autoupdate, autoreplace.
Does it exist similiar funtionality to xmlports?
Does it exist similiar funtionality to xmlports?
Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?
http://www.navfreak.com
Have you checked the cables?
Have you released the filters?
http://www.navfreak.com
1
Comments
-
It is best to first insert your imported data into a temporary/buffer table, so you can validate all your data using the apropriate triggers.
But you have the linktable and forceinsert option per dataitem when sourcetype is table.0 -
Hi Sog, and thanx for your answer.
This means that if I want to overwrite the record I have to write following code in the OnPostXMLport() trigger:
IF MyTemporaryRecord.FINDSET THEN
REPEAT
IF MyTemporaryRecord.GET(key1,key2) THEN BEGIN
MyRecord := MyTemporaryRecord;
MyRecord.MODIFY;
END;
UNTIL MyTemporaryRecord.NEXT = 0;
But If I want to do an autoUpdate I have to copy the updated values from MyTemporaryRecord "manually" to MyRecord unless that I make a function that compares all the values in both records and decides when it should be updated.Hello IT, have you tried to turn it off and on?
Have you checked the cables?
Have you released the filters?
http://www.navfreak.com0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions