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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Arithmetic operations in Insert_RecordSet

(0) ShareShare
ReportReport
Posted on by
Hi All,
 
I am trying to do Arithmetic operations " (SettleAmountCur-UtilizedCashDisc)" in Insert_RecordSet query. Below is the query I am trying but getting error "Invalid Token (". But it works fine in Update_RecordSet. Can't we do Arithmetic operations in Insert_RecordSet.?
 
insert recordset impBankAccCustVendTransSettle
(BankTransDataAreaId, BankTransRecId, Voucher, SettleAmountCur, UtilizedCashDisc, SettleAmountIncDisc)
select crosscompany
DataAreaId,
RecId,
Voucher
From bankAccTrans
where bankAccTrans. SyncedToImp == NoYes:: No
join impParameters
where impParameters.DataAreaId == bankAccTrans.DataAreaId
&& impParameters.ActivateSetup == NoYes:: Yes
join bankAccTable
where bankAccTable.AccountID == bankAccTrans.AccountId
&& !(bankAccTable.Name2 like "*-P")
&& bankAccTable.DataAreaId == bankAccTrans.DataAreald
join vendTrans
where vendTrans. Voucher bankAccTrans. Voucher
&& vendTrans. TransType == Ledger Trans Type:: Payment
&& bankAccTrans. DataAreaId = vend Trans.DataAreaId
join SettleAmountCur, UtilizedCashDisc, (SettleAmountCur-UtilizedCashDisc) from vendSettlement
where vendSettlement.offsetRecid = vendTrans. RecId
&& vendSettlement.DataAreaId == vendTrans.DataAreaId;
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 127

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans