Loading

Channel Order App (COA) Service Order Creation via Dataloader and API Submission - Customer Record Creation

Data pubblicazione: Apr 11, 2023
Descrizione
Prior to using COA_ServiceOrderSubmit Class to submit orders via the API, draft Service Orders and Service Order Details must already have been created. In addition, customer records must be created for initial orders for new customers. There are various ways to create draft Service Orders and Service Order Details - manually, through use of Apex, Workbench, or using Dataloader.
Risoluzione

How to Data Load a Customer Record for an Initial Order

  1. Use Excel or Google Sheets and create a tab labeled “Customer__c”
  2. On this tab you will need to create a header with a list Field Names related to the Customer Record
    1. This Google Sheet is an example of how it should look with both the field headers and information filled out: “Customer__c”
  3. Next you will need to fill in the information below your headers on the Customer__c tab.
    1. CHANNEL_ORDERS__Customer_Company_Name__c this should be the name of your Customer.
    2. CHANNEL_ORDERS__Customer_Org_ID__c this should be the Org ID of your Customer
      • This should be provided by your Customer
    3. CHANNEL_ORDERS__Customer_City__c this should be the city where your Customer is located.
    4. CHANNEL_ORDERS__Customer_Country__c this should be the country where your Customer is located.
    5. CHANNEL_ORDERS__Customer_State__c this should be the state or province your Customer is located.
    6. CHANNEL_ORDERS__Customer_Street__c this should be street address of your Customer.
    7. CHANNEL_ORDERS__Customer_ZIP_Postal_Code__c this should be the zip or pin code of your Customer.
  4. Next you will need to insert your Customer Records into your COA.
  5. To do this you first need to have Salesforce Data Loader
      1. Information on how to download Salesforce Data Loader can be found here: https://developer.salesforce.com/tools/data-loader
  6. Step 1: Login
    1. To login into Data Loader click “Insert”
    2. We use “Insert” because we are creating new data in your COA
  7. After you are logged into Data Loader click “Next”
  8. Step 2: Select data objects
    1. Search “Customer” in the text box
    2. Select “Customer (CHANNEL_ORDERS__CUSTOMER___c)”
    3. Screenshot 2023-04-11 at 2.49.15 PM.png
  9. You then have to choose your CSV file of your Customer Records.
  10. You then click “Next”
  11. You will be prompted with a “success pop up”. Click “OK”
  12. Step 3 Mapping
    1. You will need to map your CSV fields to Salesforce Objects
    2. Click “Create or Edit a Map”
    3. Click “Auto-Match Fields to Columns”
    4. Click “OK”
    5. Click “Next”
  13. Click “Finish”
  14. You will be prompted with “You have chosen to insert new records. Click Yes to begin. Do you want to proceed?”
    1. Click “Yes”
    2. You will then be prompted with a “Successful” page
  15. You can login to your PBO and check the new Customer Record by searching the Customer Name in “Customers”
  16. After you have data loaded your Customer Records to your COA you will need to take the “IDs” in Column A from your Success File and paste them into the column C CHANNEL_ORDERS__Customer__c in your Service Orders tab.
Please continue to the remaining steps of this process.

Step 2. CSV File Creation
Step 3. Dataloader Process
Step 4. API Order Submission
 
Numero articolo Knowledge

000395090

 
Caricamento
Salesforce Help | Article