Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2021
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I tried to test the payment with customer account in a retail POS. However I received the following message
"Customer ... does not exist or its acocunt is blocked"
However, this customer is not blocked at all. Also, of course this customer exists in CustTable as well.
I debugged the related pieces of code and found that the record is not retrieved from the database even if the _custAccount (004009) was passed to this find() method correctly.
static CustTable find(CustAccount _custAccount,
boolean _forUpdate = false)
select firstonly custTable
index hint AccountIdx
where custTable.AccountNum == _custAccount;
What is the way to solve it? Should I set a real-time service profile in order to make it work?
How about other tender type, such as pay cash, credit card?
can you run job to push the customer data into channel database if you are sure customer is not blocked?
can you show what's the call-stack which contains the CustTable.find()
The code is here:
public static container validateCustomerStatus(CustAccount _custAccount, AmountMST _salesAmount, CurrencyCode _currencyCode)
container custStatus = [false,0];
AmountMST creditMax = 0;
TypeOfCreditmaxCheck creditMaxCheck = CustParameters::find().CreditMaxCheck;
if (_currencyCode != CompanyInfoHelper::standardCurrency())
_salesAmount = CurrencyExchangeHelper::amountCur2MST(_salesAmount, _currencyCode);
if (!CustTable::checkExistAndOpen(_custAccount, _salesAmount))
custStatus = [false,strFmt("@RET4170018", _custAccount)];
Please check the database and determine if CustTable::checkExistAndOpen(_custAccount, _salesAmount)) will return true, and restart IIS or SQL server service if necessary
I already debugged that method you mentioned and if I step into methods called from this method, I come down to CustTable find () ..
Then the record is not retrieved although the parameter is passed correctly..
I can restart IIS but I don't think that will solve the issue.. But will try..
Business Applications communities