UAVCEO Posted September 7, 2008 Report Posted September 7, 2008 I am having problems importing schedules. I converted them, but it always says I have an invalid code or the 'code' does not exist. Quote
Administrators Nabeel Posted September 7, 2008 Administrators Report Posted September 7, 2008 You need to pre-create all of the airlines you will use, and use the correlating airline codes. For instance in my import file i use the codes ABC and XYZ, I need to add an airline with ABC as its code, and another with XYZ with that code (XYZ Airlines). Hopefully that helps. Quote
UAVCEO Posted September 7, 2008 Author Report Posted September 7, 2008 Okay, so what would be necessary if I create it in excel and then convert it to csv? EDIT: I should mention that my VA is based off United Airlines, so that is why I am not going to manually do the schedules on the program, for there are way too many flights. If you would like to see the excel file, I'll sent it to you. Quote
UAVCEO Posted September 7, 2008 Author Report Posted September 7, 2008 I tried something, but this happened.UAL1 was not added, reason: Cannot add or update a child row: a foreign key constraint fails (`unitedva_unitedva/phpvms_schedules`, CONSTRAINT `phpvms_schedules_ibfk_2` FOREIGN KEY (`aircraft`) REFERENCES `phpvms_aircraft` (`name`) ON UPDATE CASCADE) Quote
Administrators Nabeel Posted September 7, 2008 Administrators Report Posted September 7, 2008 It means the aircraft doesn't exist in your list, so you need to add it. Make sure the name of the a/c is the same that you use in the csv file (the name, not the fullname or icao, but the name, like B747-400), they both need to be identical. Quote
UAVCEO Posted September 7, 2008 Author Report Posted September 7, 2008 I was a little oblivious that there was a template to fill the schedules with, and the fields were different, so I copied and pasted it into the correct fields and they work! Quote
UAVCEO Posted September 7, 2008 Author Report Posted September 7, 2008 If you reject a PIREP, is there a way to edit it? Quote
Administrators Nabeel Posted September 7, 2008 Administrators Report Posted September 7, 2008 Haha yup, I should make that more obvious.No you can't edit it, I guess re-submit it. I can't remember atm. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.