Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Update Record in Acumatica ERP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 370
    Comment on it

    Hi Friends,

    Previously i tell you how to insert record in Acumatica ERP.

    Today i will tell you how to update record in Acumatica ERP.

    Below code will be used to update the record in Acumatica ERP.

    var maint = PXGraph.CreateInstance<NewTimeActivity>();
    
            var detailsCache = maint.ProviderUpdate<EPTimeCard>(
                new PX.Data.PXDataFieldAssign("Status", Status),
                new PX.Data.PXDataFieldAssign("IsApproved", false),
                new PX.Data.PXDataFieldAssign("IsHold", false),
                new PX.Data.PXDataFieldRestrict("TimeCardCD", timeCardCD)
                );

    Here PXDataFieldRestrict will be used as a where clause for the update query.

    Thanks

    Happy Coding 

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: