Previous Topic

Next Topic

POOrderData

property AccountCode: String readonly

property AccountFile: String readonly

property AllowManualNumbering: Boolean

property AuthorisationCode: String(8) [PO Author Code]

property BaseCurrencyCode: String(3) [CO Currency Code] readonly

property BOF: Boolean readonly

property BranchCode: String(8) [CO Branch Code] required

property Category1: String(8) [PO Category 1 Code] setting "PO\Cat1Alias"

property Category2: String(8) [PO Category 2 Code] setting "PO\Cat2Alias"

property ClassName: String readonly

property Comment: String(30) [Comment]

property ContactEmail: Boolean [Boolean]

property ContactID: Number [AP Contact ID]

property CreatedDate: Date readonly

property CreatedTime: Date readonly

property CreatedTimestamp: Date

property CreatedUserCode: String(8) [CO User Code] readonly

property CreditorCode: String(16) [AP Creditor Code] readonly required

property CurrencyCode: String(3) [CO Currency Code] readonly

property Custom1: String(30) [PO Order Custom 1 Text] setting "PO\HeadCustom1Alias"

property Custom2: String(30) [PO Order Custom 2 Text] setting "PO\HeadCustom2Alias"

property DateExpected: Date

property DateRequired: Date

property DefaultComponentCode: String(8) [JC Component Code] setting "JC\ComponentAlias"

property DefaultCostCentreCode: String(8) [JC Cost Centre Code] setting "JC\CostCentreAlias"

property DefaultExpenseCode: String(8) [AP Expense Code]

property DefaultJCTransactionType: String(1) [JCTranType] required
Values: T (Time), M (Material), D (Disbursement), N (Narrative)

property DefaultJobCode: String(16) [JC Job Code]

property DefaultLocationCode: String(8) [IC Location Code]

property DeliveryAddress1: String(40) [Delivery Address 1 U]

property DeliveryAddress2: String(40) [Delivery Address 2 U]

property DeliveryAddress3: String(40) [Delivery Address 3 U]

property DeliveryAddress4: String(40) [Delivery Address 4 U]

property DeliveryAddress5: String(40) [Delivery Address 5 U]

property DeliveryCode: String(20) [CO Delivery Code]

property DeliveryCountryCode: String(2) [CO Country Code]

property DeliveryPostCode: String(10) [Post Code]

property DepartmentCode: String(8) [CO Department Code] required

property DocumentClass: String(1) [POOrderType] readonly required
Values: O (Order), Q (Quotation), S (Standing Order)

property DocumentClassNo: String(60) [Name] calculated

property DocumentDate: Date required

property DocumentID: Number [PO Order ID] readonly required

property DocumentNo: String(30) [Document No]

property DocumentType: String(1) [DocumentType] readonly required
Values: N (Normal), H (Historic)

property Editing: Boolean readonly

property EOF: Boolean readonly

property ExchangeRate: Number [Exchange Rate] required

property FilterSort: Object readonly

property FixedRate: Boolean [Boolean]

property FxDate: Date calculated

property FxRateCache: Object readonly

property IndexName: String
ValueIndex Fields
DocumentDocumentID
CreditorPeriodDocumentCreditorCode;PeriodID;DocumentID
TypeCreditorPeriodDocumentDocumentType;CreditorCode;PeriodID;DocumentID
PeriodDocumentPeriodID;DocumentID
TypePeriodDocumentDocumentType;PeriodID;DocumentID
NumberClassDocumentNo;DocumentClass
TypeContactPeriodDocumentDocumentType;ContactID;PeriodID;DocumentID
ContactPeriodDocumentContactID;PeriodID;DocumentID
SourceSourceModule;SourceID
AuthorisationAuthorisationCode

property InternalReference: String(30) [Reference]

property InvoicedAmount: Number [FX Amount]

property InvoicedAmountBs: Number [Amount]

property IsRestricted: Boolean readonly

property Line: Object readonly

property Link: Object readonly

property ModifiedDate: Date readonly

property ModifiedTime: Date readonly

property ModifiedTimestamp: Date

property ModifiedUserCode: String(8) [CO User Code] readonly

property Name: String

property OrderedAmount: Number [FX Amount] readonly

property OrderedAmountBs: Number [Amount]

property OrderedGST: Number [FX Amount] readonly

property OrderedGstBs: Number [Amount]

property OutstandingAmountInvoice: Number [FX Amount]

property OutstandingAmountInvoiceBs: Number [Amount]

property OutstandingAmountReceipt: Number [FX Amount]

property OutstandingAmountReceiptBs: Number [Amount]

property Password: String(54) [Custom]

property PendingInvoiceAmount: Number [FX Amount]

property PendingInvoiceAmountBs: Number [Amount]

property PeriodID: Number [Period ID] required

property PostStatus: String(1) [POPostStatus] required
Values: U (Unprocessed), O (Open), P (Processed), D (Deleted)

property PrintStatus: String(1) [POPrintStatus] required
Values: U (Unprinted), P (Printed)

property QuantityInvoiced: Number [Quantity]

property QuantityOrdered: Number [Quantity]

property QuantityOutstandingInvoice: Number [Quantity]

property QuantityOutstandingReceipt: Number [Quantity]

property QuantityPendingInvoice: Number [Quantity]

property QuantityReceipted: Number [Quantity]

property QuantityShipped: Number [Quantity]

property QuotationReference: String(30) [Reference]

property QuoteGross: Number [FX Amount] calculated

property QuoteGrossBs: Number [Amount] calculated

property RateType: String(8) [CO FX Rate Type Code]

property ReceiptedAmount: Number [FX Amount]

property ReceiptedAmountBs: Number [Amount]

property RecNo: Number [Integer]

property RecordCount: Number [Integer] readonly

property RecordMax: Number [Integer] readonly

property RecordRevision: Number [Record Revision] readonly

property RegimeCode: String(2) [CO Tax Regime Code] readonly required

property ShippedAmount: Number [FX Amount]

property ShippedAmountBs: Number [Amount]

property SourceDocumentID: Number [Integer] readonly

property SourceID: Number [Source ID] readonly

property SourceModule: String(2) [Module Code] required

property SpecialPricingActive: Boolean

property TotalVolume: Number [Volume]

property TotalWeight: Number [Weight]

property ValuationDate: Date

property WasInserting: Boolean readonly

method Cancel

method CancelRange

method CreateShipment: Object

method CreateShipmentInvoiceOnly: Object

method CreateShipmentReceiptOnly: Object

method Delete

method DeleteNilLines

method DisableSums

method DuplicatePurchaseOrder

method DuplicateQuotationRequest

method DuplicateStandingOrder

method Edit

method EnableSums

method Find(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant]): Boolean

method FindExact(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant]): Boolean

method First

method GetFieldDomain(FieldName: String): String

method GetPropertyValue(PropertyName: String): Variant

method InsertPurchaseOrder

method InsertQuotationRequest

method InsertStandingOrder

method Last

method MarkHistoric

method MarkProcessed

method MarkReceipted

method MarkUnprocessed

method Next

method OpenForm: Object

method OrderFromQuote([AuthorisationCode: String, AuthorisationPassword: String]): Number [Integer]

method Prev

method Print: Object

method PrintLabel: Object

method PrintProductLabels: Object

method PropertyType(PropertyName: String): String

method Refresh

method RefreshWeightandVolume

method Reprice([CostPrice: Boolean, GSTCode: Boolean, DateExpected: Boolean, VendorCode: Boolean, Description: Boolean, JCSellPrice: Boolean, JCSellDiscount: Boolean])

method Save

method SaveDelivery

method SetPropertyValue(PropertyName: String, Value: Variant)

method SetRange(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])

method SetRangeEnd(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])

method SetRangeStart(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])

method SumDocument

event AfterDelete

event AfterPrint

event AfterSave

event BeforeDelete

event BeforeSave