Skip to content

Purchase GIN (Internal)

Creates and finalises purchase-side Goods Issue Notes — a record that goods left your premises toward a supplier, for a return, a warranty send-back or a sample out for evaluation — linked line by line to the document they came from — a purchase order, invoice, return or one of the other source documents on the Lines tab (a GRN is not among them). Read this first: FINAL does not reduce stock, does not touch moving-average cost and does not post a journal; it is a traceable paper trail. If the goods must actually leave stock and the supplier’s account be debited, raise a Purchase Return instead, or a Stock Adjustment for the physical movement alone.

Your job, and the screen for it

The jobScreen or tabRead
Record goods sent back to a supplier — FINAL moves no stock, no cost and no moneyInternal Purchase GIN listing › Create (+), then the Account and Lines tabsOverview; Lifecycle and effects
Copy lines from the order, invoice or other source document the goods came fromLines tab — copy a line from one of the five purchase-document tabs, or use Search ItemLines
Finalise the GIN — there is no VOID or DISCARD afterwardsFINAL on the edit form, or tick rows and FINAL on the listingLifecycle and effects
Take the goods out of stock and debit the supplier — not on a GINPurchase Return (Internal) applet; Stock Adjustment applet for the physical movement aloneRelated applets
Print the GIN for the driverExport tab › EXPORT AS PDF (a setting can hold it back until the note is FINAL)Applet settings
Set up branches, suppliers, items and running numbersOrganisation, Supplier, Doc Item Maintenance and Inv Item Maintenance applets; numbering for the GIN document typeBefore you can use it

Overview

The Purchase GIN (Internal) applet creates and finalises Goods Issue Notes on the purchase side: a record that goods (returns to a supplier, warranty send-backs, samples going out for evaluation) left your premises, addressed to a supplier entity. Warehouse or purchasing staff open it once the source document exists — typically a Purchase Order or Purchase Invoice, since a GRN is not among the source tabs — and before the supplier’s credit note or replacement arrives.

Read this before anything else: in the backend the Purchase GIN is a zero-movement, zero-value document. Its server document type INTERNAL_PURCHASE_GOODS_ISSUED_NOTE (short code PURGIN) carries quantity signum 0 and amount signum 0, so FINAL does not reduce stock, does not touch Moving Average cost and does not post a journal. It is a traceable paper trail, linked line-by-line to the source document. If the goods must actually leave stock and the supplier’s account must be debited, use Purchase Return (Internal) (quantity signum −1, amount signum +1) instead, or a Stock Adjustment for the physical movement alone.

Where it fits

Module: Purchasing. The GIN sits between receiving and settlement, but it moves neither stock nor money.

DirectionDocumentRelationship to the Purchase GIN
Upstream (source pickers)Purchase Order, Purchase Requisition, Purchase Quotation, Purchase Invoice, Purchase ReturnThe Lines tab can copy a line from any of these five document types and links the GIN line to its source. The picker works out each line’s open quantity from those links but does not show it: its Open Qty column is switched off, so a line already issued in full is still listed, with its original Qty. The Sales Order, Jobsheet and Delivery Order tabs are switched off too.
Sibling (stock actually moves)Purchase Return (Internal)The return is the document that takes goods out of stock and debits the supplier; the GIN only records the dispatch.
Sibling (inbound counterpart)Purchase GRN (Internal), Purchase GRN Stock InGRN records receipt; GRN Stock In is the receiving document that moves stock and feeds MA cost.
Same family, other sideSales GIN (Internal), Consignment GIN (Internal)Sales GIN is also signum 0/0; Consignment GIN (INTERNAL_PURCHASE_CONSIGNMENT_GIN) does move stock.
DownstreamSupplier credit note, replacement GRNNot linked by the applet; reference the GIN number manually.

Screens and menus

The applet has two menu items, Internal Purchase GIN (the document listing) and Line Items (every GIN line across documents, searchable by document number, item code, item name and transaction amount). HIDE_LINE_ITEMS_MENU removes the second item.

Listing. Columns: Purchase GIN No, Posting Status, Branch, Supplier Name, Purchaser, Updated Date, Created Date, Transaction Date, Created by. Toolbar: Create (+), search, advanced search, rows-per-page, a grid/pivot toggle, an inline settings gear, and a FINAL button that finalises every selected non-FINAL row. There is no VOID or DISCARD action anywhere in this applet’s code.

Create form tabs: Main Details, Account (Entity Details, Bill To, Ship To), Lines, Payment (hidden by HIDE_PAYMENT_TAB), Department Hdr (hidden by HIDE_DEPARTMENT_HDR_TAB). The CREATE button stays disabled until Main Details is valid, at least one line exists and the supplier form is valid.

Edit form (opened by clicking a listing row) shows the same tabs plus Contra, Doc Link, Attachments and Export, with RESET, FINAL (hidden by HIDE_FINAL_BUTTON), SAVE and — only when SHOW_DOCUMENT_DELETE_BUTTON is switched on in Application Settings, and only for a non-FINAL document — a DELETE whose second click must come within three seconds. On this form the Payment tab follows HIDE_MAIN_PAYMENT_TAB, not the create form’s HIDE_PAYMENT_TAB. The tab order is configurable (Default Selection, “Details Panel Ordering”) and the same panels can be rendered as vertical expansion panels (VERTICAL_ORIENTATION, or DEFAULT_ORIENTATION, which overrides it).

Edit Internal Purchase GIN opened from the listing, Account tab showing a test supplier
Edit form opened from the listing; Account tab, Entity Details sub-tab (staging tenant, test data).

Line editor (Add / Edit Line Item): Item Details (Main Details, Delivery Instruction, Department, Doc Link, Delivery Details sub-tabs), Pricing Details, Issue Link, plus Serial Number / Batch Number / Bin Number tabs that appear according to the item’s sub-item type, and Costing Details.

Line Items listing with the Edit Line Item panel open
Line Items menu: every GIN line in the tenant, with the line editor on the right (staging tenant, test data).

Settings menu (System Configuration): Application Settings, Default Selection, Printable Format Settings; plus the shared Webhook, Feature Visibility and the five permission listings. Personalization: Default Selection (personal) and Sidebar.

Configuration

Before you can use it

  • Company and branch with a main location, in Organisation. Branch, company and location are required on every GIN; picking a branch fills company and currency from the branch record.
  • Supplier entities in Supplier. Entity ID is required; credit terms are offered from the supplier’s own CREDIT_TERMS extension rows and the field is disabled until a supplier that carries them is chosen. The supplier details on the note are a copy held on the document, taken when the note was issued — see Purchase Credit Note — the supplier on this note is a copy.
  • Items in Doc Item Maintenance / Inv Item Maintenance. Serial, batch and bin tabs follow the item’s sub-item type (serial, batch or bin).
  • Running numbers for INTERNAL_PURCHASE_GOODS_ISSUED_NOTE: the Purchase GIN No. is assigned when the note is created, and the company, branch, location and custom numbers when it goes FINAL. A failed assignment is only logged — the save or FINAL still succeeds — so set up numbering for this document type before the first note; a missing number on the note is how you would find out.
  • Not required: default GL codes, tax codes, cashbooks and settlement methods — cashbooks and settlement methods only while the Payment tab stays empty. The GIN posts no journal (see Lifecycle), so none of the MISSING_DEFAULT_GL_CODE prerequisites of the invoice family apply.
  • Backend permissions: TNT_API_DOC_INTERNAL_PURCHASE_GOODS_ISSUED_NOTE_CREATE / READ / UPDATE / DELETE_TGT_GUID. FINAL uses the UPDATE permission.

Applet settings

Where settings live:

ScreenWhereWhat it holds
Settings → Application Settings (field-settings)The shared settings screenThe HIDE_* / ENABLE_* toggles below that it offers for this applet code; its tab-hide, KO-for, external-document and Line Items menu settings are not offered for this applet.
Inline gearOn 31 screens, each with its own list of settingsThe same master settings, plus per-user personal overrides. Keys that are gated out of the shared screen but listed on a gear are still editable there. The gear appears only while ENABLE_INLINE_APPLET_CONFIG is on (Application Settings; off when never set), and personal mode lists only keys the master settings have not already switched on.
Settings → Default SelectionThis applet’s own screenDEFAULT_BRANCH, DEFAULT_LOCATION, INTERNAL_PURCHASE_GIN_DETAILS_PANEL_ORDER (drag-and-drop tab order).
Settings → Printable Format SettingsThis applet’s own listing with “set default”PRINTABLE (default printable format used by Export).
Personalization → Default SelectionThis applet’s own screenShows Default Branch / Default Location, but choosing a branch fails and nothing is saved. Use the gear’s personal mode instead.

Master settings are saved by users of rank OWNER or ADMIN (through the Settings menu or the gear’s master mode). Personal mode on the gear is available to every user and stores only true overrides. A personal value wins over the applet-wide one.

The table lists every setting that is shown, saved and used by this applet. All are off / empty by default.

SettingWhat it controlsDefaultEffect when changed
DEFAULT_TRANSACTION_DATEListing date filter preset (1_day, 1_week, 1_month)empty (no filter)Pre-fills the advanced-search date range with the last day/week/month, but nothing is filtered by it: neither the first load nor a search run without editing the form applies the preset (the search uses its fields only once the form has been changed).
DISABLE_GEN_DOC_LISTINGLocks the listingoffHides the Create button and ignores row clicks — but the listing’s FINAL button still finalises the rows you tick.
HIDE_GENDOC_FINAL_BUTTONFINAL button on the listingoffRemoves the multi-select FINAL button; the edit-form FINAL button is separate. Re-openable per role by the SHOW_GENDOC_FINAL_BUTTON client-side permission (not seeded, see below).
HIDE_FINAL_BUTTONFINAL button on the edit formoffDocuments can then only be finalised from the listing.
ENABLE_PRINT_FINAL_GEN_DOC_ONLY, HIDE_EXPORT_AS_PDF_BUTTONExport taboffEXPORT AS PDF is the only way this applet prints (CSV, DOCX and ZIP are commented out, and the listing has no print). The first switch holds the button back until the note is FINAL, so a draft cannot be printed and handed to a driver; the second removes it, and then nobody prints a GIN from here at all.
ENABLE_EMPLOYEE_LOGIN_AUTO_DETECTIONPurchaser fieldoffOn a new document the purchaser is looked up from the logged-in user’s employee record.
HIDE_SALES_AGENTPurchaser field (labelled HIDE_SALES_AGENT/PURCHASER on the shared screen)offHides the field and clears its required validator; without it Purchaser is mandatory.
MANDATORY_REMARKS_FIELDRemarksoffMakes Remarks required on Main Details and on every line — a ten-line GIN needs eleven remarks before CREATE lights. A remarks box hidden by HIDE_REMARKS or HIDE_LINE_ITEM_DETAILS_REMARKS is left optional. Gear only for this applet code (Main Details and line editor gears).
HIDE_REMARKS, HIDE_REFERENCE, HIDE_PERMIT_NO, HIDE_TRACKING_ID, HIDE_CREDIT_TERMS, HIDE_MAIN_DETAILS_TRANSACTION_DATEMain Details fieldsoffHide the named field. HIDE_REFERENCE, HIDE_REMARKS, HIDE_CREDIT_TERMS and HIDE_MAIN_DETAILS_TRANSACTION_DATE are gated out of the shared screen for this applet code and are reachable only through the Main Details gear. Do not hide Credit Terms: it stays required once a supplier with terms is chosen, so a hidden, empty field keeps CREATE and SAVE grey.
HIDE_ENTITY_DETAILS_STATUS, _IDENTITY_TYPE, _CURRENCY, _DESCRIPTION, _EMAIL, _PHONE_NUMBER, _TYPE, _ID_NUMBERAccount › Entity DetailsoffHide the matching read-only supplier field.
HIDE_BILL_TO_TAB, HIDE_SHIP_TO_TABAccount sub-tabsoffHide the billing / shipping address sub-tab.
HIDE_PAYMENT_TABCreate formoffHides the Payment tab on create (gear only — the shared screen has no control for it). The edit form’s Payment tab follows HIDE_MAIN_PAYMENT_TAB, also gear only.
HIDE_DEPARTMENT_HDR_TABCreate and edit formsoffHides the header-level Department tab (gear only).
HIDE_MAIN_CONTRA_TAB, HIDE_CONTRA_TABEdit formoffEither key hides the Contra tab.
HIDE_DOC_LINK_FROM, HIDE_DOC_LINK_TODoc Link tab (header and line)offHide the “from” / “to” halves (gear only).
HIDE_COSTING_DETAILS, HIDE_DELIVERY_DETAILS, SHOW_DELIVERY_DETAILSLine editor tabsoffCosting Details tab hidden; Delivery Details hidden unless SHOW_DELIVERY_DETAILS forces it back (`!HIDE
HIDE_SEGMENT, HIDE_DIMENSION, HIDE_PROFIT_CENTER, HIDE_PROJECTDepartment tab (header and line) and line listingoffHide the dimension column and picker.
HIDE_QTY_BASE, HIDE_QTY_UOM, HIDE_UOM_TO_BASE_RATIOLine Main DetailsoffHide quantity fields.
HIDE_UNIT_PRICE_STD_PRICING_SCHEME, HIDE_UNIT_PRICE_STD_INCL_TAX, HIDE_UNIT_PRICE_STD_EXCL_TAX, HIDE_UNIT_PRICE_STD_UOM_INCL_TAX, HIDE_UNIT_PRICE_STD_UOM_EXCL_TAX, HIDE_UNIT_PRICE_NET_EXCL_TAX, HIDE_UNIT_PRICE_NET_UOM_EXCL_TAX, HIDE_UNIT_PRICE_TXN, HIDE_UNIT_PRICE_TXN_UOM_INCL_TAX, HIDE_UNIT_DISCOUNT, HIDE_UNIT_DISCOUNT_UOM_EXCL_TAX, HIDE_AMOUNT_STD_EXCL_TAX, HIDE_DISCOUNT_AMOUNT_EXCL_TAX, HIDE_AMOUNT_NET_EXCL_TAX, HIDE_AMOUNT_TXN, HIDE_TAX_CONFIG_SELECTION, HIDE_WHT_CONFIG_SELECTIONLine Main Details price / tax fieldsoffHide the field for everyone; the matching SHOW_* client-side permission (seeded for this applet) shows it again for a role.
HIDE_LINE_ITEM_DETAILS_REMARKS, HIDE_LINE_ITEM_LISTING_UOM, HIDE_LINE_ITEM_LISTING_TXN_AMOUNTLine remarks; Lines tab and Line Items listing columnsoffHide the field / column (gear only for this applet code).
VERTICAL_ORIENTATION, EXPAND_MAIN_DETAILS, EXPAND_ACCOUNT, EXPAND_LINE_ITEMS, EXPAND_PAYMENT_TAB, EXPAND_DEPARTMENT_HDR, EXPAND_MAIN_CONTRA, EXPAND_DOC_LINK, EXPAND_ATTACHMENT, EXPAND_EXPORTVertical UIoffRender the edit form as stacked expansion panels; the first EXPAND_* that is true is the panel opened by default.
INTERNAL_PURCHASE_GIN_DETAILS_PANEL_ORDERTab / panel order (Default Selection)Main Details, Account, Lines, Payment, Department Hdr, Contra, Doc Link, Attachments, ExportSaved order is applied to the edit form; new panels are appended.
PRINTABLEDefault printable format (Printable Format Settings)emptyPre-selects the template on the Export tab; the user can still pick another.

Read without a control (declared and consumed, but no shared or gear control exists for this applet code): HIDE_LINE_ITEMS_MENU (removes the Line Items menu; the shared toggle is rendered for other applet codes, not this one), DEFAULT_TOGGLE_COLUMN (single- or double-column layout) and DEFAULT_ORIENTATION (the same layout, and it also switches the edit form, the line editors and the issue-link editor between tabs and stacked panels, overriding VERTICAL_ORIENTATION). They can be set only by another applet sharing the same settings store or by API.

Saved but never applied: DEFAULT_BRANCH and DEFAULT_LOCATION from Default Selection are persisted and the shared session effect loads the branch, but no component in this applet reads them, so a new GIN opens with an empty Branch. The default company is patched into a form that has no such control and is never saved.

Dead toggles: the inline gears offer 92 keys that nothing in this applet reads. 31 of them are not even declared in its model (for example HIDE_PO_LINE_WITH_GRN_KO_LISTING, SHOW_PO_FREE_GIFT_MENU, HIDE_EAN_CODE, HIDE_ETA, the MANDATORY_*_DATE external-document keys); the other 61 are declared and still unread, among them ENABLE_EDIT_PAYMENT_DATE, CANNOT_EDIT_CURRENCY_RATE, LOCK_PURCHASER_TO_CURRENT_USER, SHOW_BUDGET and the MANDATORY_* external-document and dimension keys. Flipping one on a gear saves a setting and changes nothing here. Likewise the shared-screen toggles that this applet declares but never reads (HIDE_GENDOC_SAVE_BUTTON, the gen-doc void-button hide, HIDE_SERIAL_NUMBER, HIDE_BATCH_NUMBER, HIDE_BIN_NUMBER, HIDE_CLIENT_DOC_*, SORT_ORDER, DEFAULT_POSTING_STATUS, and so on) are saved and ignored.

Document behaviour settings

  • Posting behaviour is not configurable in the applet: FINAL is a fixed 0/0 document (see Lifecycle). FINAL_STATUS_GUID, VALIDATE_STOCK_ON_FINALIZE, the serial-validation-on-final switch (which the shared screen does not even show for this applet) and the workflow-status keys are not read by this applet.
  • Printables: Printable Format Settings manages Jasper templates for the applet; Export calls GET …/internal-purchase-goods-issued-notes/print-jasper-pdf/{guid} with the selected template. ENABLE_PRINT_FINAL_GEN_DOC_ONLY and HIDE_EXPORT_AS_PDF_BUTTON are the only switches.
  • Workflow / approval: none wired. HIDE_WORKFLOW_STATUS / HIDE_WORKFLOW_RESOLUTION are rendered on the shared screen but never read.
  • e-Invoice: not applicable. On FINAL the backend copies the skip-e-invoice flag from the branch or the supplier onto the note (it does not force it on); no LHDN submission path names this document type.

Who can change what

Client-side permissions defined for this applet (22): SHOW_COSTING_DETAILS, SHOW_LAST_PURCHASE_PRICE and the twenty SHOW_* price / quantity / tax column codes matching the HIDE_UNIT_PRICE_*, HIDE_QTY_*, HIDE_AMOUNT_*, HIDE_UNIT_DISCOUNT*, HIDE_UOM_TO_BASE_RATIO, HIDE_TAX_CONFIG_SELECTION and HIDE_WHT_CONFIG_SELECTION settings. The line editor shows the field to a role that holds the code, even if the tenant setting hides it.

Checked in code but not seeded: INTERNAL_PURCHASE_GIN_DISPLAY_PRICING (the Lines tab and Line Items listing hide unit price and amount columns for users without it; OWNER / ADMIN rank passes ClientSidePermissionChecker regardless, so ordinary users see none of those columns until the code is seeded and granted — it hides columns, not prices: the Lines tab’s Total and Tax and the unit price in the source pickers stay visible) and SHOW_GENDOC_FINAL_BUTTON (pair of HIDE_GENDOC_FINAL_BUTTON). Seeded but never checked: SHOW_LAST_PURCHASE_PRICE.

Feature Visibility and Webhook are the shared screens; the applet adds nothing to them.

Fields

Main Details

FieldMeaningRequiredNotes / validation
BranchIssuing branchYesPicking a branch overwrites Company and Currency with the branch’s own (Location: see below). Locked once the note is FINAL.
CompanyOwning companyYesFilled from the branch; hidden field.
LocationIssuing store / locationYesThe list offers only the locations linked to the branch you picked on this form; until you pick one — including on a saved note you reopen — it offers every location in the tenant. Picking a branch fills in its main location — but a branch with no main location keeps whatever was chosen before, even another branch’s location (read, not run). Check Location after changing Branch.
PurchaserResponsible buyerYes unless HIDE_SALES_AGENTAuto-filled from the employee record when ENABLE_EMPLOYEE_LOGIN_AUTO_DETECTION is on.
Transaction DateDocument dateNo (defaults to today)Editable; on FINAL the backend checks it against locked fiscal periods.
Credit TermsSupplier termsYes when a supplier with terms is selectedDisabled (and excluded from validation) until the Account tab has a supplier with a creditTerms list.
Reference, Remarks, Permit No, Tracking IDFree textRemarks only when MANDATORY_REMARKS_FIELDRemarks shows a character counter.
CurrencyDocument currencyNoCopied from the branch; disabled once FINAL.

Account

FieldMeaningRequiredNotes / validation
Entity IDSupplierYes (Validators.required)Picked from the Select Supplier listing; Name, Status, Type, Identity Type, ID Number, Currency, GL Code, Description, Email, Phone are shown read-only from the entity.
Bill To / Ship ToAddressesNoA copy of one of the supplier’s addresses, kept on this note: once picked, every line can be typed over here without touching the supplier record, and a later change to the supplier does not reach it. Pick the supplier first — choosing or changing the supplier resets both tabs to its name, e-mail and phone, and drops any address already picked.

Lines

FieldMeaningRequiredNotes / validation
ItemItem code / nameYesFrom Search Item, or copied from one of the five purchase-document tabs (see Where it fits); the Sales Order, Jobsheet and Delivery Order tabs are switched off. A copied line creates a link back to its source line for the line quantity; the picker works out an open quantity (the source quantity less what earlier GINs took), but its Open Qty column is not shown, so the screen shows only the source line’s Qty and lists the line however much has been issued. Copying sets Qty to 1 (the price comes across, the quantity does not), nothing caps it at the open quantity, and the pickers ignore the note’s supplier and branch: check the source and earlier GINs first.
QtyQuantity issuedYesValidators.min(1); default 1.
Unit price / discount / amount fieldsPricingNomin(0); defaults 0.00. A copied line brings the source’s unit prices, but its Txn Amount stays 0.00 until a price or quantity is recalculated. The Lines tab’s Total adds up the Txn Amounts as they stand, so it can be non-zero; every line is saved with amount signum 0, so none of it posts.
RemarksLine remarksWhen MANDATORY_REMARKS_FIELD
Serial numbersPer-unit serialsNo (client)Recorded in serial_no.serialNumbers; see Lifecycle for what the backend checks.
Batch: batch no, issue date, expiry date, qtyBatch trackingYes on the Batch tabPicking a batch fills in its dates with quantity 1. The same batch twice, or an expiry before the issue date, is refused; a quantity above the batch’s balance only shows “The quantity is invalid” and ADD still takes it. The Quantity total under the list is never compared with the line’s Qty, and the backend does not compare them for a GIN either, so the two can disagree.
Bin: bin code, container measure, container qty, qtyBin trackingYes on the Bin tabAll four Validators.required; the backend also rejects zero or missing container values. The Bin tab does not record a container UOM, and FINAL refuses a bin line without one (“Container Uom is null for …”; read in the code, not run), so FINAL refuses a GIN whose lines carry bins — leave the Bin tab empty and note the bins in the line Remarks.
Department (segment, dimension, profit centre, project)Analysis codesNoHidden per HIDE_* setting.
Delivery InstructionRequested delivery dateNoStored as a REQUESTED_DELIVERY_DATE document extension.

Payment and Contra

FieldMeaningRequiredNotes / validation
Payment linesSettlement-method linesNoRecorded as receipt lines (or payment lines for CASH_BACK) on this purchase document; the amount cannot exceed the note’s remaining open balance (its line Txn Amounts less payments already added). The GIN posts no journal, but if cashbook posting is switched on in your tenant and the settlement method has a cashbook, the FINAL job turns each payment line into a cashbook transaction (read in the code, not run). Leave this tab empty and record supplier settlement on the Purchase Invoice / Payment Voucher.
ContraContra entriesNoThe Select Document screen lists every active document in the tenant, of any type and any posting status; amount is limited to the chosen document’s balance. A GIN itself has no AR/AP balance.

Lifecycle and effects

Statuses: a new GIN is saved as a draft (posting status empty). FINAL is the only transition the applet offers, from the listing (multi-select) or the edit form. FINAL sends only the status — it does not save your edits, so SAVE first — and the listing sends one request per ticked row, so some rows can go FINAL while others are refused.

A FINAL document is refused a second FINAL (HTTP 403 “already been posted to FINAL”). There is no VOID, DISCARD or “set to draft” action in this applet. DELETE (edit form, non-FINAL only, and only while SHOW_DOCUMENT_DELETE_BUTTON is on) deletes the document.

Because a FINAL GIN moves no stock and posts no journal, a wrong one needs no stock or journal reversal: raise a new GIN for the right lines and put the superseded number in its Remarks, so whoever files the supplier’s credit note or replacement can match the two. The wrong note’s lines still count against their source lines, so a replacement copied from the same order shows less open quantity — check the source before you trust the picker.

What posting does:

FactValue
Document typeINTERNAL_PURCHASE_GOODS_ISSUED_NOTE, short code PURGIN
Amounts and quantitiesStored as entered, with quantity signum 0 and amount signum 0 on every line — a GIN moves no money and no stock
Journalnone. If journal posting is switched on for every FINAL in your tenant, its job fails with NO_JOURNAL_CREATED for a GIN (or earlier with another code when the company has no primary ledger or default GL codes); the document stays FINAL
Stocknone, and no effect on moving-average cost
What VOID reversesnothing; there is no VOID in this applet

What FINAL actually does:

  1. Validation: forex rate; an account-code item line with no GL code on the line, the item or an item-company link is refused (a SAVE of an existing note refuses it too); duplicate serial numbers within the document — but a GIN’s serial numbers are stored, not checked against stock nor counted against the line quantity; bins; a refusal if the transaction date falls in a LOCK_ALL / LOCK_TXN period.
  2. Update, assign running numbers, set the finalised date.
  3. Start the main posting job, which sets off the follow-on jobs your tenant has switched on, after the company’s include / exclude list. The inventory job writes nothing and marks the stock as posted; the journal job, if switched on, fails with NO_JOURNAL_CREATED (the document stays FINAL); the cashbook job, if switched on, posts any payment lines; lines are opened for a follow-on document only if the company’s Knock Off Configuration has a row for the GIN.

Related applets

Troubleshooting

SymptomCauseFix
Stock did not go down after FINALExpected: a GIN moves no stock.Raise a Purchase Return (stock out, supplier debited) or a Stock Adjustment for the physical movement; keep the GIN as the dispatch record.
Supplier balance / creditor report unchangedExpected: amount signum 0, no journal (the Lines tab’s Total still adds up any prices on the lines).Settle on the Purchase Invoice or Payment Voucher; use the GIN’s Contra tab only to attach an existing FINAL document for reference.
The journal posting job fails with NO_JOURNAL_CREATED for GIN documentsJournal posting is switched on for every FINAL in your tenant, and a GIN has no amounts to post.Harmless for the document; leave the failures. Excluding journal posting for the company would stop it for every document type of that company, invoices and returns included.
FINAL fails with “The selected date falls within a locked fiscal period”The Transaction Date is inside a LOCK_ALL / LOCK_TXN fiscal period.Change the transaction date or reopen the period in the fiscal-year configuration.
FINAL fails with a duplicated serial number errorThe same serial appears twice on the same item within the document.Remove the duplicate; note that the backend does not check whether the serial exists in stock for this document type.
CREATE stays greyMain Details invalid (Branch, Company, Location, Purchaser, Credit Terms), no lines, or no supplier.Purchaser can be dropped from the check with HIDE_SALES_AGENT; Credit Terms only becomes required once a supplier with terms is chosen — and stays required even when HIDE_CREDIT_TERMS hides it, so switch that setting off and pick the terms.
Ordinary users see no unit price / amount columns; admins doINTERNAL_PURCHASE_GIN_DISPLAY_PRICING is checked but not seeded; OWNER / ADMIN rank passes automatically.Ask BigLedger to add the code to this applet’s permission list, then grant it to the buyer role (or accept that prices are admin-only).
A toggle in Application Settings or a gear does nothingThe key is one of the declared-but-unread shared-screen keys or the 92 unread gear keys listed above (e.g. HIDE_SERIAL_NUMBER, ENABLE_EDIT_PAYMENT_DATE).No fix in configuration; the field is not wired in this applet.
Default Branch set in Default Selection is ignored on CreateDEFAULT_BRANCH / DEFAULT_LOCATION are saved but never read by the create form.Select the branch manually; personal Default Selection is non-functional too (its SAVE has no subscriber).
Tab-hide toggles (Delivery Details, Doc Link, Trace Document, KO For, ARAP) are missing from Application SettingsThe shared screen does not offer those sections for this applet.Use the inline gear on the edit form for HIDE_DOC_LINK_TAB / HIDE_MAIN_CONTRA_TAB / HIDE_DEPARTMENT_HDR_TAB; the others have no control here.
Downstream picker cannot find a FINAL GIN in its KO tabOpen-queue rows are created only when the company’s Knock Off Configuration has an enabled row for INTERNAL_PURCHASE_GOODS_ISSUED_NOTE.Add the source → target row under Organisation → Company → Knock Off Configuration, then ask BigLedger support to run the missing-queue repair for notes already FINAL; no later run creates the rows by itself.
Labels are English onlyInternationalisation is not implemented for this applet.None yet.

Related documentation

Last updated on