Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Import multiple AR Invoices from a single Excel file

$
0
0

Hi,

 

I am using B1 version 9.1

 

I want to import multiple AR Invoices from a single Excel file, using SDK or Integration API. I do not want to use the DTW templates, as they contain a lot of fields; and moreover, for a single invoice, we have to fill data in a lot of Excel files.

 

I am looking for some helpful documents and examples in SDK or Integration API using which I can import the AR Invoice and create the associated JE too.

 

The admin department collects details of all the reimbursement expenses at month end, and prepares an Excel file, which needs to be imported into SAP.

 

Example:

Invoice No.    Posting Date    Due Date    Document Date    BP Code    Invoice Type    Invoice Amt    GL Code    GL Name    Tax Code    Tax Amt    GL Amt (LC)

1    15/10/2014    15/10/2014    15/10/2014    C000001    Service    1500    625100    Travel Reimbursement    NoTax    0    1000

1    15/10/2014    15/10/2014    15/10/2014    C000001    Service    1500    625200    Food Expenses Reimbursement    NoTax    0    500

2    16/10/2014    16/10/2014    16/10/2014    C000002    Service    2000    625100    Travel Reimbursement    NoTax    0    1300

2    16/10/2014    16/10/2014    16/10/2014    C000002    Service    2000    625200    Food Expenses Reimbursement    NoTax    0    400

2    16/10/2014    16/10/2014    16/10/2014    C000002    Service    2000    625300    Daily Allowance    NoTax    0    300

 

 

Notice that Invoice No. 1 is spread across 2 rows, and Invoice No. 2 is spread across next 3 rows. The Document level fields are repeated in each row.

 

This single Excel file contains all required data for 2 invoices, including document level and line item level data.

 

I do not want to use multiple Excel files for the different database tables involved in an AR Invoice transaction, as that will be very inconvenient for the end user.

 

A step by step code example will be helpful.

 

Thanks.


Viewing all articles
Browse latest Browse all 8538

Trending Articles