I have Error #47 : Substring reference out of string when running Daily Sales Reports/Updates.
The line item information was sort of linked between 117 & 118 which was not supposed to. SO# 117 shows SO# 118's line item. I entered each SO to make sure it has correct line item information before issuing the invoices. The error occurred during the update.
Here is the detail information.
Error #47: Substring reference out of string
Program: SOWUAE
Line: 12150
General Information
File: SY_01.SOA SY_01 Tax Schedule Header File
Application: Sales Order (3.71)
L/M Level: 3.71
Program Stack
09020J:\MAS90\so\SOWUAE
02010J:\MAS90\soa\SWERRM
07072J:\MAS90\HOME\lib\_winproc
08520J:\MAS90\soa\swerrm
Open Files
Chan File
0 T124(Terminal ID)
1 SO5 S/O Invoice Data Entry Header File
2 SO6 S/O Invoice Data Entry Detail File
3 SO1 Sales Order Entry Header File
4 SO2 Sales Order Entry Detail File
5 SO2 Sales Order Entry Detail File
6 SO4 Sales Order Drop Ship Sort
7 SOX Open Order Detail Sorted By Item
10 AR1 A/R Customer Master File
11 SO1 Sales Order Entry Header File
12 SO3 Sales Order Print Sort
14 IM1 I/M Inventory Master File
15 ARV A/R Sales Tax Detail File
21 SO_30 Temporary S/O Update File - GL4
33 SO_01 Sales Order Extended Line Description
34 SO_02 S/O Invoice Extended Line Description
35 AR_13 A/R Payment Type File
50 SO_31 Temporary S/O Update File - ARN
51 SO_32 Temporary S/O Update File - ARO
52 SO2 Sales Order Entry Detail File
53 SO_03 Sales Order History - Header
54 SO_04 Sales Order History - Line Detail
55 SO_05 S/O History Extended Item Description
56 SO_03 Sales Order History - Header
57 SO_07 S/O History Invoice History Link
58 SO_08 S/O Hist Line A/R Invoice Hist Line Link
59 SO_17 Sales Order Invoice Tax Detail File
60 SO_18 Sales Order Invoice Tax Summary File
61 AR_16 A/R Open Invoice Tax Summary File
62 AR_17 A/R Invoice History Tax Summary File
63 SO_15 Sales Order Tax Detail File
64 SO_16 Sales Order Tax Summary File
65 SO_11 Sales Order History Tax Detail File
66 SO_12 Sales Order History Tax Summary File
67 GL_15 Sales Tax Master File
68 AR_15 Customer/Ship-To Tax Exemptions File
95 SY_05 Tax Class Master File
96 SY_04 Taxcode Detail File
97 SY_03 Tax Code Header File
98 SY_02 Tax Schedule Detail File
99 SY_01 Tax Schedule Header File
Please advise how to fix the error. Thank you.
The line item information was sort of linked between 117 & 118 which was not supposed to. SO# 117 shows SO# 118's line item. I entered each SO to make sure it has correct line item information before issuing the invoices. The error occurred during the update.
Here is the detail information.
Error #47: Substring reference out of string
Program: SOWUAE
Line: 12150
General Information
File: SY_01.SOA SY_01 Tax Schedule Header File
Application: Sales Order (3.71)
L/M Level: 3.71
Program Stack
09020J:\MAS90\so\SOWUAE
02010J:\MAS90\soa\SWERRM
07072J:\MAS90\HOME\lib\_winproc
08520J:\MAS90\soa\swerrm
Open Files
Chan File
0 T124(Terminal ID)
1 SO5 S/O Invoice Data Entry Header File
2 SO6 S/O Invoice Data Entry Detail File
3 SO1 Sales Order Entry Header File
4 SO2 Sales Order Entry Detail File
5 SO2 Sales Order Entry Detail File
6 SO4 Sales Order Drop Ship Sort
7 SOX Open Order Detail Sorted By Item
10 AR1 A/R Customer Master File
11 SO1 Sales Order Entry Header File
12 SO3 Sales Order Print Sort
14 IM1 I/M Inventory Master File
15 ARV A/R Sales Tax Detail File
21 SO_30 Temporary S/O Update File - GL4
33 SO_01 Sales Order Extended Line Description
34 SO_02 S/O Invoice Extended Line Description
35 AR_13 A/R Payment Type File
50 SO_31 Temporary S/O Update File - ARN
51 SO_32 Temporary S/O Update File - ARO
52 SO2 Sales Order Entry Detail File
53 SO_03 Sales Order History - Header
54 SO_04 Sales Order History - Line Detail
55 SO_05 S/O History Extended Item Description
56 SO_03 Sales Order History - Header
57 SO_07 S/O History Invoice History Link
58 SO_08 S/O Hist Line A/R Invoice Hist Line Link
59 SO_17 Sales Order Invoice Tax Detail File
60 SO_18 Sales Order Invoice Tax Summary File
61 AR_16 A/R Open Invoice Tax Summary File
62 AR_17 A/R Invoice History Tax Summary File
63 SO_15 Sales Order Tax Detail File
64 SO_16 Sales Order Tax Summary File
65 SO_11 Sales Order History Tax Detail File
66 SO_12 Sales Order History Tax Summary File
67 GL_15 Sales Tax Master File
68 AR_15 Customer/Ship-To Tax Exemptions File
95 SY_05 Tax Class Master File
96 SY_04 Taxcode Detail File
97 SY_03 Tax Code Header File
98 SY_02 Tax Schedule Detail File
99 SY_01 Tax Schedule Header File
Please advise how to fix the error. Thank you.