Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

SL 2015 WebApps Expense Entry GL SubAcct Override

Posted on by 6,405

We have Project Expense setup so that the Dflt SubAcct comes from the Employee record.  In some cases, there are Expense types linked to GL accts where the Emp Subacct is not a valid Acct/Sub combo (we have Acct/Sub validation enabled).  In those cases, we define the correct SubAcct in a user field in the Expense Type Maintenance screen.  In the SL Travel & Expense Entry screen, we have VB code to perform the correct SubAcct population if the PJEXPTYP.User1 field is populated with a value (which would override the Emp Subacct).

Deploying WebApps for the company, need to understand how to perform the same logic so that WebApps will override the Emp SubAcct if the PJEXPTYP.User1 field is populated for the Expense Type.  We are not displaying the SubAcct field in WebApps Expense Entry, nor want the user to have to change it.

  • Verified answer
    Mark E Profile Picture
    Mark E 6,405 on at
    RE: SL 2015 WebApps Expense Entry GL SubAcct Override

    I was able to come up with a resolution for this by modifying the proc that returns the Expense Types in WebApps, and modifying the WebApps code for the lookup

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans