Vouhcer

Only one row is being inserted in voucher stg tbls

I am trying to load the follow staging tables with invoice information but it only loads the first row then it posts as completed successfully.

PS_VCHR_HDR_STG;
PS_VCHR_LINE_STG;
PS_VCHR_DIST_STG;
PS_VCHR_VNDR_STG;

I have the initial invoice info in Table CUST_INVOICE_INFO info includes PO information.
I start with DO SELECT - selecting all fields in the CUST_INVOICE_INFO table
then I go to PeopleCode action

Local Record &APHeader = CreateRecord(Record.VCHR_HDR_STG);
&APHeader.BUSINESS_UNIT.Value = "US001";
&APHeader.VCHR_BLD_KEY_C1.Value = "DORBU";