The ‘Client’ import endpoint can be used to create both suppliers and customers within the V5 Traceability system, which can then be used to receive Purchase Orders and ship Sales Orders respectively.
In terms of how we can relate the client endpoint to what we see in the V5 Control Center, this will relate to both the ‘Suppliers’ and ‘Customers’ windows. So for Suppliers:
And for Customers:
2. API Links
To find out more about the definitions for this ‘Client’ and related database class, please see the following link:
Once we have posted this to the system, we can see the new supplier has been added:
Along with the new customer:
5.2. CSV – Import
For CSV imports we first need to construct a header file for our imports.
Header/column definition filename: “client.csvh”
Completed header files should be placed in: “<installdir>\SG Control Center\gateway\import\column_defs”
Import CSV filename:“client-datetime.csv”
CSVs for import should be placed in: “<installdir>\SG Control Center\gateway\import”
Samples:
Header File:
An example header file can be seen below. As above, we will add a customer and a supplier with the same parameters:
For further information on how we structure these files, please see the main integration page. This sample header file can be downloaded here.
CSV Import File:
We can then use the defined order of data points in the header to structure our import file. Note that this first row can be ignored by Control Center and so can be kept in the file when submitting for import. An example import based on our requirements above would look like this:
We can then drop this file into our import folder as defined above, and once the import is complete we can see once again that our supplier:
And customer have been created:
Was this page helpful?
YesNo
Manage Cookie Settings
We want to make your experience on our website as personalized and enjoyable as possible. To do this, we use cookies – these are tiny bits of data that help us understand how you use our site and tailor it to your preferences.
Rest assured, we value your privacy and are committed to keeping your data safe. By clicking "Continue with recommended settings," you're giving us permission to use cookies. Of course, you're in control – feel free to adjust your cookie settings anytime in our Privacy Preferences.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.