ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Foxworthy (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (OFBIZ-6722) Service createAcctgTransForPurchaseInvoice doesn't work as that I expected
Date Thu, 08 Feb 2018 22:08:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-6722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Foxworthy reopened OFBIZ-6722:
-----------------------------------

This *is* an issue that requires attention.

> Service createAcctgTransForPurchaseInvoice doesn't work as that I expected
> --------------------------------------------------------------------------
>
>                 Key: OFBIZ-6722
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6722
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Kongrath Suankaewmanee
>            Assignee: Paul Foxworthy
>            Priority: Major
>
> The problem, I want to link the glAccountId to the transaction when the status invoice
has set to "Ready to Post" and the transaction will create automatically.
> Can someone help me to check or give the reason about createAcctgTransForPurchaseInvoice
service, why we need to use this :
> <set field="debitEntry.glAccountTypeId" from-field="invoiceItem.invoiceItemTypeId"/>
> It looks very strange because glAccountTypeId and invoiceItemTypeId filed didn't link
to each other.
> And how we can get the glAccountId for this simple-method?
> <simple-method method-name="getProductGlAccountInline" short-description="Gets ProductGlAccount
on the basis of primary key" >
>         <entity-one entity-name="ProductGlAccount" value-field="productGlAccount"
use-cache="true"/>
>     </simple-method>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message