TableExtension 39 Purchase Line
TableExtension 18091263 EOS028 TableExt 18091263
Fields
EOS Ref. Surcharge Line No. (18091264
)
Integer
“EOS Ref. Surcharge Line No.” contains the line number of the item configured to maintain a link with its accessory lines (surcharges, optional).
EOS Unconfirmed Charac. (18091288
)
Boolean
FieldClass: FlowField
CalcFormula: exist("EOS028 CFG Doc. Line Charac." where("Source Type" = const(Purchase), "Document Type" = field("Document Type"), "Document No." = field("Document No."), "Line No." = field("Line No.")))
If the configurator is used in lite mode, this field expresses whether the user using the configurator has already responded to the characteristics, which must be confirmed by the user who has complete privileges for using the configurator, giving life to everything the configuration cycle (item, variants, bill of materials and routings).
Methods
EOSCFG_ShowItemVariantCharac
procedure EOSCFG_ShowItemVariantCharac()
This procedure open “EOS028 CFG Item Var. Charac” records from specific configuration.
EOSCFG_ShowDocLineCharac
procedure EOSCFG_ShowDocLineCharac()
This procedure open “EOS028 CFG Doc. Line Charac.” records from specific configuration (if Product Configurator is in “Lite Mode”).
EOSCFG_OpenStructure
procedure EOSCFG_OpenStructure()
This procedure open structure from specific configuration.
EOSCFG_IsConfigurable
procedure EOSCFG_IsConfigurable(): Boolean
This procedure get if item in “Purchase Line” is configurable or not.
Parameters / Return Value
Returns
Boolean
If true Item is configurable. If not Item isn’t configurable
EOSCFG_OpenProductConfigurator
procedure EOSCFG_OpenProductConfigurator()
This procedure open Product Configurator from “Purchase Line”.
EOSCFG_CheckAttachedLines
procedure EOSCFG_CheckAttachedLines()
This procedure check if rec line is an attached type line. In this case the line cannot be changed and this procedure returns an error.
EOSCFG_UpdateAttachedLines
procedure EOSCFG_UpdateAttachedLines()
This procedure update all attached lines linked by “EOS Ref. Surcharge Line No.” field for a specifi configuration (surcharge or optional line for example).
EOSCFG_CheckAttachedLinesOnDelete
procedure EOSCFG_CheckAttachedLinesOnDelete()
This procedure check if rec line is an attached type line. In this case the line cannot be deleted and this procedure returns an error unless it’s active by code “Force Mode”.
EOSCFG_SetForceDelete
procedure EOSCFG_SetForceDelete(NewForceDelete: Boolean)
This procedure sets the forcing mode for delete attached lines.
Parameters / Return Value
- NewForceDelete
Boolean
Events
EOSOnBeforeUpdateAttachedLines
local procedure EOSOnBeforeUpdateAttachedLines("Document No.": Code[20]; "Line No.": Integer; var IsHandled: Boolean)
This procedure allows to skip the update of all optional lines before changing quantity.
Parameters / Return Value
Document No.
Code[20]
“Document No.” it’s the document number of the Purchase line
Line No.
Integer
“Line No.” it’s the line number of the Purchase line
IsHandled
Boolean
“IsHandled” If true the procedure stop
EOSOnBeforeModifyPurchaseLine_Optional
local procedure EOSOnBeforeModifyPurchaseLine_Optional(var PurchaseLine: Record "Purchase Line"; RecPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
This procedure allows to skip the update of the single optional line before changing quantity.
Parameters / Return Value
PurchaseLine
Record "Purchase Line"
Purchase line to modify
RecPurchaseLine
Record "Purchase Line"
Record Purchase Line to copy “Quantity” and “Line Discount %”
IsHandled
Boolean
if true, skip the update of the Purchase line
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.