You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2019/09/28 11:06:00 UTC

[jira] [Commented] (OFBIZ-10945) loadSalesInvoiceFact doesn't get invoked on setInvoiceStatus

    [ https://issues.apache.org/jira/browse/OFBIZ-10945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939955#comment-16939955 ] 

Pawan Verma commented on OFBIZ-10945:
-------------------------------------

Hello Pierre,

I have tested this on Latest Trunk with newly created sales order and quick shipped that order, Invoice created in status INVOICE_READY and the SECA works for me and I got records in SalesInvoiceItemFact.  Am I missing some steps?

> loadSalesInvoiceFact doesn't get invoked on setInvoiceStatus
> ------------------------------------------------------------
>
>                 Key: OFBIZ-10945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10945
>             Project: OFBiz
>          Issue Type: Bug
>          Components: bi
>    Affects Versions: Trunk, Release Branch 15.12, Release Branch 16.11, Release Branch 17.12, Release Branch 18.12
>            Reporter: Pierre Smits
>            Priority: Major
>              Labels: Fact, SalesInvoiceItemFact, SalesInvoiceItemStarSchema, birt, dwh, invoice
>
> When the data warehouse has been initialised in the BI component, and a new sales invoice is generated and set to status 'Ready for Posting' following seca
> {code:java}
> <eca service="setInvoiceStatus" event="global-commit-post-run">
>         <condition field-name="statusId" operator="equals" value="INVOICE_READY"/>
>         <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
>         <action service="loadSalesInvoiceFact" mode="async" run-as-user="system"/>
>     </eca>
> {code}
> should load new records in the SalesInvoiceItemFact table.
> This does not happen.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)