Good morning. I am importing petty cash through Manual Check Entry using VI, and I am running into a strange problem. The Import runs smoothly, and reports no errors, and review of the import log indicates that all is well. What goes wrong though, is that if I import a check with more than one invoice, only the first invoice imports G/L and Job Distribution into AP_ManualCheckInvDetail. Any other invoices import correctly into AP_ManualCheckDetail however, making the check go out of balance. I dunno what else to try. If it is one check, and one invoice, everything is perfect. Hopefully someone has run into this. The Job follows: Job PC_MAGIC Table AP_ManualCheckHeader Compiled VIWI20 Name:t F c:\Je\PC_Magic.Name: Name: File T DELIMITED Delimi, Import File O N Next Job C er: Data Elements Dat Fie Seq N Column Name TypeType Oper Col Mask Default Value 0001 H.BankCode STR STD REPL 1 Start: 1 Len: 0002 H.CheckNo STR STD REPL 2 Start: 1 Len: 0003 H.CheckDate STR DATE REPL 3 M/D/Y 0004 H.APDivisionNo STR STD REPL 4 00 0005 H.VendorNo STR STD REPL 5 Start: 1 Len: 0006 H.CheckType STR STD ASSN 6 Start: 1 Len: N 0007 H.BatchNo STR STD REPL 7 Start: 1 Len: 0008 H.CheckAmt NUM STD REPL 8 ###,###,###. 0009 L.InvoiceNo STR STD REPL 9 Start: 1 Len: 0010 L.InvoiceDate STR DATE REPL 10 M/D/Y 0011 L.InvoiceAmt NUM STD REPL 11 ###,###,###. 0012 T.CompanyCode_001 STR STD REPL 12 Start: 1 Len: 0013 T.AccountKey STR STD REPL 13 Start: 1 Len: 0014 T.JobNo STR STD REPL 14 Start: 1 Len: 0015 T.CostCode STR STD REPL 15 Start: 1 Len: 0016 T.CostType STR STD REPL 16 Start: 1 Len: 0017 T.DistributionAmt NUM STD REPL 17 ##,###,###.00- 0018 H.CompanyCode_001 STR STD ASSN 18 Start: 1 Len: CompanyCode This is my test data: "P","016350",1/8/2014,"02","JURUPA","N","CHARL",200,"13261","01/08/14",100,"CCW","420020600","MG0007","010000000","M",100 "P","016350",1/8/2014,"02","JURUPA","N","CHARL",200,"13251","01/07/14",100,"CCW","420020600","MG0006","010000000","M",100 Thanks in advance, ChaZ
↧