Click or drag to resize
Customer Class

[This is preliminary documentation and is subject to change.]

Inkommande kund - underlag för att skapa ny eller uppdatera befintlig kund.
Inheritance Hierarchy
SystemObject
  _3LProServices.CustomerInvoiceServiceCustomer

Namespace: _3LProServices.CustomerInvoiceService
Assembly: 3LProServices (in 3LProServices.dll) Version: 15.2.1.19 (15.2.1.19)
Syntax
public class Customer

The Customer type exposes the following members.

Constructors
  NameDescription
Public methodCustomer
Constructor
Top
Properties
  NameDescription
Public propertyAddress1
Adress 1, max 50 tecken. Ange fortsättning på Name, Att: c/o eller liknande här. Not. Hamnar i Postbox i Svefaktura.
Public propertyAddress2
Adress 2, max 30 tecken. Gatu- eller boxadress. Not. Hamnar i Streetname i Svefaktura.
Public propertyCity
Postort, max 30 tecken.
Public propertyCountry
Land, max 3 tecken. Landkod enligt ISO 3166-1 alpha-2 rekommenderas. Sverige kan också anges med * eller tom sträng. Koden måste vara upplagd i 3L Pro. Not. ISO 3166-1 alpha-2 rekommenderas, då t.ex. utskrift till BGCInvoice-format kräver den tvåställiga varianten.
Public propertyCustomerId
Unik kundidentifikation. Kund ID i 3L Pro som skapas/uppdateras. Max 10 tecken. Om automatiskt uppräkning av kundnummer är aktiverat i 3L Pro, kan ett +-tecken anges för att få nästa lediga kunddummer. Förutsätter också att programmet som anropar setCustomer känner till att den är en ny kund som ska skapas (och inte en befintlig som ska uppdateras). Se också CustomerOptions.AcceptNewManualCustomerIdWhenAutoIsEnabled.
Public propertyEInvoiceLayout
E-fakturalayout. Anges om EInvoiceType är skilt ifrån NoEInvoice och om kundunik layout ska användas.
Public propertyEInvoiceType
E-fakturatyp
Public propertyInvoiceLayout
Fakturalayout. Anges om kundunik faktuarlayout ska användas framför företagets standardlayout. Not. Fakturalayout angiven i CustomerInvoice gäller framför denna.
Public propertyLanguage
Språk, max 3 tecken. Språkkod (Code) enligt register i 3L Pro. Tom sträng ger svenska.
Public propertyName
Kundnamn, max 50 tecken. Anges enligt telefonkatalogsprincipen. Exempel 1: Efternamn; Förnamn Exempel 2: Företaget; AB. Not. Text efter semikolon placeras först i samband med utskrift av faktura.
Public propertyPersonalOrCorporatId
Person- eller organisationsnummer. 10 eller 11 tecken. Exempel: 1122334455 alternativt 112233-4455.
Public propertyVatNumber
Kundens momsregistreringsnummer, max 35 tecken.
Public propertyZipCode
Postnummer, max 10 tecken.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also