�ܷ�����

����

�ܷ������ǻ�����ģ����ǹ�Ӧ�̣�Ӧ���˻������ͻ� ��Ӧ���˻����Լ����ȴμ������ʵ����ġ������ӷ����ʵ�����Ҳ�ᱻ��ʾ���ܷ����ʵ������С����������������ӷ����ʵ������������ʾ���ܷ������У��ܷ������еĴ������������Ӧ�գ�Ӧ���Ϳ�����Ļ���ӷ����ʶ��Զ�������

Ȼ����EMP���ṩ��һЩ��ʩ����


��ƿ�Ŀ��

��ƿ�Ŀ�������ʿ�Ŀ�ĸ����󣨶������������̵��˶��ԣ������������˻����Ŵ���ƿ�ĿȺ������--������������ڻ�ƿ�Ŀ���е��ʲ���ծ���˻���ô���Ͳ�����һ�������˻������˻���һ����ʾ������ƽ����У����ջ�ƿ�Ŀ����ָ����˳��

ʹ�����ֱ���ϵͳ��ֹ���ֶ���������ƽ����ʽ�������������㲻�ò������˻��������������µĸ�ʽ������
10100 motor expense Copenhagen

10110 motor expenses The Hague

10120 motor expense Amsterdam

��������������ʽ������ϣ��Copenhagen expenses ��ʾ��һ��The HagueҲ����ʾ��һ��ȵȡ����DZ��������롣����web-ERP�У�������Ҫ���ľ��DZ����ƿ�Ŀ�顣�ڵ�һ����������ǽ�Ϊmotor expenses ����һ����Ŀ�飬����������Щ�˻�����ᱻ����Ϊ���������Ŀ�顣�ҿ�ͨ����������ƽ������е�˳����������ƿ�Ŀ����ʾ��λ�á�ͬһ��ƿ�Ŀ���е������˻�����ʾ��һ��������Ǿ����ı�����ƽ���The hague expense��Ϊһ�������ijɱ�������ʾ�����ǿ���ΪThe Hague���۳ɱ�����һ����ƿ�Ŀ��--����������Σ���motor expenses the Hagues �˻�����10110��ɸĻ�ƿ�Ŀ���һ���ӡ�

��ƿ�ĿȺ��Ҫ��������ƽ�����ָ���˻�˳��������˻������������˻������ʲ���ծ���˻���

�ʲ���ծ���˻���ֻ�����ڻ����ĩ���������˻����Ļ���ڼ�ı䶯�����磬���������ã���������ĩ�в���ô��������Ƕ��٣��������������ڼ����ǹ������˶��١�Ȼ������Ӧ�����˻�������ϣ��֪��Ŀǰ�����ж������������˻��ı䶯����ǰ�������˻�������Ϊ��ƿ�Ŀ���һ���ӣ������Ŵ���ƿ�Ŀ������ʣ����磬������Եû�ƿ�Ŀ�����ʲ���ծ���飬��ô����˻�ҲӦ�����ʲ���ծ���˻���


�����˻�


ijЩ���ʿ��Զ���Ϊ�����˻�--���Զ����κ���Ҫ�����������˻����ڶ���һ�������˻�Ϊ�����˻�ʱ������ָ���˻��Ļ��ҵ�λ������Ϊ�����˻����ܷ����ʻ����������еĶ��˵��˶ԣ�ʹ�ú˶Թ��ߣ�--���е��տ�͸���������˻��Ļ�����ʾ����������˵��˶ԡ�ʹ���տ���߸������������˻������Ҵ�����һ���ܵ��տ�򸶿��Щ�������Ա������еĶ��˵��˶ԡ�ʹ�����и���ҳ�棬�ܷ����ʸ�����Ա��ֽ⵽�κ������������ܷ����˻������Ƕ��������˻�ֻ��һ�����롣���ҳ��Ҳ�������������Ӧ�̵��˻������Ƶģ�ʹ���տ�����ҳ�棬ͬʱ�������е����Թ˿͵�һϵ���տ���Ա� һ�����һ�������˻��������ڶ��˵���ֻ��һ����Щ�տ����������������˽��ױ����������ҿ������������еĶ��˵��˶Դ�

�����˻������������˻�ά��Bank Accounts Maintenance����������.�й����������˻����ƣ��˻��Ļ��ң������˻���������е�ַ����Ҫʱ�����Լ�ѡ��������Ӧ���ܷ����ˡ�EMPϵͳ�����������༭���ڵ������˻���¼��ɾ�����ǡ�Ȼ����һ������Ϊָ��һ��������ܷ����ʴ��룬��������ܷ����ʵĴ���Ͳ������ٱ����������Ϊ����˻������Ѿ������롣���Ƶģ������������˻��Ѿ����������˽��ף����Ͳ����ܱ�ɾ���������˻��Ľ��ױ������ȱ�ɾ��������Ŀǰû�й��߿���ɾ�����н��ף�������Ѿ��н��׷�����Ҳ���ܸı����еĻ��ҡ�

һ�����е��տ�͸��������еĽ������ϣ����Դ�ӡ���ж��˱���ʾĿǰ���ܷ�����������������˻������н���� ������������Ҳ�ṩ��һ��ѡ��������ڲ���ʹ��Ŀǰҵ��Ļ��ң����ػ��ң��������������˻����Դ�����ʵIJ��졣���ܷ������У��˻�����ñ��ػ���ά ����Ϊ�����ж��ˣ�����ת��Ϊ�����˻��Ļ��ң��Ի��ұ��еĻ��ʼ��㣨�ο�����-->����ά����--������ʿ��Ա��ֶ�����Ϊ����Ļ��ʲ����˻��� �����һ�ת��--Ϊ��У����������ʲ�����Ҫ����¼���������н��㵥�����տ�͸���֮��--���н����������������ϵͳ�����˶�-�����һ���� ���������Ի��ʲ�����л�ƴ������ˣ������˵��ܷ����ʱ�׷��Ϊǰ���µĽ�������--��Ϊϵͳ������˷�����Ŀǰ���ڵļ�����߼���֮��
�����˻�����

���ܷ����ʱ�ǩ�������µĵ�һ�����Ӿ��������˻�����Bank Account Payments��

��Ҫ�������ݣ�


������Բ������ָ�ʽ--�������ܷ����ʵĸ�������Ƕ�һ����Ӧ�̵ĸ���ܷ����˵ĸ���Ҫ��һ������--���������ι��˵��ܷ����ʡ��ܷ������˻����Ա� ��ָ��--ֱ�Ӱ��˻����루����˻�������֪�����ߴ�ѡ�����ѡ���κ������ڴ��ܷ����ʵ�����Ҳ��������--��ͬ���Թ��˵���ѡ/������˻��Ľ��� ���ܶ���Ϊ��������ļ��ܱ����㡣������е������ܺ�Ϊ��������ô�����Ϊ���ĸ�������--�����������Ը������������貆�����������Ը����Dz��õĻ��� ����--ת����ϵͳ�������������˹��˵ȡ�

�ܷ�������������

�����˻����� �����ϵ��ܷ������У����Ҳ�����û���ܷ����ʵ�����µ������ڡ�ÿ��׶���¼�������ط�����ʽ���ˣ�������ͨ�������˻����Ӧ�������˻���ͬʱҲ��� ¼����֧���ķ����˻���--���磬�ľߣ�ȼ�ϣ����֣�������������һ��������Ϊ�跽������ߣ���һ����Ϊ���������ұ�--����鿴����ƽ���ʱ�� �跽Ӧ�������һ�£��������ƽ��--�ܷ����������б�Ӧ��Ϊ�ܵĽ跽�������ܵĴ�����

�������ۣ�Ӧ���˻�AR)�Ͳɹ���Ӧ���˻��������ʣ��ܷ����ʹ��˿��Ա��رգ��������ڹ�˾������Ļ�趨���ǵı�־Ϊ No.11.

���ϵ��ܷ����ʹ����ṩ��һ����ϸĿ�Ļ��������ҵ�Ļ�ƿ�Ŀ�ĺ÷�����
�����������ˮƽ��������ѡ��
1.
ֻ�ǰѽ���debtors��sales���������ܷ�����

����ÿ�����۴����ܷ������ռ������£�

DR
�跽����ͳ���˻�--�ڹ�˾������Ļ����

CR
���� �����˻�--��ͬ�˿����۵ص㣬���۲�Ʒ�Ŀ��������������ࣨ��Ŀ��һ���塣���������ι����ṩ�˺ܴ������ԡ�

CR
����˰�յ�taxgl �˻�����˰��ֶ����У������ܷ������й˿ͷ�֧�������ڵ�˰��ֵĴ��룩��Ҳ����ֻ��һ���ܷ����˴��룬ʹ��һ���ܷ����˻������������е����۵ص㣬����������������--�ο����������ܷ����ʴ��벿�֡�
���ڴ���ƾ֤�պþ����෴�Ĺ��̡�
�յ��ֽ�ʱ��
CR
���� ����ͳ��--�ڹ�˾�����ж��� DR��� �����˻�--�������˻������ж��塣

Ҳ���ܷ���������Ϊ�ۿۺͻ��ʲ������ã�����������б������ˡ�
���ˮƽ������ȷ�������й˿��˻���ʹ�ñ��ػ��ң�������б��������ܷ������еĽ跽ͳ���˻�������

2.
�ѿ��Ҳ���ϵ��ܷ�����

��ÿ������

��ÿ��������ۣ��Ա�׼�ɱ�����CR �����ֵ--������ܷ������ڴ�������¼�ж��塣

DR
��� �������۳ɱ� Cost of Goods Sales(COGS-����COS)ʹ��ͬ���ijɱ�--�������۳ɱ����ܷ����˻�COGS GLҲ�����Ƶ�����ԣ���ͬ�����ܷ����������������������ò˵� AR/PRѡ���¶��塣
���ڴ���ƾ֤�������෴�Ĺ��̡�

���ʹ����ֵ���ܷ������б��������£�����������һ��׼�ɱ�����Ŀ���ֵ��ȡ�

���ˮƽ������Ҳ�и��ӹ��ܽ��п��������������Ϳ��ɱ������

�Կ�������������������չΪ�Ա�׼�ɱ��Ƽ۵Ľ������루CR������ע�� ��DR�����������ܷ�����stock adjustment GL account������˻��ɸû���Ŀ�������¼��ָ����

�����--�����Ʒʹ�ñ�׼�ɱ��Ƽۣ���������Ϊ��

DR
��ǡ�����׼�ɱ�x�յ�������--�����˻��ڸû���Ŀ�������¼stock category record�ж���.
CR
���� GRN��;���ϱ�׼�ɱ�X�յ�������--����˻��ڹ�˾������Ļ��ָ����

����ˮ׼���ܷ����������ǣ�

����ռ��ˣ��������۳ɱ����м���跽�������ڿ���˻��������--������������ƾ֤ʱ��������̡�

�ܷ����������ɹ�˾����ҳ�����ñ�־������

�����ռ���

���ˮ׼���ϵ��ܷ����������¼����������.


�����ܷ��˻���α��������߼������嵽������ܣ����������������ҵ����Ҫ����Լ򵥡�

������պͽ���ͳ���˻��ڹ�˾����ҳ�涨�塣


˰���˻�����������������Ʊ�˿Ͷ�Ӧ��˰��ֶ����ж���ġ�
����ռ���


�����������۽��׵��ܷ��� �˻���ͨ��ʹ�����۵�����������Ʊ/�Ǵ����Ĺ˿��������࣬������Ʊ/�Ǵ����Ŀ����ƷĿ¼���������ܷ����˻���ά�������ҿ��Դ����ñ�ǩ�е����� “COGS GL Interface Postings" �����۳ɱ� �ܷ����˹��˽��棩�޸ġ�����������ͬ�����߼������ҹ��ܶ�����ͬһ���ű�GetSalesTransGLCode.inc�У��������Һ��ʵ��ܷ����ʴ� ��GL codes. �����ܷ�����ʻ����ξ������߼������ں��� GetCOGSGLAccount���������Ϊ��Ӧҵ������Լ򵥡�

���۳ɱ�������˻��ɱ����۳��IJ�Ʒ�ο��ž�������һ����Ŀ����Ŀ�����ݣ������ڴ˿���Ŀ���ܷ����ʴ��뱻ʹ�á�

���ڿ������������˻�Ҳ�������Ŀ��¼stock category record�IJο��ž�����

����ɹ�����ı�׼�ɱ�������ʵ�ʵĿ�����Ʊ�ijɱ����챻���������˻�������˻�Ҳ�ɿ���Ŀ��¼stock category record������

EDI
�������ݽ���


EDI
����������ݽ���--���׻��֮�佻����Ϣ�ĵ��ӽ���������α������ֽ��ף��кܶ��׼����㷺ʹ�õ���UN/EDIFACT������������׼EANCOM �������ʵ���ϣ��ܶ๤ҵ��֯ʹ�ñ�׼��ʽ��������Щ��ͬ����Щ��ҵ�ڵ���ҵʹ����ҵ��׼��Ҳֻ��Щ��ͬ�����ս������׼ֻ��һ����ܣ������涨ʵ �ʵ���Ϣ����ۡ���EMP��ʹ��EDI�� �ڷ�����Ϣ�ͽ�����Ϣ�ı�����ṩ��һЩ����ԡ�EDI ��Ϣ����Ϊû�������ʽ���ļ���������config.phpָ����·���У���ΪEDI��������Ϣ��ϵͳҲ���ַ�����EDI��Ϣ��log��־�ļ��������Ϣ ������Ϊ�����˿��ṩ���ʵ�ַ�ĵ��ʸ�������������ͨ��ftp���˿��ṩ��ftp��������ַ--ʹ�ù˿��ṩ��ftp�û��������롣
EDI
����

Ϊʹij���˿͵�EDI������Ч�����ȴ�ѡ��˿�����ѡ��˿ͣ�Ȼ�����������--�˿�EDI����Customer EDI Configuration�����ҳ������ѡ�����ڵ��Ӵ��ݵĽ������࣬Ŀǰ���з�Ʊ/����ƾ֤�Ͷ�������ʹ�á�ÿ������ر𼤻ÿ���˿ͱ��������ǵģ�


��������������Ϊftp--�������PHP--�ñ�豝enable-ftp���ܶ�windows PHP��װ�����Ĭ谻���á�ftp���������û���������ĸ�����λҲͬ����Ҫ��

Ҫ����EDIҪ���͵ķ�Ʊ�IJ�ѯ���ű�EDISendInvoices.php���밴�ƻ�����--ʹ��cron���������ļƻ�ϵͳ--�ο��Զ��������۱��档ͨ�������������Ҳ�����ù��� menu Z_index.php�����С�

Ҫ����EDIҪ����Ķ����IJ�ѯ���ű����밴�ƻ�����--ʹ��cron���������ļƻ�ϵͳ

����EDI��Ʊ

EDI
��Ϣ���ɱ�������ڶ����ϵ�ijЩ������ɡ����ڹ˿�Ҫ���EDI��Ʊ���ڸ�ʽ����Щ΢��ͬ����ȷ�� ��ʽ�����ڱ�� EDIMessageFormat�ж��塣���ű��е���Ŀ�е����ֿ��԰����κ����ȶ����EDI��Ʊ��������Щ�����á�      �����壬������������Ϊ�������ֿ����������ʵ���ֵȡ����

EDI Invoice Detail Section EDI��Ʊ豽ϸ����

EDITransNo

The unique EDI transaction number Ψһ��EDI���׺���

InvOrCrd

Whether the transaction is an invoice or a credit - the value of this variable is an EANCOM defined number, 388 for a tax invoice and 381 for a credit note
�����Ƿ�Ʊ���ߴ�����--���������ֵ��EANCOM��������֣�388Ϊ˰�շ�Ʊ��381Ϊ����ƾ֤��

TransNo

The transaction number of invoice or credit��Ʊ���ߴ���ƾ֤�Ľ��׺���

OrigOrDup

Whether the transaction is a duplicate or original sending the value of this variable is an EANCOM defined number 7 for a duplicate and 9 for an original
������һ����ӡ������ԭ���������ֵ��EANCOM����Ϊ��ӡ��Ϊ7��ԭ��Ϊ9.

TranDate

The transaction date in the format CCYYMMDD�������ڸ�ʽΪCCYYMMDD

OrderNo

The original order number - only for invoicesԭʼ�Ķ�������--�������ڷ�Ʊ

CustBranchCode

The customer's internal code for the branch �Ը÷�֧�������˿͵��ڲ���

CompanyEDIReference

The customer's EDI reference code�˿͵�EDI�ο�����

BranchName

The branch name��֧��������

BranchStreet

 

BranchCity

 

BranchState

 

TaxAuthorityRef

The businesses Tax Authority reference numberҵ��˰��ֵIJο�����

DatePaymentDue

The due date for this transaction���׵�����

TaxTotal

The total amount of tax on the transaction���׵�˰������

EDI Invoice Detail Section - for the lines on the transaction�����ڽ����е���


LineNumber

  �к�

StockID

The EMP item code�������

CustStockID

The customer's internal code for the item
�˿��ڲ�ʹ�õĻ������

ItemDescription

 

QtyInvoiced

Quantity invoiced or credited
����Ʊ/����ƾ֤������

LineTotalExclTax

The total for the line excluding tax
����˰�Ĵ��е�����

UnitPrice

Unit price for the item����ĵ���

LineTaxAmount

The tax applicable to the line
�����ڴ��е�˰

EDI Invoice Summary Section EDI��Ʊ���ܽᲿ�� 


NoLines

The total number of lines on the invoice/credit��Ʊ/����ƾ֤��������

TotalAmountExclTax

Total amount of the transaction excluding tax����˰�Ľ����ܶ�

TotalAmountInclTax

Total amount of the transaction including tax��˰�Ľ����ܶ�

NoSegments

The total number of segments in the transaction this is required as a control check in the summary
������е��ܵķ����������ⲿ����Ϊ�ܽ�Ŀ��Ƽ��㡣


����кܴ������Ծ�����Щ��Ϣ��ζ��塣�ܽ��ͷ���ı��������õ��κβ��֡�ϸ�ڲ��ֵı���ֻ����Ӧ�õ�ϸ�ڲ��֡�

�ܶ�˿ͻ�Ҫ��豝�𿪷�Ʊ�Ļ������䵽�ķ�֧����������ͨ���˿͵Ĵ���ϵͳ豝��ġ���ˣ�ȷ���˿ͷ�֧��������ʵ���϶�Ӧ��EMP�ķ�֧��¼�������Ƿdz���Ҫ�ġ�����CustBranchCode���ӷ�֧�����ļ�¼��ȡ���������û�б����룬��ôEDI���׻�ʧ�ܡ�


��Щ�˿ͻ�Ҫ��������ʹ�������Լ��Ĵ��������EMP�еĴ��롣����CustStockID �ӽ���ο��� EDIItemMappingȡ�������ű��а����˹˿Ϳ��ܹ����ÿ�ֻ���Ľ���ο���¼��

����EDI��Ʊ�Ľű���EDISendInvoices.php��Ӧ�� ��Ϊһ��ƻ��������ں�̨�Զ����С��������ȵõ�һ�Ű�������Ӧ�յ�EDI��Ʊ�����ߴ���ƾ֤���˿͵ı�--�����ǵ�DebtorsMaster��¼���� �����ű���豖��ÿ���˿ͣ����򷵻ػ�û�з����ķ�Ʊ���ߴ���ƾ֤��һ��û���κ������ʽ���ļ��ᱻ�����������Ӧ���еĹ˿ͷ�Ʊ�ʹ���ƾ֤������ʹ�÷� �ͣ���ַ�������������ڹ˿�EDI����ҳ�У���Ӧ��DebtorsMaster��¼���IJ����͸��˿͡�����һ�����ӣ�ȷ���ű����ֶ�����--�����Ҳ���� ʾEDI��Ϣ�������