Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IC Update error

Status
Not open for further replies.

Bluejay07

Programmer
Mar 9, 2007
780
CA
Hello,

I have a procedure which inserts values into ICSHEH and ICSHED with ICSHEH.Fields("STATUS").Value = 1 (Entered).

After the line ICSHEH.Insert, I change the status to 2 (Posted) and update.

This code has been working fine when using Accpac 5.5, but as soon as the .update is executed in 5.6 I receive
Code:
View IC0640. View call failed.

Could anyone provide some assistance as to how to overcome this error in Accpac 5.6.

Thanks.

If at first you don't succeed, then sky diving wasn't meant for you!
 
There are three differences that I can tell:

- IC0632 (Shipment Detail Lot Numbers) and IC0636 (Shipment Detail Serial Numbers) are opened. I have those sections of the composition set to Nothing.

- ICSHEH.Fields("Status").PutWithoutVerification ("2")



If at first you don't succeed, then sky diving wasn't meant for you!
 
It seems like IC0632 and IC0636 are required in the compositions.

If at first you don't succeed, then sky diving wasn't meant for you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top