Book Contents

Book Index

Intrastat

Import of customs tariff

Process number: INT001

Script ID number: FCEL078

File: IST_CSImp.pas

Script description: The function is used to import customs tariff items. The codes are imported from the file kn_i_003.xml (a different file name can be entered with the NameOfFile parameter). The file must be saved in K2/SupportFiles/Lang5. The scope of the import can be limited with the Chapter parameter.

Address in the tree: [Intrastat] [Basic Settings]

Script parameters:

NameOfFile - kn_i_003.xml

Name of the file from which the customs tariff is imported.

Chapter -

A one- to six-digit value can be entered. The script imports all CS items starting with the selected value. E.g.: The value 02023 imports all items starting with 02023. If the parameter is not filled in, all values are imported.

RewriteRecords - Yes

Yes - automatically overwrites the information in the UoM, Valid From, Valid To or Description fields if it changed during the import. The value No does not overwrite the changes, but a list of changed records is displayed at the end of the script.

ChapterBreak - Yes

Yes - ends the function after the end of the chapter (see the value of the Chapter parameter).

Filling in default values

Process number: INT001

Script ID number: FCEL079

File: ISD_Init.pas

Script description: The function is used to set default values in the Intrastat parameters (Corrective quantity, Corrective value, definition of corrective values in percent, code for small consignment, small consignment value and the list of tax types for Intrastat).

Address in the tree: [Intrastat] [Basic Settings]

Intrastat - export

Process number: INT001

Script ID number: FCEL080

File: IST_Exp.pas.PAS

Script description: The function is used to export the report into the required file structure in csv format, which is then imported into InstatOnline or InstatDesk. If two documents are marked with an asterisk, one file is created. Another document can be added to an existing file.

Address in the tree: [Intrastat] [Intrastat]

Script parameters:

PathForExportVatReturnForm -

Location of the folder in which the file is created.

PackFile - No

Yes - The created file is automatically zipped.

TypeOfInvoicing - 0

Type of invoicing. 0 - Inv. value, 1 - Invoiced value + incidental costs, 2 - Invoiced value - incidental costs.

ShowAppendFileDialog - No

Yes - A question is displayed whether to append the file to an already existing file. No - the file is overwritten

Book Contents

Book Index

Assets

Create asset card

Process number: MAJ008

Script ID number: FMAJ008

File: CreateAsset.PAS

Script description: The function is used to create an asset card/cards from an item of an invoice in, other liability, release note, cash or internal document. If an analytical axis (cost centre, contract code, ...) is transferred to the card, an asset movement with the type Change assets code is created.

Address in the tree: [Assets] [Linkage with primary documents]

Script parameters:

ArticleCode - Yes

Yes - The article code from the document item is inserted into the asset card.

Book - DH

Book of assets in which the new card is created.

Category - 11

Abbreviation of the Asset category.

Code1 - Yes

Yes - Code 1 is inserted from the document item into the asset card.

Code2 - Yes

Yes - Code 2 is inserted from the document item into the asset card.

Code3 - Yes

Yes - Code 3 is inserted from the document item into the asset card.

Code4 - Yes

Yes - Code 4 is inserted from the document item into the asset card.

Code5 - Yes

Yes - Code 5 is inserted from the document item into the asset card.

Code6 - Yes

Yes - Code 6 is inserted from the document item into the asset card.

ContractCode - Yes

Yes - The contract code is inserted from the document item into the asset card.

CostCentre - Yes

Yes - The cost centre is inserted from the document item into the asset card.

CountByQuantity - No

No - 1 asset card is created, Yes - a number of asset cards is created according to the Quantity on the item. The parameter is taken into account only if User parameter Enter inventory number manually = No.

Device - Yes

Yes - The device is inserted from the document item into the asset card.

Officer - Yes

Yes - The officer is inserted from the document item into the asset card.

SerialNumber - No

Yes - When an asset card is created from a release note, the serial number is inserted into the Record No. field on the asset card (if one card is created, the first serial number is inserted into it; if the CountByQuantity parameter is set to "Yes", one serial number is inserted into each card).

The function can be run over an item of an invoice in, release note, cash or internal document.

If the Number of cards by quantity parameter is set to "No", the asset card is displayed in New mode after the function is started. The asset card is preset with information from the item/header of the primary document: Name, Quantity, Unit, Initial price and Issued on. Furthermore, the Asset category is preset from the Category parameter. If an analytical axis is transferred to the card, an asset movement with the type Change assets code is created with the codes Cost centre, Contract code, Code 1, Code 2, Code 3, Code 4, Code 5, Code 6, Article code, Device and Officer.

If the Number of cards by quantity parameter is set to "Yes", new asset cards are created after the function is started according to the Quantity on the item of the primary document, and information about the created cards is displayed. (Creating cards by quantity can only be used if the inventory numbers of assets are created automatically.)

A link to the item of the primary document (with Type "Z" - Classification) is inserted on the Assigned documents tab of the asset card. The item of the primary document then cannot be deleted.

The Create asset card function can be run only once on one item of a primary document.

Connect document item to asset card

Process number: MAJ008

Script ID number: FMAJ009

File: LinkDocumentItemToAsset.PAS

Script description: The function is used to assign an item of an invoice out, invoice in, release note, cash or internal document, other receivable or liability to an asset card. After the function is run on an item of the primary document, the book of assets is displayed - with the Enter key we select the asset card to which we want to assign the item. After the query is confirmed, a link to the item of the primary document is inserted on the Assigned documents tab of the asset card.

Address in the tree: [Assets] [Linkage with primary documents]

Script parameters:

ItemType - N

Item assignment type (ZC - Change in price, CV - Partial retirement, TZ - Technical improvement, N - For further processing, V - Retirement, Y - Information, Z - Classification).

StartAssetAction - Yes

Yes - if the item assignment type is TZ, ZC, CV or V, it runs the Technical improvement, Change in price, Partial retirement or Retirement action.

Book Contents

Book Index

Real estate tax

Book Contents

Book Index

Real estate tax - xml export

Process number: MAJ007

Script ID No.: FMAJ005

File: ZAR_DNEM.PAS

Script description: Calculation of the real estate tax return and export to xml. At the same time, the calculated tax is saved to the tax information on the asset card.

Address in the tree: [Assets] [Book of assets] [Real estate tax]

Script parameters:

ByTerritorialWorkplaces - No

Yes - the output xml files will be created per territorial office; this serves only for importing to the tax portal and checking errors in parts, the return cannot be filed this way.

Book Contents

Book Index

Property tax - setting parameters

Process number: MAJ007

Script ID No.: FMAJ004

File: ZAR_DNEM_SetPars.PAS

Script description: Parameter settings for the real estate tax return (information about the tax payer, representative, authorized person, etc.). When the form with the parameters is confirmed, the settings are always saved for the current own company.

Address in the tree: [Assets] [Book of assets] [Real estate tax]

Script parameters:

No parameters.