Troubleshooting: Error “This constraint cannot be enabled as not all values have corresponding parent values.” when inquiry Debtor Aging report: Difference between revisions

no edit summary
(Created page with "'''Question :''' Error “This constraint cannot be enabled as not all values have corresponding parent values.” when inquiry Debtor Aging report. File:Soa constraint1.pn...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
'''Question :''' Error “This constraint cannot be enabled as not all values have corresponding parent values.” when inquiry Debtor Aging report.
 
<b>Version :</b> 1.8 / 1.9 / 2.0
 
[[File:Soa constraint1.png]]
Line 29 ⟶ 31:
 
 
By : Ju Lee 190212, Lay Swan 190517, P190523
6) Now you should be able to inquiry the Debtor Aging report after performed the above action.
 
 
6) If there is no record on the existing sql query, please execute another sql query :<br/>
select * from obdtl where accno in (select accno from debtor where IsGroupCompany = 'T')
 
[[File:Aging constraint1.png]]
 
 
7) Look into the result for AccNo, this is the Debtor Account that is marked as Group Company but contains transactions.
 
[[File:Aging constraint2.png]]
 
 
8) Look into the Source Type, RI stand for A/R Invoice, then execute the second query:<br/>
 
select * from ARInvoice where DebtorCode = '300-G001'<br/>
 
This is the affected document number, and you shall need to edit the affected transaction and change the debtor account (group company) to a sub company debtor or another debtor account.
 
[[File:Aging constraint3.png]]
 
 
[[File:Aging constraint4.png]]
 
 
69) Now you should be able to inquiry the Debtor Aging report after performed the above action.
 
 
Line 35 ⟶ 63:
 
 
 
By : Ju Lee 190212, Lay Swan 190517, P190523
 
By : Park Yao 230717, Lay Swan 230719, P230721
 
 
 
{{NavigateForUser}}
7,126

edits