You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
4.4 KiB
JavaScript
110 lines
4.4 KiB
JavaScript
Ext.define('MsOpBillModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'AS_ID',
|
|
fields: [
|
|
{ name: 'AS_ID', type: 'string' },
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
{ name: 'ORDERCORP', type: 'string' },
|
|
{ name: 'ORDERCONTENT', type: 'string' },
|
|
{ name: 'TEMPLATE', type: 'string' },
|
|
{ name: 'BILLTYPE', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'INPUTDATE', type: 'string' },
|
|
{ name: 'MODIFYTIME', type: 'string' },
|
|
{ name: 'CREATEDATE', type: 'string' },
|
|
{ name: 'MBLNO', type: 'string' },
|
|
{ name: 'HBLNO', type: 'string' },
|
|
{ name: 'VESSEL', type: 'string' },
|
|
{ name: 'VOYNO', type: 'string' },
|
|
{ name: 'ETD', type: 'string' },
|
|
{ name: 'CLOSINGDATE', type: 'string' },
|
|
{ name: 'ETA', type: 'string' },
|
|
{ name: 'PORTLOADID', type: 'string' },
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
{ name: 'PORTDISCHARGEID', type: 'string' },
|
|
{ name: 'PORTDISCHARGE', type: 'string' },
|
|
{ name: 'CNTRNO', type: 'string' },
|
|
{ name: 'CNTRTOTAL', type: 'string' },
|
|
{ name: 'KGS', type: 'string' },
|
|
{ name: 'SHIPPERID', type: 'string' },
|
|
{ name: 'CONSIGNEEID', type: 'string' },
|
|
{ name: 'NOTIFYPARTYID', type: 'string' },
|
|
{ name: 'NOTIFYPARTYIDSECOND', type: 'string' },
|
|
{ name: 'SHIPPER', type: 'string' },
|
|
{ name: 'CONSIGNEE', type: 'string' },
|
|
{ name: 'NOTIFYPARTY', type: 'string' },
|
|
{ name: 'NOTIFYPARTYSECOND', type: 'string' },
|
|
{ name: 'AGENTID', type: 'string' },
|
|
{ name: 'AGENT', type: 'string' },
|
|
{ name: 'PLACERECEIPT', type: 'string' },
|
|
{ name: 'PLACEDELIVERYID', type: 'string' },
|
|
{ name: 'PLACEDELIVERY', type: 'string' },
|
|
{ name: 'DESTINATIONID', type: 'string' },
|
|
{ name: 'DESTINATION', type: 'string' },
|
|
{ name: 'NOBILL', type: 'string' },
|
|
{ name: 'ISSUETYPE', type: 'string' },
|
|
{ name: 'ISSUEDATE', type: 'string' },
|
|
{ name: 'ISSUEPLACE', type: 'string' },
|
|
{ name: 'BLFRT', type: 'string' },
|
|
{ name: 'PREPARDAT', type: 'string' },
|
|
{ name: 'PAYABLEAT', type: 'string' },
|
|
{ name: 'SERVICE', type: 'string' },
|
|
{ name: 'MARKS', type: 'string' },
|
|
{ name: 'CNTRSEALNO', type: 'string' },
|
|
{ name: 'NOPKGS', type: 'string' },
|
|
{ name: 'GOODSNAME', type: 'string' },
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
{ name: 'GROSSWEIGHT', type: 'string' },
|
|
{ name: 'MEASUREMENT', type: 'string' },
|
|
{ name: 'PKGS', type: 'string' },
|
|
{ name: 'KINDPKGS', type: 'string' },
|
|
{ name: 'CBM', type: 'string' },
|
|
{ name: 'TOTALNO', type: 'string' },
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'SHIPPERCODE', type: 'string' },
|
|
{ name: 'SHIPPERCOUNTRY', type: 'string' },
|
|
{ name: 'SHIPPERTEL', type: 'string' },
|
|
{ name: 'SHIPPEREMAIL', type: 'string' },
|
|
{ name: 'CONSIGNEECODE', type: 'string' },
|
|
{ name: 'CONSIGNEECOUNTRY', type: 'string' },
|
|
{ name: 'CONSIGNEETEL', type: 'string' },
|
|
{ name: 'CONSIGNEEEMAIL', type: 'string' },
|
|
{ name: 'NOTIFYPARTYCODE', type: 'string' },
|
|
{ name: 'NOTIFYPARTYCOUNTRY', type: 'string' },
|
|
{ name: 'NOTIFYPARTYTEL', type: 'string' },
|
|
{ name: 'NOTIFYPARTYEMAIL', type: 'string' },
|
|
{ name: 'NOTIFYPARTYCODESECOND', type: 'string' },
|
|
{ name: 'NOTIFYPARTYCOUNTRYSECOND', type: 'string' },
|
|
{ name: 'NOTIFYPARTYTELSECOND', type: 'string' },
|
|
{ name: 'NOTIFYPARTYEMAILSECOND', type: 'string' },
|
|
{ name: 'DELIVERYTONAME', type: 'string' },
|
|
{ name: 'DELIVERYTOADDR1', type: 'string' },
|
|
{ name: 'DELIVERYTOADDR2', type: 'string' },
|
|
{ name: 'DELIVERYTOTEL', type: 'string' },
|
|
{ name: 'DELIVERYTOPOSTCODE', type: 'string' },
|
|
{ name: 'DELIVERYTOCOUNTRY', type: 'string' },
|
|
{ name: 'DELIVERYTOCITY', type: 'string' },
|
|
{ name: 'PLACERECEIPTID', type: 'string' },
|
|
{ name: 'BLISSUESTATUS', type: 'string' },
|
|
{ name: 'SCACCODE', type: 'string' },
|
|
{ name: 'COPYNOBILL', type: 'string' },
|
|
{ name: 'CONTRACTNO', type: 'string' },
|
|
{ name: 'HSCODE', type: 'string' },
|
|
{ name: 'CARRIER', type: 'string' },
|
|
{ name: 'ISCONTAINERSOC', type: 'string' },
|
|
{ name: 'CARGOID', type: 'string' },
|
|
{ name: 'SIREMARK', type: 'string' },
|
|
{ name: 'YARD', type: 'string' },
|
|
{ name: 'PRINTSTATUS', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('CODETEMPLATE', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'TEMPLATEID',
|
|
fields: [
|
|
{ name: 'TEMPLATEID', type: 'string' },
|
|
{ name: 'TEMPLATE', type: 'string' }
|
|
]
|
|
}); |