How to determine in wich table is binded to textbox?

snsn
Member Posts: 23
Hello
Can not find in wich table is binded to textbox?



I found "Actual Inventor" in "Item" table but there is nothing.
Can not find in wich table is binded to textbox?
I found "Actual Inventor" in "Item" table but there is nothing.
0
Comments
-
fActualInventory is a fucntion that returns a decimal number.
Salut!
Laura NicolàsLaura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0 -
It can be a function defined in the form or a function defined in the Item table.
Salut!
Laura NicolàsLaura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0 -
Thank you and how can i see what does this function does, can i see C/AL code for this function?0
-
Don't know if you can see the code, I think it depends on you license.
When designing the form (or the table), press F9 and find the function.
If nothing happens when you press F9, then you can't. You'll have to ask your partner.
Salut!
Laura NicolàsLaura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0 -
i can see c/al code but i can not understand. is there any table relationship?
LS4.20.01-01 FO #LS04-02011# 24.11.2006 Added fields "Replenish as Item No." to the Merchandising tab. LS4.20.01-02 StK #LS04-02061# 28.11.2006 Remove unused field Item Distrib. Status. LS4.20.01-03 HH #LS04-01833# 05.12.2006 Add Item POS Text Header and Line to text and print setup LS4.20.01-04 GG #LS04-02152# 10.01.2007 Height and Width of subform pricing and distrib. made a little smaller so look is OK LS4.20.01-05 FO #LS04-02011# 12.01.2007 The "Replenish as Item No." should only be visible when the Replenishment Type is Average U Actual Inventory - OnActivate() Actual Inventory - OnDeactivate() Actual Inventory - OnFormat(VAR Text : Text[1024];) Actual Inventory - OnBeforeInput() Actual Inventory - OnInputChange() Actual Inventory - OnAfterInput(VAR Text : Text[1024];) Actual Inventory - OnValidate() Actual Inventory - OnAfterValidate() Actual Inventory - OnLookup(VAR Text : Text[1024];) : Boolean Actual Inventory - OnDrillDown() Actual Inventory - OnAssistEdit() SetEditable() Setup.GET(); IF NOT Setup."3rd Party POS" THEN BEGIN; CurrForm."POSIS&HGBPOSTitle".ENABLED(FALSE); CurrForm.POSISTitle.ENABLED(FALSE); CurrForm.HGBPOSTitle.ENABLED(FALSE); CurrForm."3PP_Description On POS".ENABLED(FALSE); CurrForm."3PP_Scale Item".ENABLED(FALSE); CurrForm."3PP_Weight Item".ENABLED(FALSE); CurrForm."3PP_Keying in Price".ENABLED(FALSE); CurrForm."3PP_No Discount Allowed".ENABLED(FALSE); CurrForm."3PP_No Staff Discount Allowed".ENABLED(FALSE); CurrForm."3PP_No Customer Discount Allow".ENABLED(FALSE); CurrForm."3PP_No Item Return Allowed".ENABLED(FALSE); CurrForm."3PP_Keying in Quantity".ENABLED(FALSE); CurrForm."3PP_Zero Price Valid".ENABLED(FALSE); CurrForm."3PP_Warranty card".ENABLED(FALSE); CurrForm."3PP_Qty. Becomes Negative".ENABLED(FALSE); END; fActual Inventory() : Decimal EXIT(Inventory - QtySoldNotPst); fItemStatusCode() : Code[10] EXIT(ItemStatusLinks."Status Code"); fItemStatusDesc() : Text[30] ItemStatusLinks.CALCFIELDS("Status Description"); EXIT(ItemStatusLinks."Status Description"); fItemStatusComment() : Text[50] EXIT(ItemStatusLinks.Comment); fItemStatusDate() : Date EXIT(ItemStatusLinks."Starting Date"); fBlockOnPOS() : Boolean EXIT(ItemStatusLinks."Block Sale on POS"); fBlockPurchasing() : Boolean EXIT(ItemStatusLinks."Block Purchasing"); fBlockTransfers() : Boolean EXIT(ItemStatusLinks."Block Transferring"); SetVisible() ReplenishmItemStoreRec.RESET; ReplenishmItemStoreRec.SETRANGE("Item No.","No."); IF ReplenishmItemStoreRec.FINDFIRST THEN CurrForm.LocationDetailsExist.VISIBLE := TRUE ELSE CurrForm.LocationDetailsExist.VISIBLE := FALSE; CASE "Replenishment Calculation Type" OF "Replenishment Calculation Type"::"Average Usage" : BEGIN CurrForm."Store Forward Sales Profile".VISIBLE := TRUE; CurrForm."Wareh. Forward Sales Profile".VISIBLE := TRUE; CurrForm."Replenishment Sales Profile".VISIBLE := TRUE; CurrForm."Store Stock Cover Reqd (Days)".VISIBLE := TRUE; CurrForm."Wareh Stock Cover Reqd (Days)".VISIBLE := TRUE; CurrForm."Manual Estimated Daily Sale".VISIBLE := FALSE; CurrForm."Replenish as Item No.".VISIBLE := TRUE; //LS4.20.01-05 CurrForm.MinInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MaxInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 END; "Replenishment Calculation Type"::"Manual Estimate" : BEGIN CurrForm."Store Forward Sales Profile".VISIBLE := FALSE; CurrForm."Wareh. Forward Sales Profile".VISIBLE := FALSE; CurrForm."Replenishment Sales Profile".VISIBLE := FALSE; CurrForm."Store Stock Cover Reqd (Days)".VISIBLE := TRUE; CurrForm."Wareh Stock Cover Reqd (Days)".VISIBLE := TRUE; CurrForm."Manual Estimated Daily Sale".VISIBLE := TRUE; CurrForm."Replenish as Item No.".VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MinInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MaxInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 END; "Replenishment Calculation Type"::"Stock Levels" : BEGIN CurrForm."Store Forward Sales Profile".VISIBLE := FALSE; CurrForm."Wareh. Forward Sales Profile".VISIBLE := FALSE; CurrForm."Replenishment Sales Profile".VISIBLE := FALSE; CurrForm."Store Stock Cover Reqd (Days)".VISIBLE := FALSE; CurrForm."Wareh Stock Cover Reqd (Days)".VISIBLE := FALSE; CurrForm."Manual Estimated Daily Sale".VISIBLE := FALSE; CurrForm."Replenish as Item No.".VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MinInventoryReplenishment.VISIBLE := TRUE; //LS4.20.01-05 CurrForm.MaxInventoryReplenishment.VISIBLE := TRUE; //LS4.20.01-05 END; ELSE BEGIN CurrForm."Store Forward Sales Profile".VISIBLE := FALSE; CurrForm."Wareh. Forward Sales Profile".VISIBLE := FALSE; CurrForm."Replenishment Sales Profile".VISIBLE := FALSE; CurrForm."Store Stock Cover Reqd (Days)".VISIBLE := FALSE; CurrForm."Wareh Stock Cover Reqd (Days)".VISIBLE := FALSE; CurrForm."Manual Estimated Daily Sale".VISIBLE := FALSE; CurrForm."Replenish as Item No.".VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MinInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 CurrForm.MaxInventoryReplenishment.VISIBLE := FALSE; //LS4.20.01-05 END; END;
0 -
fActual Inventory() : Decimal
EXIT(Inventory - QtySoldNotPst);
It's "Inventory - QtySoldNotPst", althought I don't know when or how it fills the QtySoldNotPst variable.
You should ask a developer in your company to follow the code for you.
Salut!Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions