web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

ER- share point destination

(0) ShareShare
ReportReport
Posted on by 465

Hi,

When i put the ER destination to sharePoint... a record still gets created in ER jobs? is this standard functionality?

1. if i multi select multiple invoices and click send in invoice Journal form, i can see the two files in sharePoint, However, 2 records gets created in ER jobs... How can i make it to only create one record in ER for all selected invoices? because i think this makes it slower ( each record in ER jobs takes about 8 seconds to be created).

For example in DMF, i can send multiple files to azure using on record in batch jobs. How can i make that similar in ER?

2. How can i make the send of multiple invoices be in a batch process in ER.? And what is the difference between ER jobs and batch jobs?

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi D365FO,

    ER jobs are created whenever you create an e-invoice.

    For No 1:

    As far as I know, you cannot combine things here.

    For No 2:

    As far as I know, there is not specific batch process that you can configure for that purpose.

    Best regards,

    Ludwig

  • D365FO user Profile Picture
    465 on at

    Hi Ludwig,

    i was thinking maybe if i create a new model based on AccountNum, then i'll be able to send multiple invoices in one file and in on ER job.

    So here's what i did (simple), please correct me with what i'm doing wrong

    Here is the model

    pastedimage1595314019811v1.png

    In the data sources:

    I added custTable and inside it custInvoiceJour (not sure if this is right)
    and here's the mapping for the dataSource (what should i map invoices and invoice to?)

    pastedimage1595314152024v2.png

    However, i'm having some issue in xml format, i'm not sure how to build it, so i tried this:
    pastedimage1595314459858v3.png

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi D365FO user,

    For what reason, do you want to export all of the customer invoices in an XML format?

    Why is that needed?

    Best regards,

    Ludwig

  • D365FO user Profile Picture
    465 on at

    Hi Ludwig,

    yes i want to see all the customer invoices in one file.. can you please help me in doing my first ER

    ** i think this will help me in creating one record in ER jobs instead of multiple ones... i can in the future add more dataSources to see the lines and other fileds... just like DMF

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Ok. Let's try.

    Can you share first your model elements, i.e. the elements that you want to export.

    I would expect something like this:

    Root

    - RecList

    --Record

    ---A_AccountNo

    ---B_InvoiceId

    ---C_InvoiceAmount

    ---etc

    The you click on the designer and select the datasource.

    Select table records and then select the CustInvoiceJourTable

    Bind this Table to the Record List Element

    Bind the A_AccountNo field to the field in the CustInvoiceJourTable

    Bind the B_InvoiceId field to the one in the CustInvoiceJourTable

    and so on.

    Save it and test run the report.

    You should get an xml output that allows you previewing the data.

    Can you try that one and let us know how things look like?

    Many thanks and best regards,

    Ludwig

  • D365FO user Profile Picture
    465 on at

    Hi Ludwig,

    i already shared in screenshots before the data model i created as i want to start with custTable first

    But i'll try your example first with custInvoiceJour only and see how it will work

    so i did this as u suggested:

    pastedimage1595318616996v2.png

    pastedimage1595318589267v1.png

    i saved it and changes status to completed

    How can i run it and see xml without creating format?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    In the designer when you click map model to datasource there is a run button.

    Just hit this one to see what data are extracted.

    That's what I am always using for testing.

    You don't need a XML output format to test things ;-)

    Best regards,

    Ludwig

  • D365FO user Profile Picture
    465 on at

    Hi Ludwig,

    where is this Run button?
    pastedimage1595320618175v1.png

    However, i created an xml format:

    pastedimage1595320710399v2.png

    and i clicked run from there

    But now when i go to ER destination, i can't find anything under  "File Component" drop down so i'm getting this warning, i can't put share point destination without filling this, so how to solve this?

    pastedimage1595320970289v4.png

    i also can't find my new created model in accounts receivable parameters?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi, 

    Can you import and test the following model and Excel based format output

    If you want to have an XML output then you can do that yourself quickly using the same principles. 

    Best regards, 

    Ludwig

    DemoExportCustInvoicesModel.xmlDemoExportCustInvoicesXLS.xml

    Import first the model by using the exchange button in the ER workspace then the file ending XLS. 

    You should be able to play around with that one. 

    Best regards, 

    Ludwig

  • D365FO user Profile Picture
    465 on at

    Hi Ludwig.

    i was able to find the run button u were talking about so thanks alot, this is easier

    1. But may i know what is the benefit of the xml file u just sent me? and where can import exactly? what should i do?

    2. Did you see my last two questions above regarding file component name and accounts receivable parameters?

    3. I tried to get all invoices for each customer, but as u can see i'm getting all invoices found in the system and they are put under each customer
    pastedimage1595335227602v1.png

    Here's my mapping, what did i do wrong?

    pastedimage1595328719270v2.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans