Openbravo Issue Tracking System - Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0036846 | Modules | Intercompany Documents | public | 2017-09-13 12:52 | 2017-09-14 12:58 | ||||||||
Reporter | ngarcia | ||||||||||||
Assigned To | AtulOpenbravo | ||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Regression date | |||||||||||||
Regression introduced by commit | |||||||||||||
Regression level | |||||||||||||
Review Assigned To | aferraz | ||||||||||||
Support ticket | 48395 | ||||||||||||
OBNetwork customer | OBPS | ||||||||||||
Regression introduced in release | |||||||||||||
Summary | 0036846: Cannot complete an inter-company invoice if the target organization or one of their parents are not Legal With Accounting | ||||||||||||
Description | Cannot complete an inter-company invoice if the target organization or one of their parents are not Legal With Accounting. In INTERCO_CREATE_INVOICE the source organization is being used for checking the period is open instead of the target organization: SELECT AD_GET_DOC_LE_BU('C_INVOICE', p_record_ID, 'C_INVOICE_ID', 'LE') INTO v_org_bule_id FROM DUAL; | ||||||||||||
Steps To Reproduce | As group admin role: Use the Initial Org Setup process to create a Legal Without Accounting organization with F&B International Group as parent organization, set created organization as ready. Create the required master data in F&B International Group organization: Price Lists (one for sales and one for purchase) Business partners and locations (one customer and one vendor). Assign previously created price list. Set default Payment Terms Tax Category and Tax Rate Product. Add price to it in both price lists Document Type: Inter-company Sales Invoice and Inter-company Purchase Invoice Configure Inter-company: Add the following Inter-company relation to the Inter-company Sales Invoice document type: Source Organization: F&B España, S.A Target Organization: the previously created one Target Document Type: Inter-company Purchase Invoice Assign previously created customer to previously created organization Assign previously created vendor to F&B España, S.A Create a Sales Invoice for F&B España S.A. and previously created customer Select Inter-company Sales Invoice document type Add previously created product Try to complete it and check the following error is shown: Error: The Period does not exist or it is not opened | ||||||||||||
Proposed Solution | Check if changing the query with the following one works: SELECT ad_get_org_le_bu(v_matchingOrg, 'LE') INTO v_org_bule_id FROM DUAL; | ||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2017-09-13 12:52 | ngarcia | New Issue | |||||||||||
2017-09-13 12:52 | ngarcia | Assigned To | => Triage Finance | ||||||||||
2017-09-13 12:52 | ngarcia | Resolution time | => 1507068000 | ||||||||||
2017-09-13 12:52 | ngarcia | Support ticket | => 48395 | ||||||||||
2017-09-13 12:52 | ngarcia | OBNetwork customer | => Yes | ||||||||||
2017-09-13 12:52 | ngarcia | Issue Monitored: networkb | |||||||||||
2017-09-13 12:56 | ngarcia | Summary | Cannot complete an inter-company invoice if the target organization is not Legal With Accounting => Cannot complete an inter-company invoice if the target organization or one of their parents are not Legal With Accounting | ||||||||||
2017-09-13 12:56 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=15888#r15888 | ||||||||||
2017-09-13 14:20 | aferraz | Assigned To | Triage Finance => AtulOpenbravo | ||||||||||
2017-09-13 20:56 | AtulOpenbravo | Status | new => scheduled | ||||||||||
2017-09-13 21:16 | AtulOpenbravo | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15896#r15896 | ||||||||||
2017-09-14 11:02 | AtulOpenbravo | Note Added: 0099031 | |||||||||||
2017-09-14 11:05 | AtulOpenbravo | Note Edited: 0099031 | bug_revision_view_page.php?bugnote_id=0099031#r15898 | ||||||||||
2017-09-14 12:39 | aferraz | Relationship added | related to 0036856 | ||||||||||
2017-09-14 12:57 | hgbot | Checkin | |||||||||||
2017-09-14 12:57 | hgbot | Note Added: 0099036 | |||||||||||
2017-09-14 12:57 | hgbot | Status | scheduled => resolved | ||||||||||
2017-09-14 12:57 | hgbot | Resolution | open => fixed | ||||||||||
2017-09-14 12:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.interco/rev/afb9363d53b32d0b24aa9adabc2d6cdce84803e5 [^] | ||||||||||
2017-09-14 12:57 | hgbot | Checkin | |||||||||||
2017-09-14 12:57 | hgbot | Note Added: 0099037 | |||||||||||
2017-09-14 12:58 | aferraz | Review Assigned To | => aferraz | ||||||||||
2017-09-14 12:58 | aferraz | Note Added: 0099038 | |||||||||||
2017-09-14 12:58 | aferraz | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|