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

7.11.5 Create case, can't store case number value by V8 API #7438

Open
cekowu opened this issue Jun 20, 2019 · 0 comments
Open

7.11.5 Create case, can't store case number value by V8 API #7438

cekowu opened this issue Jun 20, 2019 · 0 comments
Labels
Area: API Issues & PRs related to all things regarding the API Type:Bug Bugs within the core SuiteCRM codebase

Comments

@cekowu
Copy link

cekowu commented Jun 20, 2019

Issue

Case Number is automated growth by V8 API, customize this value.

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

  1. Invoke crm create api
  2. xxx/SuiteCRM/Api/V8/module, and case_number field value "123456789"
    paras:
    { "data": { "id": "eefa8726-7da4-4f72-97e6-4bf9eef294f7", "type": "Cases", "attributes": { "name": "Test Case", "type": "Product", "created_by": "1", "created_by_name": "Administrator", "description": "Test Case", "deleted": "0", "modified_by_name": "Administrator", "modified_user_id": "1", "assigned_user_id": "6400de99-cbb6-6fc8-cd83-5c637a356274", "assigned_user_name": "Kimberly Singleton", "date_entered": "2019-06-20T14:20:00+00:00", "date_modified": "2019-06-20T14:20:00+00:00", "ucid_c": "", "cust_no_c": "", "data_from_c": "NLP", "case_number": "123456789" } } }
  3. response: case_number is "14", it is automated growth , not mine.
    { "data": { "type": "Case", "id": "eefa8726-7da4-4f72-97e6-4bf9eef294f7", "attributes": { "name": "Test Case", "date_entered": "2019-06-20T06:49:00+00:00", "date_modified": "2019-06-20T06:49:00+00:00", "modified_user_id": "1", "modified_by_name": "Administrator", "created_by": "1", "created_by_name": "Administrator", "description": "Test Case", "deleted": "0", "created_by_link": "", "modified_user_link": "", "assigned_user_id": "6400de99-cbb6-6fc8-cd83-5c637a356274", "assigned_user_name": "Kimberly Singleton", "assigned_user_link": "", "SecurityGroups": "", "case_number": "14", "type": "Product", "status": "", "priority": "", "resolution": "", "work_log": "", "suggestion_box": "", "account_name": "", "account_name1": "", "account_id": "", "state": "Open", "case_attachments_display": "", "case_update_form": "", "contact_created_by": "", "contact_created_by_name": "", "contact_created_by_id": "", "tasks": "", "notes": "", "meetings": "", "emails": "", "documents": "", "calls": "", "bugs": "", "contacts": "", "accounts": "", "project": "", "update_text": "", "internal": "", "aop_case_updates_threaded": "", "aop_case_updates": "", "aop_case_events": "", "jjwg_maps_lng_c": "0.00000000", "jjwg_maps_lat_c": "0.00000000", "jjwg_maps_geocode_status_c": "", "jjwg_maps_address_c": "", "cust_no_c": "", "ucid_c": "", "data_from_c": "NLP" }, "relationships": { "Contacts": { "links": { "related": "V8/module/eefa8726-7da4-4f72-97e6-4bf9eef294f7/relationships/contact_created_by" } }, "SecurityGroups": { "links": { "related": "V8/module/eefa8726-7da4-4f72-97e6-4bf9eef294f7/relationships/SecurityGroups" } }, "Users": { "links": { "related": "V8/module/eefa8726-7da4-4f72-97e6-4bf9eef294f7/relationships/created_by_link" } } } } }
  4. Case number can't store by V8 API

Context

Your Environment

  • SuiteCRM Version used: 7.11.5
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)):
  • Environment name and version (e.g. MySQL, PHP 7): PHP 7.2
  • Operating System and version (e.g Ubuntu 16.04):
@Dillon-Brown Dillon-Brown added the Area: API Issues & PRs related to all things regarding the API label Jun 28, 2019
@samus-aran samus-aran added the Type:Bug Bugs within the core SuiteCRM codebase label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API Issues & PRs related to all things regarding the API Type:Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

3 participants