• Raj Basak
  • NEWBIE
  • 15 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
hi friends 
help me plz .tell me the 2 Approval Process
1) Create a two-step expense report approval process for all employees in your headquarters office. It specifies that expenses less than $50 are automatically approved, those $50 and over require manager approval, and those over $5,000 require additional approval from two VPs. This example highlights the “else” option, as well as the parallel approvals feature.
2) Orders that are discounted more than 40% require a CEO approval.
which pattern does Metadata API follow?
- Remote Process Invocation—Request and Reply or 
- Remote Process Invocation—Fire and Forget or 
- Batch Data Synchronization or
- Remote Call-In or
- UI Update Based on Data Changes
  • October 21, 2017
  • Like
  • 0
Here is my scenario:
- Will receive several X12 834 files per day via SFTP to an on premise server. There is potential for dozens or 100s of files that need to be imported. - Each file needs to be imported into a custom salesforce object
- Some files may contain only 5000 records and some may contain 100,000+ records

To me it seems the Bulk API is the best means to import such data.

The process would be roughly:

1. Transform an 834 file into a CSV file with upsert records for the custom object.
2. Create a Bulk API job for importing the CSV file.
3. Separate the CSV upsert file into separate chunks (10MB or 10000 rows, whichever comes first) submitting each as a batch to the job.
4. Check the state of the job/result of each batch.

Is the Bulk API a good solution for this, or is there another API which might be better suited?