收款单保存接口异常,结算币别、币别、应收金额、汇率类型都有传入
json值:
'AR_RECEIVEBILL',
'{
'NeedUpDateFields': [
],
'ValidateFlag': true,
'BatchCount': 25,
'Model': [
{
'FID': 0,
'FBillNo': '00013184LG325110H',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-19'
},
'FCONTACTUNIT': {
'FNumber': 'EB-19'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '17.48',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 17.48,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1251'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160330063631',
'FREALRECAMOUNTFOR_D': 17.48
}
]
},
{
'FID': 0,
'FBillNo': '00013921XN978774S',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-49'
},
'FCONTACTUNIT': {
'FNumber': 'EB-49'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '2.37',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 1.4,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1062'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160110010395',
'FREALRECAMOUNTFOR_D': 1.4
},
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 0.97,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1062'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160110010395',
'FREALRECAMOUNTFOR_D': 0.97
}
]
},
{
'FID': 0,
'FBillNo': '00015420R6133883A',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-46'
},
'FCONTACTUNIT': {
'FNumber': 'EB-46'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '49.50',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 49.5,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1370'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160302000250',
'FREALRECAMOUNTFOR_D': 49.5
}
]
},
{
'FID': 0,
'FBillNo': '00016218KY972740X',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-56'
},
'FCONTACTUNIT': {
'FNumber': 'EB-56'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '7.28',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 7.28,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1182'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160213011154',
'FREALRECAMOUNTFOR_D': 7.28
}
]
},
{
'FID': 0,
'FBillNo': '000163842K223382U',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-45'
},
'FCONTACTUNIT': {
'FNumber': 'EB-45'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '20.17',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 20.17,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1616'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO151212000898',
'FREALRECAMOUNTFOR_D': 20.17
}
]
},
{
'FID': 0,
'FBillNo': '00016628UG2908815',
'FSETTLECUR': {
'FNUMBER': '2'
},
'FMAINBOOKCURID': {
'FREVERSEDIGITS': 'PRE001'
},
'FEXCHANGETYPE': {
'FNumber': 'HLTX01_SYS'
},
'FBillTypeID': {
'FNumber': 'SKDLX01_SYS'
},
'FPAYUNITTYPE': 'BD_Customer',
'FCONTACTUNITTYPE': 'BD_Customer',
'FPAYUNIT': {
'FNumber': 'EB-5'
},
'FCONTACTUNIT': {
'FNumber': 'EB-5'
},
'FCURRENCYID': {
'FNUMBER': 'PRE001'
},
'FReal_order_amount': '4.94',
'FEXCHANGERATE': 1,
'FDocumentStatus': 'A',
'FPAYORGID': {
'FNumber': '101'
},
'FSETTLEORGID': {
'FNumber': '101',
'Id': '100002'
},
'FSALEORGID': {
'FNumber': '101',
'Id': '100002'
},
'AR_RECEIVEBILL__FRECEIVEBILLENTRY': [
{
'FSETTLETYPEID': {
'FNumber': 'JSFS01_SYS'
},
'FPURPOSEID': {
'FNumber': 'SFKYT01_SYS'
},
'FRECTOTALAMOUNTFOR': 4.94,
'FHANDLINGCHARGEFOR': 0,
'FEmployees': {
'FStaffNumber': 'VK1565'
},
'FDepartment2': {
'FNumber': '3'
},
'FOriginalOrderId': 'CO160503007499EB',
'FREALRECAMOUNTFOR_D': 4.94
}
]
}
]
}'
当结算汇率[FSETTLERATE]传入1时,结算汇率大于0异常信息不存在!但是程序不会根据财务会计中所有对应的,外币汇率进行转换;
导致收款金额本位币等异常...........
推荐阅读