If you don't want to setup virtual companies, you can copy the new
entries from LedgerTable to all the other companies.
There is one condition, all your companies' needs to be in the same
database. That is, in one Axapta installation with different companies.
On the LedgerTable create a method.
void copyLedgerTable()
{
DataArea DataArea;
LedgerTable LedgerTable;
while select DataArea
Where DataArea.id != curext() &&
DataArea.isVirtual == NoYes::No
{
changecompany (dataArea.id)
{
ledgerTable = null; // Importent, otherwise you
will insert it in the original company
ledgerTable = this.data();
ledgerTable.doInsert(); // use doInsert() to not run
the insert method again and get a loop
}
}
}
In the insert method on LedgerTable, after super call the method.
Best regards
Erik
________________________________
From: ottawa_m2003 [mailto:[EMAIL PROTECTED]
Sent: 30. august 2004 17:16
To: [EMAIL PROTECTED]
Subject: [development-axapta] Virtual Company <-> Chart of Accounts
Hi,
This is following up with my earlier post.
/*********************************************/
Hi,
>
> I am putting a lot of efforts and its time consuming
> to enter the " Chart of Accounts " entries.
> Basicaly we have 2 geographical regions with 21
> countries. I am entering the same details in each
> and every 21 countries manually. Is there any way
> for data sharing so that If I can enter for one
> company, it should be automatically updated in other
> countries also.
>
> I don't mind in coidng a bit for this.
>
> Does anyone have ideas or experices with this type
> of scenario?.
>
> This is a very valuable effort for our
> implementation.
>
> Please give me some inputs / advices.
>
> Thanks in advance,
>
> Ottawa
/*********************************************/
I am trying to set up a virtual company for sharing data on chart
of accounts.
I have some steps. But I am not sure if they are right.
Can anybody help me to walk through on setting up a virtual
company?.
Your help will be very valuable in our implementation.
many thanks,
ottawa
Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129spa79j/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1093973311/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com>
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=605774196>
________________________________
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
be>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

