kBusinessDocument
Business Document
Info
Inherits from kDataObject\kDataBasic
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
Barcode | tkCode | Barcode | - | |||||
Store | kStore | Store | ||||||
Device | kDevice | Device | - | |||||
Type | kBusinessDocumentType | |||||||
InternalDateTime | tkDateTime | Internal Date Time | ||||||
InternalNumber | tkInteger | Internal Number | - | numero progressivo (staccato dal device) | ||||
ReferenceDate | tkDateTime | Internal Date Time | - | |||||
ReferenceNumber | tkShortDescription | Reference Number | - | numero progressivo (staccato dal device) | ||||
Holder | tkBusinessDocumentHolder | Document Holder | - | |||||
Holder.Type | tkBusinessDocumentHolderType | Holder Type | - | |||||
Holder.Customer | kCustomer | Customer | - | |||||
Holder.Supplier | kSupplier | Supplier | - | |||||
Holder.Company | kCompany | Company | - | |||||
Holder.LoyaltyCustomer | kLoyaltyCustomer | Loyalty customer | - | |||||
Holder.Name | tkDescription | Name | - | |||||
Holder.Address | tkAddressInfo | Address | - | (E) | ||||
Holder.Address.Address | tkAddress | Address | - | |||||
Holder.Address.City | tkCity | City | - | |||||
Holder.Address.ZipCode | tkZipCode | Zip Code | - | |||||
Holder.Address.Country | kCountry | Country | - | |||||
Holder.Address.StateProvince | kStateProvince | State Province | - | |||||
Holder.Address.Coords | tkCoord | Coords | - | |||||
Holder.Address.Coords.Latitude | tkAngle | Latitude | - | |||||
Holder.Address.Coords.Longitude | tkAngle | Longitude | - | |||||
Holder.Address.Coords.Blocked | tkYesNo | Blocked | - | |||||
Holder.Address.CoordsValid | tkCoordValid | Valid coordinates | - | |||||
Holder.Email | tkEmail | - | ||||||
Holder.Phone | tkPhoneNumber | - | ||||||
Holder.Site | kSite | Site | - | |||||
Holder.Store | kStore | Store | - | |||||
Holder.ShippingName | tkDescription | Shipping Name | - | |||||
Holder.ShippingAddress | tkAddressInfo | Shipping Address | - | (E) | ||||
Holder.ShippingAddress.Address | tkAddress | Address | - | |||||
Holder.ShippingAddress.City | tkCity | City | - | |||||
Holder.ShippingAddress.ZipCode | tkZipCode | Zip Code | - | |||||
Holder.ShippingAddress.Country | kCountry | Country | - | |||||
Holder.ShippingAddress.StateProvince | kStateProvince | State Province | - | |||||
Holder.ShippingAddress.Coords | tkCoord | Coords | - | |||||
Holder.ShippingAddress.Coords.Latitude | tkAngle | Latitude | - | |||||
Holder.ShippingAddress.Coords.Longitude | tkAngle | Longitude | - | |||||
Holder.ShippingAddress.Coords.Blocked | tkYesNo | Blocked | - | |||||
Holder.ShippingAddress.CoordsValid | tkCoordValid | Valid coordinates | - | |||||
Holder.TaxCode | tkTaxCode | Tax Code | - | |||||
Holder.VatId | tkVATId | VAT Id | - | |||||
Holder.InterchangeId | tkInterchangeId | Interchange ID | - | |||||
Holder.LegalEmailAddress | tkEmail | - | ||||||
DocumentSequence | tkInteger | Document Sequence | - | numero progressivo preso dal documento | ||||
DocumentNumber | tkShortDescription | Document Number | - | numero progressivo completo di serie ecc.. | ||||
DocumentDate | tkDate | Document Date | ||||||
DocumentStatus | tkBusinessDocumentStatus | Document Status | - | |||||
ProcessStatus | tkBusinessDocumentProcessStatus | Process Status | - | |||||
CompleteProcessMode | tkBusinessDocumentProcessCompletedMode | Process Completed Mode | - | |||||
Operator | kStoreOperator | Operator | - | |||||
PaymentTerm | kPaymentTerm | Payment Term | - | |||||
ShippingInfo | tkBusinessDocumentShippingInfo | Shipping Info | - | |||||
ShippingInfo.Courier | kCourier | Courier | - | |||||
ShippingInfo.ShippingDateTime | tkDateTime | Shipping Date Time | - | |||||
ShippingInfo.GrossWeight | tkQuantity | Gross Weight | - | |||||
ShippingInfo.GrossWeight.Value | tkValue | Quantity | - | |||||
ShippingInfo.GrossWeight.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
ShippingInfo.Volume | tkQuantity | Volume | - | |||||
ShippingInfo.Volume.Value | tkValue | Quantity | - | |||||
ShippingInfo.Volume.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
ShippingInfo.DeliveryTerms | kDeliveryTerms | Delivery Terms | - | |||||
ShippingInfo.TrackingCode | tkDescription | Tracking Code | - | |||||
ExpectedDeliveryDate | tkDate | Expected Delivery Date | - | |||||
ConfirmedDeliveryDate | tkDate | Confirmed Delivery Date | - | |||||
HeaderDiscounts | kBusinessDocumentDiscount | Discount List | List | Owned | - | |||
VatInclusivePrices | tkYesNo | Vat Inclusive | - | |||||
Lines | kBusinessDocumentLine | Lines | List | Owned | - | |||
Expenses | kBusinessDocumentExpense | Expenses | List | Owned | - | |||
NetAmount | tkAmount | Net Amount | - | |||||
NetAmount.Value | tkValue | Amount | - | |||||
NetAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
VATAmount | tkAmount | VAT Amount | - | |||||
VATAmount.Value | tkValue | Amount | - | |||||
VATAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
VATSummary | kVATSummary | VAT Summary | List | Owned | - | |||
TotalAmount | tkAmount | Total Amount | - | |||||
TotalAmount.Value | tkValue | Amount | - | |||||
TotalAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
ExternalDocumentId | tkDescription | External Document ID | - | |||||
ExternalDocumentDate | tkDateTime | Internal Date Time | - | |||||
IBAN | tkIBAN | IBAN | - | |||||
BIC | tkBIC | BIC | - | |||||
AccountHolderName | tkDescription | Account Holder Name | - | |||||
PaymentDate | tkDate | Payment date | - | |||||
DocumentFileName | tkDescription | Document filename | - | |||||
Channel | kOmniChannel | - | ||||||
Inherited from kDataBasic | ||||||||
Code | tkCode | Code | ||||||
Description | tkTranslatableDescription | Description | - | |||||
Remark | kRemark | Remark | Owned | - | ||||
Inherited from kDataObject | ||||||||
Id | tkUnique | Id | ||||||
ClassName | tkCode | Class Name | ||||||
CreatedBy | tkCode | Created BY | - | |||||
LastModifiedBy | tkCode | Last Modified By | - | |||||
CreatedDate | tkDateTime | Created Date | - | |||||
LastModifiedDate | tkDateTime | Last Modified Date | - | |||||
RevisionNumber | tkInteger | Revision Number | - | |||||
WorkflowStatus | kWorkflowStatus | Workflow Status | - | |||||
OwnedOnRequest | tkYesNo | Is owned on request | - | |||||
Origin | kSystem | Origin | - | |||||
LastModifiedProcess | tkGuid | Last process | - | |||||
Extension | ||||||||
POSible | ||||||||
Receipt | kReceipt | Receipt | - | |||||
ReservationTemplate | kMailTemplate | Mail Template | - |
(E) : Type have an event assigned to it, look at type documentation for mode details
(A) : Property have an autocoderole, look autocoderole grid for mode details
Events
When | Method Name | Module | Parameters | On | Off | Asynch |
---|---|---|---|---|---|---|
beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
afterinsert (I) | AutoTransition | kCoreServices | ||||
afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
Inherited from kDataBasic
- class : kDataBasic
- searchproperty : description,code
- displayproperties : code,description
Used By
Class | Property |
---|---|
kReservationDeposit | ReservationDocument |
kBusinessAgreementBill | BusinessDocument |
kReturnOrder | CreditNote |