Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

SL 2015 WebApps Expense Entry GL SubAcct Override

(0) ShareShare
ReportReport
Posted on by 6,451

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.

*This post is locked for comments

  • Verified answer
    Mark E Profile Picture
    6,451 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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Featured topics

Product updates

Dynamics 365 release plans