AR-运行自动开票主程序报错
问题:
在AR运行自动开票主程序时出现如下错误提示:
错误日志:
raagsp()+ 当前的系统时间为 12-09-2014 07:23:58
raagsp()- 当前的系统时间为 12-09-2014 07:23:58
Dumping data fetched from RA_BATCH_SOURCES
batch_source_name = OM_销退
auto_trx_numbering_flag = Y
copy_doc_number_flag = N
cust_trx_type_rule = I
sold_customer_rule = I
bill_customer_rule = I
bill_address_rule = I
bill_contact_rule = I
ship_customer_rule = I
ship_address_rule = I
ship_contact_rule = I
memo_reason_rule = I
term_rule = I
invoicing_rule_rule = I
accounting_rule_rule = I
unit_of_measure_rule = I
agreement_rule = I
inventory_item_rule = I
fob_point_rule = S
ship_via_rule = S
invalid_lines_rule = R
salesperson_rule = I
sales_credit_type_rule = I
accounting_flexfield_rule = I
invalid_tax_rate_rule = C
rev_acc_allocation_rule = P
gl_date_period_rule = R
create_clearing_flag = N
derive_date_flag = Y
sales_credit_rule = P
sales_territory_rule = I
receipt_method_rule = I
customer_bank_account_rule = I
related_document_rule = I
memo_line_rule = I
allow_sales_credit_flag = Y
receipt_handling_option = N
raagixpfx = 0
raagixtpf = 0
raagixddf = 1
raagixacf = 0
raagixrit = 0
raagixagd = 0
raagixatn = 1
raagixcte = 0
raagixdfd =
raagixctc = 0
raagixrmx = T
raagixfdx = 31-08-14
raagixbix =
raagixbsi = 1428
raagixbnx = OM_销退
raagixoix = 103
raagixrix = 13949265
raagixpix = 20428
raagixpai = 222
raagixuix = 0
raagixunx = SYSADMIN
raagixanx = AR
raagixlul = 28030725
raagixasc = 1
raagixrho = N
raagixrsf = 1
raagixcbf = 0
raagixuax = 1
Argtcm = 0
Argtvd = 0
raagixsnf = 1
raagixtao = 1
raagixptf = 0
raagixstf = 0
raagixrfi = 0
raagixtac = 1
raagixcai = 50269
raagixsbi = 10005
raagixcpr = 2
raagixmau =
raagixmlx = 0
raagixmbx = 655350000
raagixafp =
raagixifp =
raagixtfp =
Argbdf = 1
Argddo = -9999
&STATUS并非所有“自动会计”类型都被定义 (STATUS=arcsai() )
调用 arcdsu_do_setup() 时出错
调用 raaini() 时出错
+---------------------------------------------------------------------------+
FND_FILE 中日志消息开始
+---------------------------------------------------------------------------+
ENTERING OE_SYS_PARAMETERS.VALUE
Going to get the value for MASTER_ORGANIZATION_ID
ENTERING OE_SYS_PARAMETERS_PVT.VALUE
PARAMETER VALUE: 103
+---------------------------------------------------------------------------+
FND_FILE 中日志消息结束
+---------------------------------------------------------------------------+
raagsp()- 当前的系统时间为 12-09-2014 07:23:58
Dumping data fetched from RA_BATCH_SOURCES
batch_source_name = OM_销退
auto_trx_numbering_flag = Y
copy_doc_number_flag = N
cust_trx_type_rule = I
sold_customer_rule = I
bill_customer_rule = I
bill_address_rule = I
bill_contact_rule = I
ship_customer_rule = I
ship_address_rule = I
ship_contact_rule = I
memo_reason_rule = I
term_rule = I
invoicing_rule_rule = I
accounting_rule_rule = I
unit_of_measure_rule = I
agreement_rule = I
inventory_item_rule = I
fob_point_rule = S
ship_via_rule = S
invalid_lines_rule = R
salesperson_rule = I
sales_credit_type_rule = I
accounting_flexfield_rule = I
invalid_tax_rate_rule = C
rev_acc_allocation_rule = P
gl_date_period_rule = R
create_clearing_flag = N
derive_date_flag = Y
sales_credit_rule = P
sales_territory_rule = I
receipt_method_rule = I
customer_bank_account_rule = I
related_document_rule = I
memo_line_rule = I
allow_sales_credit_flag = Y
receipt_handling_option = N
raagixpfx = 0
raagixtpf = 0
raagixddf = 1
raagixacf = 0
raagixrit = 0
raagixagd = 0
raagixatn = 1
raagixcte = 0
raagixdfd =
raagixctc = 0
raagixrmx = T
raagixfdx = 31-08-14
raagixbix =
raagixbsi = 1428
raagixbnx = OM_销退
raagixoix = 103
raagixrix = 13949265
raagixpix = 20428
raagixpai = 222
raagixuix = 0
raagixunx = SYSADMIN
raagixanx = AR
raagixlul = 28030725
raagixasc = 1
raagixrho = N
raagixrsf = 1
raagixcbf = 0
raagixuax = 1
Argtcm = 0
Argtvd = 0
raagixsnf = 1
raagixtao = 1
raagixptf = 0
raagixstf = 0
raagixrfi = 0
raagixtac = 1
raagixcai = 50269
raagixsbi = 10005
raagixcpr = 2
raagixmau =
raagixmlx = 0
raagixmbx = 655350000
raagixafp =
raagixifp =
raagixtfp =
Argbdf = 1
Argddo = -9999
&STATUS并非所有“自动会计”类型都被定义 (STATUS=arcsai() )
调用 arcdsu_do_setup() 时出错
调用 raaini() 时出错
+---------------------------------------------------------------------------+
FND_FILE 中日志消息开始
+---------------------------------------------------------------------------+
ENTERING OE_SYS_PARAMETERS.VALUE
Going to get the value for MASTER_ORGANIZATION_ID
ENTERING OE_SYS_PARAMETERS_PVT.VALUE
PARAMETER VALUE: 103
+---------------------------------------------------------------------------+
FND_FILE 中日志消息结束
+---------------------------------------------------------------------------+
解决:
使用SQL:
SELECT GL_DEFAULT_ID, TYPE
FROM RA_ACCOUNT_DEFAULTS_ALL
WHERE ORG_ID = '897' --ou id
AND TYPE IN
('FREIGHT', 'REC', 'REV', 'SUSPENSE', 'TAX', 'UNBILL', 'UNEARN');
如果记录少于7条,说明是自动会计设置问题。
职责:AR超级用>设置 >事务处理>自动会计 ,检查自动会计设置是否完善。
posted on 2014-09-12 09:55 Leven_xiao 阅读(628) 评论(0) 编辑 收藏 举报