web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Patch

(0) ShareShare
ReportReport
Posted on by 43

Hi

I have created an Inventory application in Power Apps using SharePoint data source connecting to 2 lists: Notes and Notes List Log. I have successfully managed to Check items out of Notes and patched into Notes List log but at the moment can only ‘Check In’  what I checked out where as I want to Check in less than I originally checked out. 

The function used to check out is:

 

With(

    {

        SharedItemToPatch: LookUp(

            Notes,

            ID = varRecord3.ItemBorrowed

        )

    },

    Patch(

        Notes,

        SharedItemToPatch,

        {TotalCheckedOut: SharedItemToPatch.TotalCheckedOut - varRecord3.TotalCheckedOut}

    )

);

Patch(

    'Note List log',

    varRecord3,

    {

        Status: "Returned",

        DateActualReturned: Today(),

        TotalCheckedIn: varRecord3.TotalCheckedIn

     

    }

);

Set(

    varShowConfirm,

    false

);

 

Can anyone help me please

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

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard