Hello Team,
I tried to customize the navigation menu and received the following error message:
The Gen.Journal Batch does not exist. Identification fields and values: Journal Template Name='CASHRCPT'.
What I should do to amend this error?
Hello Team,
I tried to customize the navigation menu and received the following error message:
The Gen.Journal Batch does not exist. Identification fields and values: Journal Template Name='CASHRCPT'.
What I should do to amend this error?
Yes, you are right.
I did it.
<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:pay="urn:microsoft-dynamics-schemas/page/payment_journal">
<soapenv:Header/>
<soapenv:Body>
<pay:Create>
<pay:CurrentJnlBatchName>BANK</pay:CurrentJnlBatchName>
<pay:Payment_Journal>
<pay:Key>YayPay-2021-01</pay:Key>
<pay:Posting_Date>2021-12-21</pay:Posting_Date>
<pay:Document_Date>2021-12-21</pay:Document_Date>
<pay:Document_Type>Payment</pay:Document_Type>
<pay:Document_No>G03035</pay:Document_No>
<pay:Account_Type>Customer</pay:Account_Type>
<pay:Account_No>C00100</pay:Account_No>
<pay:Description>Navision_Full</pay:Description>
<pay:Currency_Code>USD</pay:Currency_Code>
<pay:Payment_Method_Code>BANK</pay:Payment_Method_Code>
<pay:Payment_Reference>WERT123456789</pay:Payment_Reference>
<pay:Amount>-333</pay:Amount>
</pay:Payment_Journal>
</pay:Create>
</soapenv:Body>
</soapenv:Envelope>
Hi, I think this should first import the data (Payment Journal), and then run the Post.
Hope the following can give you some inspiration.
Thanks.
ZHU
Andrew,
Ahh, you are trying to create a Cash Receipt Journal via API. I am not a developer so cannot assist. Maybe another Forum member will chime in.
Thanks,
Steve
Hello Steven,
Could you explain, how to create a payment in Navision via API?
I tried to use the SOAP method CustomerLedgerEntries (create).
But I receive an error:
<s:Envelope xmlns:s="schemas.xmlsoap.org/.../">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideRecordNotFoundException</faultcode>
<faultstring xml:lang="en-US">The Gen. Journal Batch does not exist. Identification fields and values: Journal Template Name='CASHRCPT',Name='?'</faultstring>
<detail>
<string xmlns="schemas.microsoft.com/.../">The Gen. Journal Batch does not exist. Identification fields and values: Journal Template Name='CASHRCPT',Name='?'</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
According to your last comment, I customized the template. But Navision returns this error once again.
Andrew,
Search for General Journal Template. Here you need to setup a Template CASHRCPT. Remember to setup No. Series for this Template. Then you will need to Navigate to the Batch and setup a Default batch. If you need a sample reply back or look at CRONUS company.
Thanks,
Steve
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156