You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Posting VBCS Screen (header and lines) to REST Service in ICS (upload to FTP)

edited Jul 13, 2019 7:10PM in Visual Builder 14 comments

Summary

One Header Record, Many Lines

Content

Hello,

I have a VBCS screen composed of a Header section and a Lines Section.  The header section is tied to a BO while the lines section is based on an ADP.  There will always be one header record to many Lines records.

I've created an integration in ICS to upload the screen data to two files on an FTP Server where the files will be picked up and processed via FBDI.

The payload is collected in a vbcs variable based on a variable type tied to the ICS REST endpoint.

It all works as long as I have one header (no problem) and one line.  It does not work if I have many lines as it simply just adds the first line.  The REST Service does not seem to take the array or recognize that item[i] is an array in the payload.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!