Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create a new BPartner contact #256

Closed
teosarca opened this issue Mar 18, 2017 · 4 comments
Closed

Cannot create a new BPartner contact #256

teosarca opened this issue Mar 18, 2017 · 4 comments

Comments

@teosarca
Copy link
Member

Is this a bug or feature request?

Bug

Which are the steps to reproduce?

  • create new partner
  • add new contact => nothing happens
  • try again to add new contact and you get:
Error: Document /W123/2156602 state is...
Server error
Document /W123/2156602 state is invalid: Cannot create included document because it's not allowed. AllowCreateNewDocument: FALSE{A new document already exists} EntityDescriptor: DocumentEntityDescriptor{tableName=AD_User, fields.count=66}
teosarca added a commit that referenced this issue Mar 18, 2017
solution: make sure the changes on the document which was specified in
REST api endpoint are reported first.
It seems the frontend expect those first.
@teosarca
Copy link
Member Author

NOTE: to IT: check other places where you can create an included row

@metas-lc
Copy link

quick IT:

  1. new bpartner - add new Contact => works
    add new location => works
  2. new product - add cu-tu => works
    add uom => works
  3. new warehouse - add locator
    => Cannot create included document because it's not allowed.
    AllowCreateNewDocument: FALSE{ParentDocumentNew}↵
    EntityDescriptor: DocumentEntityDescriptor{tableName=M_Locator, fields.count=16}"
    path:"/rest/api/window/139/1000002/1/NEW"
    NOK

@metas-lc metas-lc self-assigned this Mar 18, 2017
@metas-lc
Copy link

for no. 3 there is a new issue #259
problem was it was not saved

metas-mk added a commit to metasfresh/metasfresh that referenced this issue Mar 18, 2017
Adding metasfresh/metasfresh-webui-api-legacy#256 Cannot create a new BPartner contact to the next release.
@metas-mk
Copy link
Member

@metas-lc thx. Tested #259 works nicely. Moving this one forward too.

@metas-mk metas-mk self-assigned this Mar 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants