Quantcast
Channel: Forums - Recent Threads
Viewing all 143529 articles
Browse latest View live

product information

$
0
0

hi;

can someone explain to me this different tabs about the product information with detail.

  


How to get size of Array in X++

$
0
0

Hi

     I have a dynamic array named "_itemCon[]" I inserted 5 elements. Now I want to get its size. I used dimof, but it was not 5. I found size and dictionary are all 5, but I cannot get those number. So, how can I get its size number?

Best Regards,

JustZM

New Dynamics training path

$
0
0

What is the new training path for dynamics 365 qualification. I was looking at doing exams 715/716 but should i wait for the new qualifications? 

How may I change the checkbook ID for a posted Purchasing batch in Great Plains?

$
0
0

How may I change the checkbook ID for a posted Purchasing batch in Great Plains?

Resource Not Found (404) when query for all Cases records in Dynamics 365 v9.0 with Web API

$
0
0

I thought this should be very trivial and simple but it is not at least not in my case.  

Note:  I am able to get records for accounts and contacts from the same organization but not cases entity for some reason.

For info:

  1.    I got a trail Dynamics 365 instance, fromheaven.crm.dynamics.com and would like to use it to try out the Web APIs. 
  2.    I am following the Web API Basic Operations Sample (C#).  Everything works fine and I am able to completely run the sample code in order to create, delete, update account or contact.  Therefore, the authentication is definitely working.
  3. Then I try to change the code to fetch records for Cases.  That is where the problem starts.  The piece of code is super simple:

           HttpResponseMessage retrieveResponse1 = await httpClient.GetAsync("fromheaven.crm.dynamics.com/.../cases");

    if (retrieveResponse1.StatusCode == HttpStatusCode.OK) { ...}

4. The retrieveResponse1.StatusCode is always 404 with ReaonPhrase: "Not Found".  However, if I change the URL to fetch contacts (https://fromheaven.crm.dynamics.com/api/data/v9.0/contacts) or account (https://fromheaven.crm.dynamics.com/api/data/v9.0/accounts), then it works perfectly.

5.  You can see from below snapshot that my trail instance does have this entity type and have data as well.

Why does the call always return 404?  Can anyone shed some light?

Thanks

creating extension for standard extension

$
0
0

I need to update EDT of field default formula in table PayrollEarningCodeDetail  using extension, the field is added  to the table using an extension. when I build the project I face the below error, how can I fix this issue ?

Adding a field to Sales Price and Line Discounts as an AL Extension is not showing in Business Central

$
0
0

Hello,

I am trying to add a field to the Sales Price and Line Discounts page which is on the Customer Page.  I am wanting to add the Item Description to the list page.  I have a local copy of NAV installed on my machine, NAV 2018, and I can get the field to show up there when I install the extension.  But when I try to install it to BC, the field will never show up.  Has anyone had this issue?  I feel like I'm not doing anything different than in the past to adding a field to a list page. I've tried to do it as a flow field and as a physical field and neither show up.  I understand that the Sales Price and Line Discounts uses a temp table so maybe that is the issue.  This is the first time I've had to deal with temp tables in an Extension.  Here is my code:

pageextension 50121 SalesPriceandLineDiscountsCBIZ extends "Sales Price and Line Discounts"
{
    layout
    {
        addafter("Unit of Measure Code")
        {
            field("Item Description"; "Item Description")
            {
                ApplicationArea = Suite;
                Caption = 'Item Description';
            }
        }
    }

    actions
    {
        // Add changes to page actions here
    }

    var
        myInt: Integer;

    trigger OnAfterGetRecord();
    var
        Item: Record Item;
    begin
        if Rec.Type = Rec.Type::Item then begin
            Item.SetRange("No.", Code);
            if Item.FindFirst then begin
                Rec."Item Description" := Item.Description;
                Rec.Modify;
            end;
        end;

    end;
}

tableextension 50121 SalesPriceLineDiscBuffCBIZ extends "Sales Price and Line Disc Buff"
{
    fields
    {
        field(50100;"Item Description";Text[50])
        {

        }
    }
    
    var
        myInt : Integer;
}


pageextension50121 SalesPriceandLineDiscountsCBIZ extends"Sales Price and Line Discounts"
{
layout
{
addafter("Unit of Measure Code")
{
field("Item Description"; "Item Description")
{
ApplicationArea = Suite;
Caption = 'Item Description';
}
}
}

actions
{
// Add changes to page actions here
}

var
myInt: Integer;

trigger OnAfterGetRecord();
var
Item: Record Item;
begin
if Rec.Type = Rec.Type::Item thenbegin
Item.SetRange("No.", Code);
if Item.FindFirst thenbegin
Rec."Item Description" := Item.Description;
Rec.Modify;
end;
end;

end;
}

Rapidstart For Journals

$
0
0

Does anyone know if there is a way to populate the source code in journals when loading via Rapidstart?
I have used this for many years, but have just noticed that the source code is blank in the journals posted, unless the source code is populated in the Rapidstart package?
This is NAV2017
Know it can be included, but it seems to be unnecessary and potentially misleading

Andrew


nav creating a blank PO entry after every PO filled out.

$
0
0

I have been experiencing this odd issue for some time now. initially I thought it was something with he N.Series.

But I cannot figure out what is happening.

Every time a PO is started a blank one is also created with the next PO number in the series.

its a headache for reporting and fudging our data.

Dynamics 365 v8.2.2 upgrade to v8.2.3 error

$
0
0

Hello,

I am reveiving an error when upgrading D365 v8.2.2 to D365 v8.2.3 on-premises that is "Dynamics 365 server is not installed on this computer".

I am a deployment administrator, local admin on the crm server, and sysadmin on the sql. It is a dev environment; thus, full server installation is done.

What might be the issue?

Thank you in advance.

Making a calculation from an option set field

$
0
0

Hello,

I wonder if any of you kind people may be able to point me in the right direction for something that will save me huge amounts of time when exporting data and having to inset manual calculations.

In my opportunity I have 'close percentage' which is an option set with a small handful of values (10, 20, 30, 50, 70, 90). I then have a field for revenue. I want to create a new field to hold 'weighted value' i.e. the opportunity value divided by the close percentage so I have the weighting.

The problem I am having is if I create a new field of 'weighted value' I cant do a calculation against the close percentage as it is an 'option set' and not a number field.

Is there a way to either calculation via the value in the option set or happy for a workaround like creating a new hidden numerical field for close percent that the option set value can be loaded into so I can then do the calculation from there?

I know the other solution is to make a new field for 'close percentage' that is just a numerical but the problem is users then have a tendency to put any percentage number they want in rather than the set values above that we use as a standard to work to.

Appreciate any suggestions on how I may be able to use the already held option set value to get a calculation made.

Production order picking using FIFO for non batch controlled items

$
0
0

Is there a way to use the date of receipt on a purchase order for FIFO purpose? 

Say I have one item number come in, but 10 skids of that item and we put the skids in 10 different locations. 

Will the date of receipt follow all 10 skids in different locations?

V9 active stage on BPF random after import

$
0
0

Hi everyone,

Like many other, I had an issue with the fields depreciated on V9 so I have created a workflow like said in the first answer here: https://community.dynamics.com/crm/f/117/t/306552

It work just fine but now I have a new issue; when I import new Leads the active stage is random and not the first one like it should be. Sometimes it is the first one, sometimes 2nd or 3rd, etc. I have checked with another environment but and I don't have the same problem. Is it because it's for Lead and not the opportunity ? Any clue where come from the problem ??

Thanks 

How to see if views are being used anymore?

$
0
0

Hello,

I am trying to clean up our CRM 2016 environment before we move to 365 on prem.  I am wondering if there is a way to see if views are being used?  I want to remove the views if they are not being used.  Also, is there a way to see what things are based on the view? Meaning, if there is a way to know if a view is being used in a dashboard or report, that would be great.

Thank you.

Upgrading Dynamics GP 2016R2 to 2018R2 Error: Product 3258 does not support upgrading from version 16.0.771.

$
0
0

Hello

I currently testing an upgrade from Dynamics GP 2016R2 to 2018R2. When I ran the installer I originally received a slew of errors similar to this one:

Error: Product 3258 does not support upgrading from version 16.0.771.

This same error presented on almost every component I had. After doing some research I discovered I needed a hot fix applied. Once I applied the fix the errors went away for every component but one, 3258 Encumbrance Management. I just cant seem to figure out how to get this to an acceptable version. If I uninstall the component GP seems to be working. I tried reinstalling it but it made no difference. 

I applied these two hot fixes:

MicrosoftDynamicsGP18-KB4468818-ENU.msp

MicrosoftDynamicsGP18-KB4486390-ENU.msp

Thanks to the community for your help. 


How to make a field in my dynamic filter to contain more than one value by code based on multi select D365FO

$
0
0

I made a report with Query filter (dynamic). one of the filters is field Trans Id. I was able to default this trans Id based on the selected trans Id using the controller class. But now If i multi select for example trans 1 and trans 2, how can i default the filter trans id value to trans1,trans2?

This is the code i wrote without multi select

protected void prePromptModifyContract()
{
super();

QueryBuildDataSource qbds;
QueryBuildRange qbr;
TableX selRecord;

qbds = this.getFirstQuery().dataSourceTable(tableNum(TableX));
qbr = SysQuery::findOrCreateRange(qbds, fieldNum(TableX, TransId));
qbr.value(SysQuery::value(selRecord.TransId));
qbr.status(RangeStatus::Locked);

}

for the multi select i thought of making  a list in the controller class by a don't know how can i deal with list using qbds and qbr or how i'm going to seperate them by comma?

List myList = new List(Types::String);

TableX tableX;

MultiSelectionHelper selection = MultiSelectionHelper::createFromCaller(args.caller());
tableX= selection.getFirst();
while (tableX)
{
myList.addEnd(tableX.TransId);
tableX= selection.getNext();
}

Problem While Creating a Production Order (Prodtable)

$
0
0

Good Morning,

In my company we're having some trouble, the thing is that we modify a BOM version and when we want to Estimate a order we found that the Estimation Process takes to long. Debugging the process we find the next piece of code (found in the BOMHierarchyCheck class):

boolean scanUpBOM(


BOMVersion version,
ConfigId config,
TransDate fromDate,
TransDate toDate,
boolean forceSubItemId // If true there must be a sub itemId
)
{
ConfigTable configTable;
boolean ret = true;

if (! this.insert(version.ItemId,''))
return false;
if (! super(version,'',fromDate,toDate,forceSubItemId))
return false;
this.delete(version.ItemId,'');

//
while select configTable
index hint ItemIdx
where configTable.ItemId == version.ItemId
{
if (! this.insert(configTable.ItemId,configTable.ConfigId))
return false;
if (! super(version,configTable.ConfigId,fromDate,toDate,forceSubItemId))
return false;
this.delete(configTable.ItemId,configTable.ConfigId);
}

if (checkValidate)
ret = version.validateWrite() && ret;

return ret;
}

And we find that the main cause of the issue is due to while in the configtable query. Since it checks every BOM config. Why the program does that? This process starts because of BOM in the BOMTable has a check on the CheckBom field. What would happen if I uncheck it? And what would happen if the system doesn't do the process related to the config table. 

Sorry for my english

And thank you before hand. 

How to change the titles on Nav Bar Areas (Web Interface)?

$
0
0

Hi Everyone, 

Hopefully someone out there can answer this question easily.

Have an instance on v9 but some of our apps or still on the old Web Interface and some are on the Unified Interface, mainly due to logistical the problems of training. 

I have changed the the title of a nav bar area for the 'process sessions' area and put in translations, but it seems to continually show as 'process sessions' in the web interface.

In another App using the new UI, the related section shows with the correct title.

Here is the XML for the Translations:

<NavBarArea Id="ProcessCenter">
                    <Titles>
                      <Title LCID="1033" Text="Custom Title" />
                      <Title LCID="1026" Text="Custom Title" />
                      <Title LCID="1027" Text="Custom Title" />
                      <!--There is a lot more here-->
                    </Titles>
                  </NavBarArea>

I even tried renaming the ID and referencing the new id on the NavBarByRelationshipItem nodes but that threw an error, so I had to revert.

This has me a little stumped, I would obviously like to avoid updating to the new UI until such time as this can me managed effectively.

FYI I'm trying to do this on the Account.

Any Ideas would be greatly appreciated!

Thanks in Advance,

Lloyd

Year End Close

$
0
0

Dears Expert

 i am trying to transfer balances from year to another year the procedure is done successfully using year end close, when i check the trial balances it not showing any data 0 data,, the year is as ending balance, it has only opening balances transactions and i am trying to transfer to next year.

i tried many scenarios but it did not work.

any help please

Is there an API method to identify product family membership?

$
0
0

E.g. animal=>mammal=>horse=>thoroughbred

is there a function where Seabiscuit (thoroughbred) is true for all families yet Ol'Paint is true for all but thoroughbred?

I.e. how does one identify a product family membership when finding discount levels applied to product family?

Viewing all 143529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>