Ext.define('MsOpAirnModel', { extend: 'Ext.data.Model', idProperty: 'BSNO', fields: [ { name: 'BSNO', type: 'string' }, { name: 'ORDERTYPE', type: 'string' }, { name: 'MASTERNO', type: 'string' }, { name: 'CUSTNO', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'HBLNO', type: 'string' }, { name: 'BSSTATUS', type: 'bool' }, { name: 'FEESTATUS', type: 'bool' }, { name: 'BSSTATUSREF', type: 'string' }, { name: 'FEESTATUSREF', type: 'string' }, { name: 'MANIFESTSTATUS', type: 'string' }, { name: 'DRFEESTATUS', type: 'string' }, { name: 'CRFEESTATUS', type: 'string' }, { name: 'OPSTATUS', type: 'string' }, { name: 'BSDATE', type: 'string' }, { name: 'ACCDATE', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'BSSOURCE', type: 'string' }, { name: 'BSSOURCEDETAIL', type: 'string' }, { name: 'INPUTBY', type: 'string' }, { name: 'OP', type: 'string' }, { name: 'CUSTSERVICE', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'SALEDEPT', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'VESSEL', type: 'string' }, { name: 'VESSELHEAD', type: 'string' }, { name: 'VESSEL_REF', type: 'string' }, { name: 'ETD', type: 'string' }, { name: 'PORTLOADID', type: 'string' }, { name: 'PORTLOAD', type: 'string' }, { name: 'PORTDISCHARGEID', type: 'string' }, { name: 'PORTDISCHARGE', type: 'string' }, { name: 'GOODSNAME', type: 'string' }, { name: 'TRADETYPE', type: 'string' }, { name: 'TRADETERM', type: 'string' }, { name: 'KGS', type: 'number' }, { name: 'M_WEIGHT', type: 'number' }, { name: 'NETWEIGHT', type: 'number' }, { name: 'CUSTOMSER', type: 'string' }, { name: 'TRANSNO', type: 'string' }, { name: 'BLTYPE', type: 'string' }, { name: 'SHIPPERID', type: 'string' }, { name: 'CONSIGNEEID', type: 'string' }, { name: 'NOTIFYPARTYID', type: 'string' }, { name: 'SHIPPER', type: 'string' }, { name: 'CONSIGNEE', type: 'string' }, { name: 'NOTIFYPARTY', type: 'string' }, { name: 'AGENTID', type: 'string' }, { name: 'AGENT', type: 'string' }, { name: 'ETA', type: 'string' }, { name: 'ISSUEBY', type: 'string' }, { name: 'ISSUEDATE', type: 'string' }, { name: 'ISSUEPLACE', type: 'string' }, { name: 'BLFRT', type: 'string' }, { name: 'OTFRT', type: 'string' }, { name: 'HBLBLFRT', type: 'string' }, { name: 'HBLOTFRT', type: 'string' }, { name: 'MARKS', type: 'string' }, { name: 'DESCRIPTION', type: 'string' }, { name: 'PKGS', type: 'number' }, { name: 'KINDPKGS', type: 'number' }, { name: 'UNIT', type: 'string' }, { name: 'CBM', type: 'number' }, { name: 'LANE', type: 'string' }, { name: 'AIRLINES', type: 'string' }, { name: 'FORWARDER', type: 'string' }, { name: 'TRUCKER', type: 'string' }, { name: 'INVNO', type: 'string' }, { name: 'CARGOID', type: 'string' }, { name: 'CLASS', type: 'string' }, { name: 'CURR', type: 'string' }, { name: 'CUSTVALUE', type: 'string' }, { name: 'CUSTOMVALUE', type: 'string' }, { name: 'FEEKGS', type: 'number' }, { name: 'PRICE', type: 'string' }, { name: 'TTLFREIGHT', type: 'string' }, { name: 'OTFEE', type: 'string' }, { name: 'HANDINGINFO', type: 'string' }, { name: 'ACCOUNTINFO', type: 'string' }, { name: 'ORDTYPE', type: 'string' }, { name: 'ORDERNO', type: 'string' }, { name: 'INSURANCEER', type: 'string' }, { name: 'INSURANCENO', type: 'string' }, { name: 'INAMOUT', type: 'string' }, { name: 'ISVOU', type: 'string' }, { name: 'VOUNO', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'DOC', type: 'string' }, { name: 'STLNAME', type: 'string' }, { name: 'STLDATE', type: 'string' }, { name: 'OPERATORCODE', type: 'string' }, { name: 'OPERATOR', type: 'string' }, { name: 'OPERATOREMAIL', type: 'string' }, { name: 'OPERATORTEL', type: 'string' }, { name: 'OPERATORFAX', type: 'string' }, { name: 'FINANCIALSTAFFCODE', type: 'string' }, { name: 'FINANCIALSTAFF', type: 'string' }, { name: 'FINANCIALSTAFFEMAIL', type: 'string' }, { name: 'FINANCIALSTAFFTEL', type: 'string' }, { name: 'FINANCIALSTAFFFAX', type: 'string' }, { name: 'PFREIGHT', type: 'string' }, { name: 'CFREIGHT', type: 'string' }, { name: 'PSTATEMENT', type: 'string' }, { name: 'CSTATEMENT', type: 'string' }, { name: 'PTAX', type: 'string' }, { name: 'CTAX', type: 'string' }, { name: 'POTFREIGHT', type: 'string' }, { name: 'COTFREIGHT', type: 'string' }, { name: 'PCARRIEROT', type: 'string' }, { name: 'CCARRIEROT', type: 'string' }, { name: 'PTOTAL', type: 'number' }, { name: 'CTOTAL', type: 'string' }, { name: 'OTFEE1', type: 'string' }, { name: 'OTFEE2', type: 'string' }, { name: 'OTFEE3', type: 'string' }, { name: 'OTFEE4', type: 'string' }, { name: 'OTFEE5', type: 'string' }, { name: 'OTFEE6', type: 'string' }, { name: 'OTFEE7', type: 'string' }, { name: 'OTFEE8', type: 'string' }, { name: 'OTFEE1AMOUNT', type: 'number' }, { name: 'OTFEE2AMOUNT', type: 'number' }, { name: 'OTFEE3AMOUNT', type: 'number' }, { name: 'OTFEE4AMOUNT', type: 'number' }, { name: 'OTFEE5AMOUNT', type: 'number' }, { name: 'OTFEE6AMOUNT', type: 'number' }, { name: 'OTFEE7AMOUNT', type: 'number' }, { name: 'OTFEE8AMOUNT', type: 'number' }, { name: 'HSCODE', type: 'string' }, { name: 'CONTRACTNO', type: 'string' }, { name: 'CUSTOMNO', type: 'string' }, { name: 'CUSTOMDATE', type: 'string' }, { name: 'INSPECTIONNO', type: 'string' }, { name: 'INSPECTIONDATE', type: 'string' }, { name: 'ENTERP', type: 'string' }, { name: 'ENTERPID', type: 'string' }, { name: 'IsSERVICE1', type: 'string' }, { name: 'IsSERVICE2', type: 'string' }, { name: 'IsSERVICE3', type: 'string' }, { name: 'IsSERVICE4', type: 'string' }, { name: 'IsSERVICE5', type: 'string' }, { name: 'IsSERVICE6', type: 'string' }, { name: 'IsSERVICE7', type: 'string' }, { name: 'IsSERVICE8', type: 'string' }, { name: 'IsSERVICE9', type: 'string' }, { name: 'IsSERVICE10', type: 'string' }, { name: 'ISPRINTPR', type: 'string' }, { name: 'SERVICE1', type: 'string' }, { name: 'SERVICE2', type: 'string' }, { name: 'SERVICE3', type: 'string' }, { name: 'SERVICE4', type: 'string' }, { name: 'SERVICE5', type: 'string' }, { name: 'SERVICE6', type: 'string' }, { name: 'SERVICE7', type: 'string' }, { name: 'SERVICE8', type: 'string' }, { name: 'SERVICE9', type: 'string' }, { name: 'SERVICE10', type: 'string' }, { name: 'STREMARK', type: 'string' }, { name: 'TRANSREMARK', type: 'string' }, { name: 'FLYTIME', type: 'string' }, { name: 'ISVOID', type: 'string' } ] }); /* CFREIGHT CVALUEFEE CCARRIEROT COTFREIGHT CTOTAL */ Ext.define('OpSeaeShipper', { extend: 'Ext.data.Model', idProperty: 'SHIPPERID', fields: [ { name: 'SHIPPERID', type: 'string' }, { name: 'CODENAME', type: 'string' }, { name: 'SHORTNAME', type: 'string' }, { name: 'CodeAndName', type: 'string' }, { name: 'SHIPPERDETAIL', type: 'string' }, { name: 'SHIPPERTYPE', type: 'int' }, { name: 'LOADADDRESS', type: 'string' }, { name: 'DELIVERADDRESS', type: 'string' }, { name: 'ISPUBLIC', type: 'bool' } ] }); Ext.define('MsCodeOpService', { extend: 'Ext.data.Model', idProperty: 'OS_ID', fields: [ { name: 'OS_ID', type: 'string' }, { name: 'OPField', type: 'string' }, { name: 'CORPID', type: 'string' }, { name: 'SERVICENAME', type: 'string' }, { name: 'OPTYPE', type: 'string' }, { name: 'OPTYPESTR', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); Ext.define('MsOpAirnCargomb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'BSNO', type: 'string' }, { name: 'SEQUENCE', type: 'string' }, { name: 'CARGOGID', type: 'string' }, { name: 'CARGO_CODE', type: 'string' }, { name: 'CARGONAME', type: 'string' }, { name: 'BOXCOUNT', type: 'string' }, { name: 'M_WEIGHT', type: 'string' }, { name: 'WEIGHT', type: 'string' }, { name: 'CBM', type: 'string' }, { name: 'CBM_REMARK', type: 'string' }, { name: 'PRICETYPE', type: 'string' }, { name: 'PRICE', type: 'string' }, { name: 'AMOUNT', type: 'string' }, { name: 'PRICE_2', type: 'string' }, { name: 'AMOUNT_2', type: 'string' }, { name: 'WEIGHT_2', type: 'string' }, { name: 'PACKAGE', type: 'string' }, { name: 'TH1', type: 'string' }, { name: 'TH2', type: 'string' } ] });