Sub report is not fetching information in notification - acumatica

I have added functionality to accept multiple e Signature for a shipment module and the pick list report is modified to print those signatures.
I have added a sub report to print those signature(s)
The Report works fine from the report section, but it fails to fetch the signature information if the report is attached to notification. The signature page comes as blank.

I have revisited the parameter and passed the shipment number for the record set instead of parameter variable.
Thanks to Gabriel
I have changed the parameter value to

Related

How to find a difference between time and prompting a message in case of a blank cell

Here I need to try to find the difference between the created date and the initial approval. I've tried the following formula
=IFERROR(IF(IF(AND(ISBLANK(B3),ISBLANK(C3)),"Enter dates"), IF(ISBLANK(B3),"Enter Created date"),IF(ISBLANK(C3),"Enter Initial Approval date",IF(C3<B3,"Enter correct date",C3-B3))),"Dates are Missing")
When the created date cell is blank, the formula is not prompting the error message.
Can anyone please help me?
This works for me:
=IFERROR(IF(AND(ISBLANK(B3),ISBLANK(C3)),"Enter dates",IF(ISBLANK(B3),"Enter Created date",IF(ISBLANK(C3),"Enter Initial Approval date",IF(C3<B3,"Enter correct date",C3-B3)))),"Dates are missing")
The following one also:
checks if one or both reference are returning error and if so it checks if it's a reference error of another kind of error and report the missing reference/s or the erroneous reference/s;
cheks if one or both reference have numbers inside of them, otherwise it returns the invalid reference/s.
=IF(AND(ISERROR(B3),ISERROR(C3)),IF(AND(ERROR.TYPE(B3)=4,ERROR.TYPE(B3)=4),"Dates are missing","Erroneous dates"),IF(AND(ISBLANK(B3),ISBLANK(C3)),"Enter dates",IF(ISBLANK(B3),IF(ISERROR(C3),IF(ERROR.TYPE(C3)=4,"Initial approval date is missing","Erroneous initial approval date"),"Enter Created date"),IF(ISBLANK(C3),IF(ISERROR(B3),IF(ERROR.TYPE(B3)=4,"Created date is missing","Erroneous created date"),"Enter Initial Approval date"),IF(AND(ISNUMBER(B3),ISNUMBER(C3)),IF(C3<B3,"Enter correct date",C3-B3),IF(ISNUMBER(B3),"Invalid initial approval date",IF(ISNUMBER(C3),"Invalid created date","Invalid dates")))))))

NetSuite Saved Search Result Is Blank

I tried to create a saved search to pull information from the "Shipping Method" field under Item Fulfillment; while the result is not showing any information even there is information under the "Shipping Method field".
Please see the criteria and result as follows.
Can someone please suggest how can I fix this?
Thank you.
Criteria:
Main Line is true
Type is Item Fulfillment
Status is Item Fulfillment:Picked
Date is after 9/1/2019
Result:
Created From : Internal ID
Created From : Document Number
Shipping Method (Custom Body)
Shipping Carrier
The shipping method field you have is a custom body field. It is not the native shipping method field, which is "Ship Via".
If you are setting a custom shipping method, that's ok, just as long as it's setup properly on your end. In this case, it may be, but you may be expecting different data as what you're describing is in the "Ship Via" field.

Powerapps how submit a form with a reference to another sharepoint list?

I am working on a small COVID screening app. I have 2 lists in a single Sharepoint site:
BasicInfo:
ID (autogenerated by Sharepoint)
Name
Company
PersonalInfo:
BasicInfoID (a Lookup field to BasicInfo.ID)
Personal Phone
Personal Address
Company Phone
Company Address
All fields in both lists are required.
Creating the Powerapp, the BasicInfo form works as expected - records are populated in the Sharepoint list, and I can access the ID generated with BasicInfo.LastSubmit.ID after submission.
On the second screen of the app, I am having a hard time getting the "BasicInfoID" field populated. I am expecting to be able to set the value of BasicInfoID on the 2nd screen, then hide it, so the end user doesn't need to see (or populate) the value.
I have tried:
Setting the default value to BasicInfo.LastSubmit.ID, but I get an error of "Expected Record Value. The property on this control expects Record values. The rule produces Number values which are incompatible."
If I set the default value to BasicInfo.LastSubmit (no .ID), the form oddly submit - but the resulting data in the Sharepoint list doesn't show any value in the "BasicInfoID" field - it lists it as Required Info.
If I remove the automatically generated BasicInfoID field, I obviously get an error of "BasicInfoID: Field "BasicInfoID" is required."
I have added a Text field, assigned the DataField value to "BasicInfoID", set the default value to BasicInfo.LastSubmit.ID, but the form fails with the same error (BasicInfoID: Field "BasicInfoID" is required).
Thanks in advance!
When you do a LookUp from one SPO list (1) to another (2), the schema of the field in the list 1 is the same as the one returned by the Choices function. So in your scenario you can use this expression:
BasicInfoID: LookUp(Choices(BasicInfo, Id = BasicInfo.LastSubmit.ID))
The post at https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/ has some more detailed information about using complex columns in SharePoint (such as LookUp ones).
Hope this helps.

Is there a way to query NetSuite tables to tell if an invoice has been emailed

I am writing some code to integrate with our installation of NetSuite. We use a service by CData to replicate the primary NetSuite tables down to our local SQL Server. My code will send an electronic invoice (outside of NetSuite) but I don't want to send it if it has already been emailed from within NetSuite using their built in feature.
The "Invoice" table contains all the main header info for invoices and there is an "Email" column in there. If that field has a value in it does that mean the invoice has been emailed? Or can someone fill in that field WITHOUT emailing the invoice? (I need to know if the invoice has in fact been sent)
The email column should be the email on the communication sub tab.
You can see if an invoice has been sent the "Message" sub tab in communication. If the record in there is a type = "email" then the message has been sent through Netsuite's internal functionality.
Does that help? Also, can I ask if you were successful with this? I am also looking to send emails using a CData connection.
I was looking for a status that would indicate if the invoice had been printed or not. Didn't find it. The solution could be to build a custom field on the transaction called 'Print status'. It would be a drop down list with 3 possible values: Pending, Printed Original and Printed copy. Set the field to 'Disabled' and its default value as 'Pending'.
We could go further and add a custom field called 'Date last printed' and even a 'Last printed by'.
Then we can build a workflow of action type 'Set field value', the condition of Field value = 'Pending' and an action to set the 'Print status' to 'Printed original' once the invoice is first printed.
A second action to set it to 'Printed copy' if someone reprints the invoice.
Using 'Set field value, we can also chane the transaction form to one that points to a pdf template with 'COPY' on it.
My issue is that the standard Action, Print of the invoice does not trigger any action on the workflow. So I guess we should look into building this via script.
Let me know if you find an easy workflow alternative.
Good luck.

Pick distinct email list from excel and send email through macro

I have got an excel sheet with many email ids (duplicates also).Need a macro which can pick distinct email ids from the list and send email to all of them in a single mail.Also the mail subject must contain date e.g Release X report dated DD-MMM.Mail body should copy a range of cells from the same excel sheet.Can someone please help me with the macro.
Provided you have the outlook client installed - take a look at this http://www.rondebruin.nl/win/s1/outlook/bmail2.htm. It looks like a nearly right out of the box answer, even though you still need to get into it a little bit and adjust mail parameters to your case
This code basically involves 2 main parts:
- the main Mail_Selection_Range_Outlook_Body procedure, which sets an instance of the outlook application, creates an email, populates parameters (to, cc, subject, body...) and sends the email
- the RangetoHTML utility function called by the main procedure, which publishes the excel data range to be sent to HTML. The result is assigned to the mail item HTMLBody - not Body - property in the main procedure for proper rendering
You should select your source data range before running the main procedure.
For test purposes, you may find it helpfull to replace the ".send" mail item property with ".display" in a first place - this will result in the main sub displaying the ready to be sent mail on screen rather than actually just sending it.

Resources