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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

The supplier bank account with account ID XXXXX can not be used because it is on Draft state

(0) ShareShare
ReportReport
Posted on by 1,883
Hi,

I created a vendor via odata using VendVendorV2Entity entity (where i left "BankAccountId empty at first)
then i created a vendor bank account via odata using VendVendorBankAccountEntity
 
Now i went back to the vendor to update it with this new bank account so i called odata again for  VendVendorV2Entity but this time i filled the bankAccountId to update it, but i get this error:
Write failed for table row of type 'VendVendorV2Entity'. Infolog: Warning: The supplier bank account with account ID XXXXX can not be used because it is on Draft state.; Warning: validateWrite failed on data source 'VendTable (VendTable)
 
And this is because i need to submit the bank account to workflow first, then i can update it to the vendor. How can i skip workflow using odata? because an external system would like to to call odata to create the vendor and it's bank account, then update the vendor with it's bank account
 
Categories:
I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    48,195 User Group Leader on at
    The supplier bank account with account ID XXXXX can not be used because it is on Draft state
    Hi @.
     
    You can use Vendor parameters entity (vendVendorParametersEntity) , updating the filed named VendBankAccountWorkflowDataEntityBehavior = Allow changes without approval#
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 846

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 810 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 797 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans