Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - SalesLogix Imports
Forum to discuss general SalesLogix import and data migration topics. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Imports | New ThreadView:  Search:  
 Author  Thread: Scribe importing all the data it matches
Chokri
Posts: 62
 
Scribe importing all the data it matchesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Aug 07 11:01 AM
I am using saleslogix v 6.1 and have connected Scribe via the Oracle driver to our Oracle database. I have set up the necessary steps to:

1. Seek a uniqueid number in the contact table
2. Insert a number of fields from another table which matches this uniqueid number on the contact table

Although this seems fairly straightforward I just can not get the DTS to import all the fields into the other table once it finds a match. What it is doing is importing all fields into all the contacts it matches??
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Scribe importing all the data it matchesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Aug 07 1:27 PM
By "uniqueid" do you mean the contact.contactid?

Assuning the field you are insering are in the contact table you need to...

-Do a SEEK step (which it sounds like you have) to find out if the record exists
-Then on the Match=1 results of the above seek, do and UPDATE step for the fields

[Reply][Quote]
Chokri
Posts: 62
 
Re: Scribe importing all the data it matchesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Aug 07 5:49 AM
The uniqueid is not the contact.contactid field - the uniqueid field is the Oracle uniqueid field which was added to the contact table.

I do not wish to insert fields in the contact table, I wish to first match the uniqueid on the contact table then if a match is found I want the DTS to insert the fields in another table (which is linked to the contact table by the contactid and also has the Oracle uniqueid field amongst others.
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: Scribe importing all the data it matchesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Aug 07 9:08 AM
This could be done in a couple of ways. You could first add a seek step to lookup the Oracle or foreign key and assign the SalesLogix contactid to a target variable that is used in the actual update/insert step. Another way is to have a single step to update/insert to the extended table and use the function DBLOOKUP( TextSourceField, "S" | "T" | "I", "table", "lookup_field", "substitution_field" ) to lookup and assign the contactid. It would look like this DBLOOKUP( S1, "T", "Contact", "OracleID_Field", "ContactID" ). Just replace S1 with the actual source field and OracleID_Field with column name.
[Reply][Quote]
Chokri
Posts: 62
 
Re: Scribe importing all the data it matchesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Aug 07 9:17 AM
Great I will try this - will let you know how I get on.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 9:49:37 PM