Skip to main content

Notifications

Announcements

Microsoft Dynamics GP forum (Archive)
Unanswered

Report Writer Conditions - multiple conditions/repeated

Posted on by
Running Dynamics GP 18.4.
 
I'm modifying the "IV Stock Count Forms by Item ID" report. A consultant had adjusted this previously to only show items with captured_quantity > 0. I need to add conditions that use wildcard matching on the item number to only apply that captured_qty > 0 condition to certain item classes. In our part numbering scheme, items in a class share the same first four letters in the item number. However, when I try to add more than one WILDCARD function expression with item number to a restriction, I get a "Symbol already defined" error when I try to run the report.
 
Example Restriction that errors:
( ivStockCountLine.CapturedQty > 0 AND ( WILDCARD( "HSMS*" ) = ivStockCountLine.ItemNumber OR WILDCARD( "TUNS*" ) = ivStockCountLine.ItemNumber ) ) OR ( WILDCARD( "HSMS*" ) <> ivStockCountLine.ItemNumber AND WILDCARD( "TUNS*" ) <> ivStockCountLine.ItemNumber )
Categories:

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

News and Announcements

Community Forum Filters

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Moderator

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans