PeggyJo
Programmer
- May 17, 2006
- 1
I'm working on a program to receive a PO via the XAPI. I started with a one line PO and ran a macro to receive it. Using the same logic I'm getting this error:
View: PO0699. View call failed
Receipt Comment
Invalid field index: 202.
Internal error. getting old field (2698 PORCPG1.C).
Below my Pascal code. The error occurs on the FuncView.Process command. Does anyone know what this means?
RcvrView.Fields.Field[22].value := 10000;
i := RcvrView.Exists;
RcvrView.Fields.Field[41].value := 11111; //po#
RcvrView.Order := 0;
hdrseq := RcvrView.Fields.Field[0].value; //Hdr Seq
FuncView.Fields.Field[2].value := 11111; //po#
FuncView.Fields.Field[5].PutWithoutVerification('4');
FuncView.Process;
View: PO0699. View call failed
Receipt Comment
Invalid field index: 202.
Internal error. getting old field (2698 PORCPG1.C).
Below my Pascal code. The error occurs on the FuncView.Process command. Does anyone know what this means?
RcvrView.Fields.Field[22].value := 10000;
i := RcvrView.Exists;
RcvrView.Fields.Field[41].value := 11111; //po#
RcvrView.Order := 0;
hdrseq := RcvrView.Fields.Field[0].value; //Hdr Seq
FuncView.Fields.Field[2].value := 11111; //po#
FuncView.Fields.Field[5].PutWithoutVerification('4');
FuncView.Process;