Hi:
In the Customer Posting Groups window, I'm trying to place an account within the "Service Charge Acct." field.
I have placed a value within the "Gen. Prod. Posting Group" and "Gen Bus. Posting Group" fields within the account itself in the Chart of Accounts.
Also, I have placed this account within the General Posting Setup's "Sales Account" field.
So, why in the world am I still getting the error message "Gen. Prod. Posting Group must have a value in G/L Account..." within the Customer Posting Groups window? Have I not covered all contingencies?
Thanks!
John
Below is the answer. I needed to go into the G/L account for the Customer Posting Group and fill in the three fields shown below.
Has some specific validation:
Validate("Service Charge Acc.");
end;
trigger OnValidate()
begin
if "View All Accounts on Lookup" then
GLAccountCategoryMgt.CheckGLAccountWithoutCategory("Service Charge Acc.", true, true)
else
GLAccountCategoryMgt.CheckGLAccount(
"Service Charge Acc.", true, true, GLAccountCategory."Account Category"::Income, GLAccountCategoryMgt.GetIncomeService);
end;
I’d check the account category and turn off the view all accounts lookup feature
Sohail Ahmed
1,200
YUN ZHU
1,006
Super User 2025 Season 1
Mansi Soni
836