Function | Script | PNR Example |
---|---|---|
Profile Approver Email | //Profile Approver Email var an=UserPnrData.UserBooking.PreTripApprovalInfo.ProfileApproverEmail; if(((UserPnrData.DataType=="new")||(UserPnrData.DataType=="hold")) && (an!=undefined)) {out.print("5UD3 " + an);} | |
Pending | // Output PTA Pending | |
Approved | // Output PTA Approved | |
Declined | // Output PTA Declined | |
Expired | // Output PTA Expired if (UserPnrData.UserBooking.PreTripApprovalInfo.CurrentApprovalState=="EXPIRED") {out.print("P:PTA - EXPIRED" );} |
Skip to end of banner
Go to start of banner
Custom PNR Editor Script Samples for Pre-Trip Approval (PTA)
General
Content
Integrations
Add Comment