On Jan 9, 2008, at 7:29 AM, Jacopo Cappellato wrote:
David E Jones wrote:Should we consider having an error journal in the demo data by default? I'm guessing you've thought about this Jacopo and maybe you have some reasons to not do it.Yes, the error journal is already configured in the demo data for the Company party. The problem that Raj was having was probably caused by the fact that he was not using the demo data; the error reported by Anil is caused by the fact that the payment "demo10000" is associated to the TESTING organization party... and we have not still configured the accounting setup for that party.
I see. Thanks for the clarification.I took a look at the DemoOrganizationData.xml file and the PaymentsInvoices.xml file (which should be DemoPaymentsInvoices.xml or something) and the department parties in the DemoOrganizationData file are currently all separate organizations with no settings. I added PartyRelationship records in rev 610489 to that they are connected to Company.
What I'm thinking is that these will be useful for testing corporate hierarchies that would be good to support, and we might even want to do something like having the code look for PartyAcctgPreference records on parent organizations if it is not found for a specific internal org. For example with TESTING since it doesn't have a PartyAcctgPreference record, start walking the PartyRelationship tree to find groups it is in that are also internal orgs and find a PartyAcctgPreference that way.
-David
smime.p7s
Description: S/MIME cryptographic signature
