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

Pool: Create site endpoint with legal entity reference #739

Closed
1 task done
maximilianong opened this issue Jul 1, 2024 · 2 comments
Closed
1 task done

Pool: Create site endpoint with legal entity reference #739

maximilianong opened this issue Jul 1, 2024 · 2 comments
Assignees
Labels
business partner Feature/Bug for Business Partner KIT Prep-R24.12
Milestone

Comments

@maximilianong
Copy link
Contributor

maximilianong commented Jul 1, 2024

Description

This feature involves the creation of a new endpoint within the siteController to handle the creation of both LegalEntity and Site entities using the same address when the LegalAndSiteMainAddress is specified as the address type. Additionally, the BPNA (Business Partner Number Assignment) will be linked to both the LegalEntity and the Site entity.

Risk:
No risk - This a technical endpoint that will help the operator.
No effect on sharing members.

Currently:
At the moment you cannot create a site which has the legalmainadress as the sitemainadress.

Objective:
To streamline the process of creating and linking LegalEntity and Site entities with the same address and associating the BPNA with both entities through a new endpoint in the siteController.

Acceptance Criteria:

  • Endpoint is created
  • When LegalAndSiteMainAddress is specified as the address type, the endpoint creates both a LegalEntity and a Site entity with the provided address.
  • The BPNA is linked to the newly created LegalEntity.
  • The BPNA is also linked to the newly created Site entity.
  • The endpoint returns a success response with the details of the created LegalEntity and Site entity.
  • In case of failure, an appropriate error message is returned.

Additional information

@stephanbcbauer
Copy link
Member

After a brief consultation with Sebastian, the feature is set to 'backlog' status. Associated committer is also fine with it.

@stephanbcbauer stephanbcbauer moved this from Inbox to Backlog in Release Planning Jul 30, 2024
@stephanbcbauer stephanbcbauer added this to the 24.12 milestone Jul 31, 2024
@nicoprow nicoprow moved this to 👀 In review in BPDM Kanban Aug 1, 2024
@maximilianong
Copy link
Contributor Author

Done & merged (details: eclipse-tractusx/bpdm#981).
Thanks to @dilipdhankecha2530 and @nicoprow !

@github-project-automation github-project-automation bot moved this from Backlog to Done in Release Planning Aug 21, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in BPDM Kanban Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
business partner Feature/Bug for Business Partner KIT Prep-R24.12
Projects
Archived in project
Status: Done
Development

No branches or pull requests

4 participants