Skip to content
العربية

Document-Specific Options

Most term-config options are shared across document types and are covered on the other pages (General, From-Document, Quantity Tracking, Reservation & Delivery, Pricing/Taxes/Discounts, Sub-Item). This page collects the options that surface only for specific document types — they appear on the term screen depending on the Document Type the term targets.

Where to find it

Open the document's Document Term (توجيه). The options below show up only when the term's Document Type is one of the documents noted in each group.

Stock Receipt

Applies to: Stock Receipt (توريد مخزني).

Returnable termConfig.config.returnable — Marks the receipt's accounting effect as a return so the supplier/customer side is validated accordingly.

Calculate Temp Cost By From Doc termConfig.calculateTempCostByFromDoc — Uses the from-document's cost as the temporary receipt cost instead of recalculating it.

Allow Revision Purchase From Different Supplier termConfig.allowRevsionPurchaseFromDifSupplier — Allows receiving the same item revision from a supplier other than the one originally recorded.

The Consider … For Cost family makes the cost layer/valuation distinguish receipts by the chosen dimension, so units that differ only in that dimension are costed separately.

OptionField ID
Consider Revision For CosttermConfig.considerRevisionForCost
Consider Size For CosttermConfig.considerSizeForCost
Consider Color For CosttermConfig.considerColorForCost
Consider Box For CosttermConfig.considerBoxForCost
Consider Lot Id For CosttermConfig.considerLotIdForCost
Consider Active Percent For CosttermConfig.considerActivePercentForCost
Consider Inactive Percent For CosttermConfig.considerInActivePercentForCost
Consider Sub Item For CosttermConfig.considerSubItemForCost

Stock Issue

Applies to: Stock Issue (صرف مخزني).

Returnable termConfig.config.returnable — Marks the issue's accounting effect as a return; checked when validating the supplier/customer side of the document.

Stock Transfer

Applies to: Stock Transfer (تحويل مخزني).

Transfer Type termConfig.transferType — Classifies the transfer (e.g. internal vs. inter-branch), which controls its effects.

Reverse Transfer Capability termConfig.reverseTransferCapability — The security capability required to reverse/undo a transfer.

Internal Transfer Type termConfig.internalTransferType — Sub-classification for internal transfers, governing warehouse-to-warehouse handling.

Returns

Applies to: Sales Return and Purchase Return (مردود مبيعات / مردود مشتريات).

Return Type termConfig.returnType — Selects the return mode/flavor, affecting pricing and stock handling (sales return).

Invoice Calculation termConfig.sourceInvoiceCalculation — Controls how amounts are recomputed against the source invoice (proportional, from-doc, or recalculated).

Use From Doc For Debt Ages termConfig.useFromDocForDebitAges — Uses the originating document's dates for debt-aging instead of the return's own date.

Allow Return Not Issued Invoices termConfig.allowReturnNotIssuedInvoices — Permits returning against invoices whose goods were never issued from stock (sales return).

Prevent Return Invoice If Free Items Found termConfig.preventReturnInvoiceIfFreeItemsFound — Blocks returning an invoice that contains free/promotional items (sales return).

Recreate Invoice Stock Document With Return Invoice Saving termConfig.recreateInvStockDocWithReturnInv — Recreates the original invoice's stock document when the return invoice is saved (purchase return).

Returns & Replacement — Coupons & Payment

Applies to: Sales Return / Purchase Return / SI Purchase Return and their request documents.

Mark Generated Coupon By Returned Invoice As Used termConfig.markGeneratedCouponByReturnedInvoiceAsUsed — Marks coupons that were generated by the returned invoice as used, preventing their reuse.

Prevent Return Invoice With Used Generated Coupon termConfig.preventReturnInvoiceWithUsedGeneratedCoupon — Blocks returning an invoice whose generated coupon has already been used.

Add Return To Invoice Payment Docs and Decrease Remaining termConfig.addReturnToInvoicePayment — Adds the return value into the invoice's payment documents and reduces its remaining balance.

Payment Of Invoice Installments With Return Invoice termConfig.allowPaymentOfInvoiceInstallementsWithReturn — Allows the return to settle the invoice's installments.

Sales Replacement

Applies to: Sales Replacement (إحلال مبيعات) and replacement-request documents.

Must Have Sales And Return Lines termConfig.mustHaveSalesAndReturnLines — Requires the replacement to contain both a sale line and a return line.

Prevent Save If Replaced Item Not Exist In From Doc termConfig.preventSaveIfReplacedItemNotExistInFromDoc — Blocks saving when a replaced item is not found in the from-document.

Invoices

Applies to: Sales Invoice and Purchase Invoice (فاتورة مبيعات / فاتورة مشتريات), as noted per option.

Quantity Of Invoice Should Match Stock Document termConfig.quantityOfInvoiceShouldMatchStockDocument — Validates that invoice quantities equal the related stock document quantities (purchase invoice).

Distribute Cost Based On Receipt Quantity termConfig.distributeCostBasedOnReceiptQty — Distributes additional cost across lines weighted by received quantity (purchase invoice).

Use External Wares termConfig.useExtenalWares — Treats stock as external/non-system wares, skipping internal stock validation (purchase invoice/return and sales return).

For Previous Year termConfig.previousYear — Marks the invoice as belonging to the previous fiscal year for posting and aging.

Credit termConfig.creditInvoice — Treats the invoice as a credit invoice (deferred/credit sale).

Cancellation Documents

Applies to: Reservation Cancellation and Delivery Cancellation documents (إلغاء حجز / إلغاء تسليم).

Re-commit Upper Document Of Type termConfig.recommitUpperDocumentOfType — After cancellation, re-commits the parent/upper document of the given entity type.

Remove Line With From Document If Reserved Quantity Is Zero termConfig.removeLineWithFromDocIfReservedQtyIsZero — Drops a from-doc-linked line when its reserved quantity becomes zero (reservation cancellation).

Assembly / Multi-Assembly

Applies to: Assembly Document (تجميع) and Multi-Assembly (تجميع متعدد), as noted per option.

Calculate BOM Qty From Co-Products termConfig.calculateBOMQtyFromCoProducts — Derives BOM quantities from the co-product output quantities (assembly).

Spread Issue Lines When Co-Products Qty Changed termConfig.spreadIssueLinesWhenCoProductsQtyChanged — Re-spreads the issued-material lines when co-product quantities change (assembly).

Use Planned Details For Cost Calculation termConfig.usePlannedDetailsForCostCalculation — Uses planned (rather than actual) details when calculating cost (assembly).

Distribute Cost By Avg Sales Price termConfig.distributeCostByAvgSalesPrice — Distributes the joint cost across products by their average sales price (assembly).

Calculate Co-Products From Issued Item Assembly BOM termConfig.calculateCoProductsFromIssuedItemAssemblyBom — Computes co-products from the issued item's assembly BOM (assembly).

Allow Issue And Receipt The Same Item In The Same Assembly Doc termConfig.allowIssueAndReceiptTheSameItemInTheSameAssemblyDoc — Permits issuing and receiving the same item within one assembly document (assembly).

Prevent Save If Co-Product Not In Assembly Operations termConfig.preventSaveIfCoProdNotInAssemblyOperations — Blocks saving when a co-product is not part of the assembly operations (assembly).

Distribute Cost On Source Co-Product Line Only termConfig.distributeCostOnSourceCoProdLineOnly — Restricts cost distribution to the source co-product line (assembly).

Prevent Save Without Issued Items If Using BOM termConfig.preventSaveWithoutIssuedItemsIfUsingBOM — Blocks saving with no issued items when a BOM assembly method is used (assembly).

Calc Average Sales Price From Disassembly Issue Cost termConfig.calcAverageSalesPriceFromDisAssemblyIssueCost — Derives the average sales price from the disassembly issue cost (assembly).

Create Document For Lines Which Have Status termConfig.createDocLineWithStatus — Only generates assembly documents for lines at the chosen status (multi-assembly).

Use Required Quantity For Final Materials termConfig.useRequiredQtyForFinalMaterials — Uses the required (planned) quantity for final-material consumption (multi-assembly).

Assembly Document Book termConfig.assemblyDocumentBook — Book for the assembly documents generated by a multi-assembly.

Assembly Document Term termConfig.assemblyDocumentTerm — Term for those generated assembly documents.

Glass Job Order

Applies to: Glass Job Order (أمر تشغيل زجاج).

Force Price List termConfig.forcePriceList — Forces line prices to come from a price list.

Do Not Check Items Without Price List termConfig.doNotCheckItemsWithoutPriceList — Skips the validation that items must have a price-list entry.

Do Not Force Price List When There Sales Doc In From Doc termConfig.doNotForcePriceListWhenThereSalesDocInFromDoc — Relaxes price-list enforcement when the from-document is a sales document.

Ignore Current Price When Calculating Prices termConfig.ignoreCurrentPriceWhenCalculatingPrices — Ignores existing prices during recalculation.

Approval Not Required termConfig.approvalNotRequired — Skips the approval step.

Finish Not Required termConfig.finishNotRequired — Skips the finish step.

Stock Issue Book termConfig.stockIssueBook — Book for the stock issue generated by the job order.

Stock Issue Term termConfig.stockIssueTerm — Term for that generated stock issue.

Order Delivery / Execution / Finished

Applies to: Order Delivery (تسليم أمر) and Order Execution (تنفيذ أمر).

Automatic Fill Order Items termConfig.automaticFillOrderItems — Auto-fills the delivery lines from the order items (order delivery).

Automatic Delivery termConfig.automaticFinished — Automatically generates the order-finish document on delivery (order delivery).

Order Finish Book termConfig.finishBook — Book for the generated order-finish document.

Order Finish Term termConfig.finishTerm — Term for the generated order-finish document.

Finishing Warehouse termConfig.finishingWarehouse — Warehouse used by the finishing step.

Payment With Invoice termConfig.paymentWithInvoice — Captures payment together with the generated sales invoice.

Automatic Sales Invoice termConfig.automaticSalesInvoice — Auto-generates a sales invoice on delivery (using termConfig.salesInvoiceBook / termConfig.salesInvoiceTerm).

Cost Mode termConfig.costMode — Selects how the execution cost is calculated (order execution).

Start Stock Taking

Applies to: Start Stock Taking (بدء جرد).

Missing Items Strategy termConfig.missingItemsStrategy — Controls how items present in stock but absent from the count are handled.

System Stock Calculation termConfig.stockCalculation — The method used to compute the system (book) stock for comparison.

Show Only Items That Have Stock Taking Details termConfig.showOnlyItemsThatHaveStockTakingDetail — Restricts the count list to items that already have a stock-taking detail row.

The generated stock-adjustment documents use these books and terms:

OptionField ID
Stock Issue BooktermConfig.issueBook
Stock Issue TermtermConfig.issueTerm
Stock Receipt BooktermConfig.receiptBook
Stock Receipt TermtermConfig.receiptTerm

Quality Control / Assurance

Applies to: Quality Control Document and Quality Assurance Document (مراقبة جودة / ضمان جودة).

Use Routing Details For Production Order termConfig.useRoutingDetailsForProductionOrder — Pulls routing/operation details from the linked production order into the quality document.

Item Cutting

Applies to: Item Cutting Document (تقطيع أصناف).

Generated Assembly Document Book termConfig.generatedDocAssembBook — Book for the assembly document generated from the cutting document.

Generated Assembly Document Term termConfig.generatedDocAssembTerm — Term for that generated assembly document.