Does anyone know what field I need to target to modify the caption of the "Direct Unit Cost Excl. Tax" field on Purchase Order Lines? I've tried Direct Unit Cost and Unit Cost (LCY) on the Purchase Order Subform and no luck. Thanks!
Does anyone know what field I need to target to modify the caption of the "Direct Unit Cost Excl. Tax" field on Purchase Order Lines? I've tried Direct Unit Cost and Unit Cost (LCY) on the Purchase Order Subform and no luck. Thanks!
For anyone else wondering how to accomplish this, I found the steps in this Licensing Guide from Microsoft.
"To take advantage of Dual Use rights, a Dynamics 365 Business Central cloud subscription needs to be activated via CSP. Once the subscription has been activated, a customer account will be created in PartnerSource Business Center (PSBC) with the equivalent user SLs. The customer can access their onpremises/dual use rights license key (flf. format) by signing in to CustomerSource, selecting the ‘My Products and Services’ link from the dropdown menu and then clicking on the ‘Registration Keys’ link beside the Microsoft Dynamics 365 Business Central product."
1) Sign in to CustomerSource
2) Click on your Name at the top right and select "Products & Services Summary"
3) Under Registered Products click the link for "Please contact your partner for Keys"
4) Answer the questions in the dropdowns
5) Click Display License Keys
6) Download the License Keys in .flf format
7) Open Nav Container Helper and use the Import-NavContainerLicense to point the container at the license file.
Yes obviously, a license file enabled for D365BC is the best option.
Is it possible to use a Business Central license?
Yes, you need a developer license. You can use a NAV 2018 license too for this.
No worries! I have a sandbox running on an Azure VM and access to C/SIDE, but when I try to design an object I get the following message:
"You do not have permission to read the 'Purchase Line' Table. Contact your system administrator to have your permissions changed."
Is a developer license required to access and inspect the standard objects?
Sorry for the late reply. Always create a local sandbox with Docker. From here you’ve access to C/SIDE and you can inspect standard objects.
Thank you for the help! Do you mind sharing how you were able to find that a Caption Class property applies to Direct Unit Cost? Knowing how to locate these in the future would be very helpful!
"Direct Unit Cost Excl. Tax" Field on Purchase Sub Form uses Caption Class Property on Purchase Line Table using GetCaptionClass(FIELDNO("Direct Unit Cost")). so use CaptionClass property on Page level to override(Make sure that you are providing right caption to it :-) ).
Yes, but it does not seem to target the caption of that particular field. I've looked through the definitions of the PO and the PO Subform and the only cost related fields are the ones I mentioned above.
Is it possible the system is adding a field from another table on the PO lines?
Here's the code I tried:
pageextension 50111 POSubform extends "Purchase Order Subform" { layout { modify("Location Code") { Visible = false; } modify("Reserved Quantity") { Visible = false; } modify("Direct Unit Cost") { Caption = 'Unit Cost'; } } }
Have you created a pageextensionobject and then:
Modify(yourfield)
{
Caption = ‘YourCaption’;
}
?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156